-
Notifications
You must be signed in to change notification settings - Fork 40
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
Include git hash in UI #574
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Caution Review failedThe pull request is closed. 📝 WalkthroughWalkthroughThe changes involve updates to the Changes
Possibly related PRs
Warning Rate limit exceeded@Kodylow has exceeded the limit for the number of commits or files that can be reviewed per hour. Please wait 9 minutes and 27 seconds before requesting another review. ⌛ How to resolve this issue?After the wait time has elapsed, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our FAQ for further information. Warning There were issues while running some tools. Please review the errors and either fix the tool’s configuration or disable the tool if it’s a critical failure. 🔧 eslint
apps/router/src/components/Footer.tsxOops! Something went wrong! :( ESLint: 8.57.1 Error: Cannot read config file: /apps/router/.eslintrc.js
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
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.
Actionable comments posted: 3
🧹 Outside diff range and nitpick comments (3)
apps/router/src/components/Footer.tsx (2)
Line range hint
35-39
: Fix tab order in mobile viewUsing
column-reverse
on mobile disrupts the natural tab order, which can cause accessibility issues. Consider usingcolumn
instead and adjusting visual order through other means.<Flex bgColor={theme.colors.gray[100]} p='28px' w='100%' - direction={{ base: 'column-reverse', sm: 'row' }} + direction={{ base: 'column', sm: 'row' }} align='center' justify='center' >
Line range hint
13-29
: Add accessibility attributes to external linksExternal links opening in new tabs should warn users and include proper aria labels for screen readers.
<Link _hover={{ textDecoration: 'underline' }} fontSize={{ base: 'xs', sm: 'sm', md: 'sm', lg: 'sm' }} fontWeight='500' color={theme.colors.gray[800]} transition={`text-decoration 1s ease-in-out`} href={href} target='_blank' rel='noreferrer' + aria-label={`${title} (opens in new tab)`} w='fit-content' > - {title} + {title} <span className="sr-only">(opens in new tab)</span> </Link>flake.nix (1)
Line range hint
73-74
: Synchronize package version with fedimint inputThe hardcoded version "0.4.3" could become out of sync with the fedimint input version (currently also 0.4.3). Consider deriving it dynamically.
- version = "0.4.3"; + version = fedimint.version;
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
📒 Files selected for processing (4)
apps/router/src/components/Footer.tsx
(2 hunks)apps/router/src/home/version.tsx
(1 hunks)flake.nix
(1 hunks)package.json
(1 hunks)
✅ Files skipped from review due to trivial changes (1)
- apps/router/src/home/version.tsx
Can you rebase this and have it print the release version when the git hash matches a formal release version? |
698bc10
to
7fac5b2
Compare
rebased and modified to use tagged version links that'll work on cutting release, this isn't really needed in dev |
Issue #511
This PR adds the Git commit hash to the footer for easy version identification
Goal: Display the current version in the UI to improve traceability of deployments.
Implementation:
Summary by CodeRabbit
New Features
Bug Fixes