Closed jaybuidl closed 3 months ago
The recent updates enhance the management of mini-guide functionality in the MainStructureTemplate
and DesktopHeader
components. A new array of mini-guide hashes is introduced for improved navigation control, allowing users to access various mini-guides more seamlessly. Additionally, the DesktopHeader
component now supports multiple mini-guide visibility states and simplifies hash checking, boosting the overall user experience through added interactivity and streamlined code management.
File | Change Summary |
---|---|
web/src/components/Popup/MiniGuides/MainStructureTemplate.tsx |
Introduced miniGuideHashes for multiple guides, replaced removeOnboardingHashPath with removeMiniGuideHashPath , and updated onCloseAndRemoveOnboardingHashPath to use the new function. |
web/src/layout/Header/DesktopHeader.tsx |
Added new mini-guide components and states, refactored URL hash checking using a helper function, and updated rendering logic to include new mini-guides. |
sequenceDiagram
participant User
participant Header
participant MiniGuides
User->>Header: Navigate with a hash
Header->>MiniGuides: Check hash for mini-guide
MiniGuides-->>Header: Return corresponding guide state
Header-->>User: Display appropriate mini-guide
🐇 In the meadow, guides now bloom,
With hashes guiding through the gloom.
A hop, a skip, to find your way,
Mini guides brighten up the day!
Navigate with ease and cheer,
New paths ahead, the guides are here! 🌼
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?
Name | Link |
---|---|
Latest commit | 50883f18fc7f1be56ae7fa25262bd72f9d30095c |
Latest deploy log | https://app.netlify.com/sites/kleros-v2-university/deploys/66abc8896a16c0000851cea5 |
Deploy Preview | https://deploy-preview-1666--kleros-v2-university.netlify.app |
Preview on mobile | Toggle QR Code...Use your smartphone camera to open QR code link. |
To edit notification comments on pull requests, go to your Netlify site configuration.
Name | Link |
---|---|
Latest commit | 50883f18fc7f1be56ae7fa25262bd72f9d30095c |
Latest deploy log | https://app.netlify.com/sites/kleros-v2-testnet/deploys/66abc88942cf770008a54a3d |
Deploy Preview | https://deploy-preview-1666--kleros-v2-testnet.netlify.app |
Preview on mobile | Toggle QR Code...Use your smartphone camera to open QR code link. |
To edit notification comments on pull requests, go to your Netlify site configuration.
Name | Link |
---|---|
Latest commit | 50883f18fc7f1be56ae7fa25262bd72f9d30095c |
Latest deploy log | https://app.netlify.com/sites/kleros-v2-neo/deploys/66abc889dc07250008b7d0ad |
Deploy Preview | https://deploy-preview-1666--kleros-v2-neo.netlify.app |
Preview on mobile | Toggle QR Code...Use your smartphone camera to open QR code link. |
To edit notification comments on pull requests, go to your Netlify site configuration.
Code Climate has analyzed commit 50883f18 and detected 0 issues on this pull request.
View more on Code Climate.
Issues
0 New issues
0 Accepted issues
Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code
Follow-up on #1607 to support the other mini-guides
⚠️
#onboarding
has been renamed to#onboarding-miniguide
for consistencyMini-guide paths:
PR-Codex overview
This PR adds mini guides functionality to the application, allowing users to access specific guides.
Detailed summary
Summary by CodeRabbit
Summary by CodeRabbit
New Features
Enhancements