-
Notifications
You must be signed in to change notification settings - Fork 213
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
Create basic Relics page #2025
Create basic Relics page #2025
Conversation
11c5ccd
to
53887a9
Compare
[frontend] [Fri Apr 26 23:12:46 UTC 2024] - Deployed f7a9ea3 to https://genshin-optimizer-prs.github.io/pr/2025/frontend (Takes 3-5 minutes after this completes to be available) [sr-frontend] [Fri Apr 26 23:13:22 UTC 2024] - Deployed 958d4f3 to https://genshin-optimizer-prs.github.io/pr/2025/sr-frontend (Takes 3-5 minutes after this completes to be available) [frontend] [Fri Apr 26 23:13:37 UTC 2024] - Deployed 958d4f3 to https://genshin-optimizer-prs.github.io/pr/2025/frontend (Takes 3-5 minutes after this completes to be available) [sr-frontend] [Fri Apr 26 23:13:58 UTC 2024] - Deployed f7a9ea3 to https://genshin-optimizer-prs.github.io/pr/2025/sr-frontend (Takes 3-5 minutes after this completes to be available) [sr-frontend] [Tue Apr 30 00:50:11 UTC 2024] - Deployed eff835b to https://genshin-optimizer-prs.github.io/pr/2025/sr-frontend (Takes 3-5 minutes after this completes to be available) [frontend] [Tue Apr 30 00:51:03 UTC 2024] - Deployed eff835b to https://genshin-optimizer-prs.github.io/pr/2025/frontend (Takes 3-5 minutes after this completes to be available) [sr-frontend] [Tue Apr 30 01:07:34 UTC 2024] - Deployed 1e74aaa to https://genshin-optimizer-prs.github.io/pr/2025/sr-frontend (Takes 3-5 minutes after this completes to be available) [frontend] [Tue Apr 30 01:08:10 UTC 2024] - Deployed 1e74aaa to https://genshin-optimizer-prs.github.io/pr/2025/frontend (Takes 3-5 minutes after this completes to be available) [sr-frontend] [Tue Apr 30 01:40:45 UTC 2024] - Deployed df8a9e4 to https://genshin-optimizer-prs.github.io/pr/2025/sr-frontend (Takes 3-5 minutes after this completes to be available) [frontend] [Tue Apr 30 01:42:18 UTC 2024] - Deployed df8a9e4 to https://genshin-optimizer-prs.github.io/pr/2025/frontend (Takes 3-5 minutes after this completes to be available) [sr-frontend] [Tue Apr 30 01:43:10 UTC 2024] - Deployed 0b42a24 to https://genshin-optimizer-prs.github.io/pr/2025/sr-frontend (Takes 3-5 minutes after this completes to be available) [frontend] [Tue Apr 30 01:47:29 UTC 2024] - Deployed 0b42a24 to https://genshin-optimizer-prs.github.io/pr/2025/frontend (Takes 3-5 minutes after this completes to be available) [sr-frontend] [Tue Apr 30 02:49:49 UTC 2024] - Deployed 285f833 to https://genshin-optimizer-prs.github.io/pr/2025/sr-frontend (Takes 3-5 minutes after this completes to be available) [frontend] [Tue Apr 30 02:50:16 UTC 2024] - Deployed 285f833 to https://genshin-optimizer-prs.github.io/pr/2025/frontend (Takes 3-5 minutes after this completes to be available) [sr-frontend] [Tue Apr 30 03:22:48 UTC 2024] - Deployed 00d03db to https://genshin-optimizer-prs.github.io/pr/2025/sr-frontend (Takes 3-5 minutes after this completes to be available) [frontend] [Tue Apr 30 03:23:26 UTC 2024] - Deployed 00d03db to https://genshin-optimizer-prs.github.io/pr/2025/frontend (Takes 3-5 minutes after this completes to be available) [sr-frontend] [Tue Apr 30 04:23:58 UTC 2024] - Deployed 4c2c909 to https://genshin-optimizer-prs.github.io/pr/2025/sr-frontend (Takes 3-5 minutes after this completes to be available) [frontend] [Tue Apr 30 04:24:27 UTC 2024] - Deployed 4c2c909 to https://genshin-optimizer-prs.github.io/pr/2025/frontend (Takes 3-5 minutes after this completes to be available) [sr-frontend] [Thu May 2 06:22:39 UTC 2024] - Deployed 83ff875 to https://genshin-optimizer-prs.github.io/pr/2025/sr-frontend (Takes 3-5 minutes after this completes to be available) [frontend] [Thu May 2 06:23:04 UTC 2024] - Deployed 83ff875 to https://genshin-optimizer-prs.github.io/pr/2025/frontend (Takes 3-5 minutes after this completes to be available) [sr-frontend] [Thu May 2 06:23:48 UTC 2024] - Deployed 0d39ba7 to https://genshin-optimizer-prs.github.io/pr/2025/sr-frontend (Takes 3-5 minutes after this completes to be available) [frontend] [Thu May 2 06:23:53 UTC 2024] - Deployed 0d39ba7 to https://genshin-optimizer-prs.github.io/pr/2025/frontend (Takes 3-5 minutes after this completes to be available) [sr-frontend] [Thu May 2 06:33:34 UTC 2024] - Deployed 51613ba to https://genshin-optimizer-prs.github.io/pr/2025/sr-frontend (Takes 3-5 minutes after this completes to be available) [frontend] [Thu May 2 06:34:23 UTC 2024] - Deployed 51613ba to https://genshin-optimizer-prs.github.io/pr/2025/frontend (Takes 3-5 minutes after this completes to be available) [sr-frontend] [Thu May 2 06:35:33 UTC 2024] - Deployed 202c4e2 to https://genshin-optimizer-prs.github.io/pr/2025/sr-frontend (Takes 3-5 minutes after this completes to be available) [frontend] [Thu May 2 06:35:35 UTC 2024] - Deployed 202c4e2 to https://genshin-optimizer-prs.github.io/pr/2025/frontend (Takes 3-5 minutes after this completes to be available) [sr-frontend] [Thu May 2 07:10:32 UTC 2024] - Deployed 8ff5169 to https://genshin-optimizer-prs.github.io/pr/2025/sr-frontend (Takes 3-5 minutes after this completes to be available) [frontend] [Thu May 2 07:10:46 UTC 2024] - Deployed 8ff5169 to https://genshin-optimizer-prs.github.io/pr/2025/frontend (Takes 3-5 minutes after this completes to be available) [frontend] [Thu May 2 17:14:22 UTC 2024] - Deployed 9f603bc to https://genshin-optimizer-prs.github.io/pr/2025/frontend (Takes 3-5 minutes after this completes to be available) [sr-frontend] [Thu May 2 17:15:08 UTC 2024] - Deployed 9f603bc to https://genshin-optimizer-prs.github.io/pr/2025/sr-frontend (Takes 3-5 minutes after this completes to be available) [Thu May 2 17:55:12 UTC 2024] - Deleted deployment |
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.
Some editorial comments, and one request change.
@@ -124,7 +123,7 @@ export function LightConeEditor({ | |||
}, [lightConeIdToEdit]) | |||
|
|||
return ( | |||
<Container> | |||
<Suspense fallback={false}> |
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.
Probably a good idea to put something in here, since using fallback=false
would cause layout shift as element is loaded. I am fine leaving this here for now since we are likely to put this element in a modal later.
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.
Agreed on the last point, I was expecting to have both of the editors be contained in modals later and I was using this opportunity with the PR to align the SRO styling to be consistent with GO.
a4f9313
to
add1a26
Compare
449cfda
to
6e26222
Compare
89af094
to
82b15e2
Compare
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.
Remove the 2 extra useMemo
and we should be good.
removed useTranslation calls in sort/filter configs because it breaks react hooks rules (whoops) once i18n gets implemented for SRO, will have to update strings to call i18n to safely translate names properly also, update comments to follow standard styling
3d3c164
to
1e1d371
Compare
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.
LGTM
Describe your changes
CardThemed
and removingContainer
components because it's rendering the site UI smaller than usual withContainer
wrapped around it)useTranslation
hook being improperly called in sort/filter configs from last PRIssue or discord link
Resolves #1995
Testing/validation
Relics page (note: this was screenshotted with browser zoomed out b/c currently on smaller screen resolution)
Light Cone page
Checklist before requesting a review (leave this PR as draft if any part of this list is not done.)
yarn run mini-ci
locally to validate format and lint.