-
Notifications
You must be signed in to change notification settings - Fork 14
feat: button website icon #8591
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
base: main
Are you sure you want to change the base?
Conversation
- Add LanguageRounded to GraphQL IconName enum - Update Icon component in journeys-ui to support LanguageRounded - Add Website option to Icon selector in journeys-admin - Update all generated GraphQL types Resolves NES-1206
|
Cursor Agent can help with this pull request. Just |
WalkthroughAdded a new IconName enum member Changes
Sequence Diagram(s)sequenceDiagram
actor AdminUI as Admin UI (Editor)
participant IconComp as Shared Icon Component
participant GraphQL as GraphQL APIs
participant DB as Database
AdminUI->>IconComp: User selects IconName.LanguageRounded
IconComp-->>AdminUI: render <LanguageRounded /> preview
AdminUI->>GraphQL: Save block with iconName: LanguageRounded (mutation)
GraphQL->>DB: persist iconName value
DB-->>GraphQL: confirm saved
GraphQL-->>AdminUI: mutation response (saved block)
AdminUI->>IconComp: request render for saved block (iconName: LanguageRounded)
IconComp-->>AdminUI: render <LanguageRounded />
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Possibly related PRs
Suggested reviewers
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing touches
🧪 Generate unit tests (beta)
📜 Recent review detailsConfiguration used: Repository UI Review profile: CHILL Plan: Pro Disabled knowledge base sources:
⛔ Files ignored due to path filters (2)
📒 Files selected for processing (1)
✅ Files skipped from review due to trivial changes (1)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (6)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
View your CI Pipeline Execution ↗ for commit 504d2ef
☁️ Nx Cloud last updated this comment at |
|
The latest updates on your projects.
|
|
The latest updates on your projects.
|
|
The latest updates on your projects.
|
|
The latest updates on your projects.
|
|
The latest updates on your projects.
|
|
The latest updates on your projects.
|
|
The latest updates on your projects.
|
jianwei1
left a comment
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.
-
Add the new icon into libs/journeys/ui/src/components/Icon/Icon.stories.tsx , similar to what has been done in this PR: https://github.com/JesusFilm/core/pull/3008/files#diff-80a849c8f5205285cd4214e168416c9915d2d8aecc090be0689b10da2551ab2e
-
Remove the changes that the lintbot made to libs/journeys/ui/src/components/Step/Step.tsx and apps/journeys-admin/generated/JourneyVisitorExportToGoogleSheet.ts, as these are unrelated to the changes
|
❌ Unable to add follow-up after multiple attempts. The agent may be experiencing issues. Please try again later or Open in Web to view the status. Learn more about Cursor Agents |
Add the 'Website' icon option to button leading/trailing icon selectors for admins.
Linear Issue: NES-1206
Summary by CodeRabbit
✏️ Tip: You can customize this high-level summary in your review settings.