-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
chore: update live tag in menu #11143
Conversation
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
1 Skipped 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.
@chef-ryan https://github.com/pancakeswap/pancake-frontend/blob/develop/apps/web/src/components/Menu/hooks/useIfoStatus.ts will automatically put it to live
only 30min left for this ifo start. |
eigenpie ifo needs to be marked isactive false ( since it is finished) to fetch the latest active ifo #11144 so there will be no need for extra deployments for menu status |
menu module only has a dependency to web/hooks (not directly to ifo) which has dependency to ifo module (which is ok imo) |
qstns:
my answer is simply: no. |
@@ -200,7 +200,7 @@ const config: ( | |||
label: t('IFO'), | |||
href: '/ifo', | |||
image: '/images/ifos/ifo-bunny.png', | |||
status: { text: t('SOON'), color: 'warning' }, | |||
status: { text: t('NEW'), color: 'success' }, |
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.
this should be removed (it will be fetched via hook) in order to remove the tag automatically when ifo is finished
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.
We should add a new tag, it's requirement.
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.
yes, it will be added by a hook automatically useIfoStatus
PR-Codex overview
This PR updates the status of an item in the
Menu
component and modifies localization translations.Detailed summary
apps/web/src/components/Menu/config/config.ts
, changed thestatus
text fromSOON
toNEW
with a corresponding color change fromwarning
tosuccess
.packages/localization/src/config/translations.json
, added a new translation forNEW
and removed theSOON
entry.