-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
feat:desktop & applaunchpad novice guide #4392
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Whoa! Easy there, Partner!This PR is too big. Please break it up into smaller PRs. |
π€ Generated by lychee actionSummary
Full action output |
Apply Sweep Rules to your PR?
|
Codecov ReportAll modified and coverable lines are covered by tests β
Additional details and impacted files@@ Coverage Diff @@
## main #4392 +/- ##
=======================================
Coverage 65.45% 65.45%
=======================================
Files 8 8
Lines 660 660
=======================================
Hits 432 432
Misses 180 180
Partials 48 48 β View full report in Codecov by Sentry. |
c121914yu
approved these changes
Dec 8, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
π€[deprecated] Generated by Copilot at 38745ca
Summary
πππ οΈ
Added user guide feature to the frontend desktop application using the
@sealos/driver
package and the user account CRD. Updated the translations, the API functions, the components, and the styles to support the user guide feature. Added new endpoints to get and update the user account CRD from the backend using thesealos-desktop-sdk
package.Walkthrough
@sealos/driver
package as a dependency and a transpile target for the Next.js frontend application (link, link, link)useDriver
hook to initialize and control the user guide feature using the driver package (link, link, link)UserGuide
component and a semi-transparent overlay to theDesktopContent
component to render the user guide popovers and highlight the target elements (link)className
attribute to theAppWindow
andFloatingButton
components to assign unique class names for the user guide target elements (link, link)globals.scss
file (link)common.json
files in theen
andzh
locales (link, link)guideEnabled
variable to the API handler for the/api/platform/getEnv
endpoint to enable or disable the user guide feature based on theGUIDE_ENABLED
environment variable (link, link)activities
property to the response data of the API handler for the/api/price/bonus
endpoint to store the user guide reward strategy from the backend (link)AccountCRD
type to theuser.ts
file to describe the shape of the user account CRD object (link)GUIDE_DESKTOP_INDEX_KEY
constant to theaccount.ts
file to define the annotation key for the user guide completion status (link)common.json
file in thezh
locale (link)/api/price/bonus
endpoint (link)UserMenu
component to the top of theDesktopContent
component file (link)DesktopContent
component file (link)