-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
INT-2162: Migration of settings/admin directory #123
Conversation
Current dependencies on/for this PR: This stack of pull requests is managed by Graphite. |
Hey there and thank you for opening this pull request! 👋🏼 We require pull request titles to follow the Conventional Commits specification and it looks like your proposed title needs to be adjusted. Details:
|
2443064
to
ca82cfc
Compare
// Force redirect on component level | ||
useEffect(() => { | ||
if (session.data && session.data.user.role !== UserPermissionRole.ADMIN) { | ||
router.replace("/settings/my-account/profile"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
does this work in app dir?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think so
|
||
export const generateMetadata = async () => | ||
await _generateMetadata( | ||
() => "Feature Flags", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
these are not translated?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nope according to the legacy page.
|
||
export const generateMetadata = async () => | ||
await _generateMetadata( | ||
() => "Admin", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
these are not translated?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nope according to the legacy page.
|
||
return await _generateMetadata( | ||
() => title, | ||
() => "Here you can edit a current user." |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
no translation?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nope according to the legacy page.
2ea7650
to
8b0618e
Compare
33aa8a6
to
4d1a696
Compare
08ec308
to
3af846b
Compare
a56b2c9
to
f07f631
Compare
f07f631
to
ff5adbe
Compare
ff5adbe
to
0c26303
Compare
we opened a PR for this branch at cal repo; hence, closing. |
No description provided.