-
Notifications
You must be signed in to change notification settings - Fork 435
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(free-trial): adds free trial button, popover and modal. (#5345)
* feat(trial): add free trial button * implement designs for modal and popover * add days left display into free trial * disable show on load for modal * feat(trial): add circle outline with progress * feat(free-trial): update free trial button to use requests * feat(free-trial): add mobile button * feat(free-trial): remove fallback * feat(free-trial): update props and popover position * feat(free-trial): move logic to a context, avoid refetching on every mount of the sidebar * fix(free-trial): update desktop button * fix(free-trial): update free trial button click logic * fix(free-trial): wait to render popover in mobile * feat(free-trial): update response types and logic involved * feat(free-trial): update dialogs designs and ux * fix(free-trial): clear timer, remove unnecessary comment and update types for request * fix(free-trial): updates to svg circle * fix(free-trial): update how stroke is generated for image icons * feat(free-trial): add support for trialDays in API response * fix(free-trial): rename freeTrial type to sidebar and topbar, remove unnecessary wrapper * fix(free-trial): re-focus on button after closing dialog * fix(free-trial): add DynamicIcon fetch validation and controller * fix(free-trial): replace trialDays for totalDays, update context
- Loading branch information
1 parent
d4e5409
commit 16a8b58
Showing
11 changed files
with
773 additions
and
106 deletions.
There are no files selected for viewing
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
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
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
Oops, something went wrong.
16a8b58
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.
Successfully deployed to the following URLs:
performance-studio – ./
performance-studio-git-next.sanity.build
performance-studio.sanity.build
16a8b58
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.
Successfully deployed to the following URLs:
test-studio – ./
test-studio.sanity.build
test-studio-git-next.sanity.build