Closed alexander-kuruvilla closed 1 month ago
The changes introduced in this pull request enhance the user interface by adding a "Connect wallet" button to the navigation bar and modifying the display of contributor names. The button is designed to improve accessibility to wallet connection features and is styled with new CSS classes. Contributor names are now wrapped in separate <span>
elements for better formatting and layout control. Overall, these changes aim to improve the layout and functionality of the web application.
Files | Change Summary |
---|---|
src/main/webapp/WEB-INF/jsp/content/layout.jsp , src/main/webapp/WEB-INF/jsp/layout.jsp |
Added a "Connect wallet" button linked to /sign-on/web3 and modified contributor name display to use separate <span> elements for first and last names, wrapped in a parent <span> . |
src/main/webapp/static/css/styles.css |
Introduced new styles for .btn.tokenButtonSideNav , .btn.signOnBtn , and .contributor-name-wrapper , enhancing button aesthetics and contributor name presentation, including responsive design adjustments. |
Objective | Addressed | Explanation |
---|---|---|
Improve the navigation bar UI (#1417) | ✅ |
[!TIP]
New features
Walkthrough comment now includes: - Possibly related PRs: A list of potentially related PRs to help you recall past context. - Suggested labels: CodeRabbit can now suggest labels by learning from your past PRs. You can also provide custom labeling instructions in the UI or configuration file. Notes: - Please share any feedback in the [discussion post](https://discordapp.com/channels/1134356397673414807/1282535539299323995) on our Discord. - Possibly related PRs, automatic label suggestions based on past PRs, learnings, and possibly related issues require data opt-in (enabled by default).
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 15.05%. Comparing base (
e1f9de5
) to head (3105930
). Report is 6 commits behind head on main.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Resolves #1417
This PR provides fixes to the UI of the topbar mainly, moving the "connect wallet" to the side nav in smaller devices, adding ellipsis if the name of the contributor is long.
Technical Details
Just minor html and css changes.
Testing Instructions
Please check on different screen sizes if this resolves the issue #1417
Screenshots
Moved 'Connect wallet' to side nav in small screens:
displaying ellipsis when contributor name is long:
Name further compacted in screens below 1000px in width:
Format Checks
If this PR contains files with format violations, run
mvn spotless:apply
to fix them.