Nuno Góis
dbe2f9b6bd
chore: remove demo plans dialog ( #9816 )
...
https://linear.app/unleash/issue/2-3531/remove-pricing-pop-up
We decided to remove this dialog in favor of linking directly to
https://www.getunleash.io/pricing
2025-04-23 08:55:49 +01:00
Nuno Góis
d3d618c9ad
chore: improve demo finish CTA ( #9773 )
...
https://linear.app/unleash/issue/2-2578/change-cta-text-finished-screen
Improves the demo finished dialog CTA.
2025-04-16 14:48:12 +01:00
Nuno Góis
2c1ec41a07
fix: demo QR code ( #9756 )
...
https://linear.app/unleash/issue/CJUX-340/bug-qr-code-doesnt-work
Generated a new QR code using
[qrcode-monkey.com](https://www.qrcode-monkey.com/ ), following a similar
design to our previous one.
Unlike the previous QR generator, this one does **not** proxy the URL—so
the QR code will never break in the future. It’s also in SVG format,
allowing for infinite scaling without quality loss.

2025-04-15 09:06:25 +01:00
Nuno Góis
3fa54f4465
chore: instance status prices ( #9588 )
...
https://linear.app/unleash/issue/2-3429/use-the-correct-prices-for-each-instance-in-unleashs-ui
Uses the instance prices exposed through instance status to display the
correct price amounts in Unleash's UI.
2025-03-21 09:15:49 +00:00
Nuno Góis
395a4b6be3
chore: PAYG billing ( #8743 )
...
https://linear.app/unleash/issue/CTO-95/unleash-billing-page-for-enterprise-payg
Adds support for PAYG in Unleash's billing page.
Includes some refactoring, like splitting Pro and PAYG into different
details components. We're now also relying on shared billing-related
constants (see `BillingPlan.tsx`). This should make it much easier to
change any of these values in the future. I already changed a few that
were static / wrongly relying on instanceStatus.seats (we decided we're
not doing that for now).

2024-11-14 11:29:05 +00:00
Tymoteusz Czech
f967cb9fad
feat: update demo plans modal ( #8594 )
...
Update demo banner for PAYG plan
2024-10-31 16:07:21 +01:00
Christopher Kolstad
53354224fc
chore: Bump biome and configure husky ( #6589 )
...
Upgrades biome to 1.6.1, and updates husky pre-commit hook.
Most changes here are making type imports explicit.
2024-03-18 13:58:05 +01:00
Fredrik Strand Oseberg
f381718fd6
fix: icon imports ( #6499 )
...
Based on this article:
https://mui.com/material-ui/guides/minimizing-bundle-size/ importing
from `'@mui/icons-material'` instead of specifying the actual path to
the icon like `import Delete from '@mui/icons-material/Delete';` can be
up to six time slower. This change changes all named imports in Unleash
referencing the `@mui/icons-material` to default imports.
This reduced the amount of modules we had to process when building the
frontend from 15206 to 4746
Before:
<img width="1016" alt="Skjermbilde 2024-03-11 kl 14 19 58"
src="https://github.com/Unleash/unleash/assets/16081982/f137d24a-6557-4183-a40f-f62a33524520 ">
After:
<img width="1237" alt="Skjermbilde 2024-03-11 kl 14 20 32"
src="https://github.com/Unleash/unleash/assets/16081982/05a27d6a-2c3f-4409-9862-7188ab4b9c72 ">
Build time locally decreased by around 50%
Before:
<img width="1504" alt="Skjermbilde 2024-03-11 kl 14 31 45"
src="https://github.com/Unleash/unleash/assets/16081982/bc931559-b022-47ed-9f8f-c87401578518 ">
After:
<img width="1219" alt="Skjermbilde 2024-03-11 kl 14 27 00"
src="https://github.com/Unleash/unleash/assets/16081982/3c3a8d6b-576d-45c3-aa40-cc5f95d9df2b ">
2024-03-12 10:56:10 +01:00
Nuno Góis
4167a60588
feat: biome lint frontend ( #4903 )
...
Follows up on https://github.com/Unleash/unleash/pull/4853 to add Biome
to the frontend as well.

Added a few `biome-ignore` to speed up the process but we may want to
check and fix them in the future.
2023-10-02 13:25:46 +01:00
Nuno Góis
6a3965f57a
feat: improve demo welcome screen options ( #4132 )
...
https://linear.app/unleash/issue/2-1166/demo-welcome-screen-improvement
Improves UI/UX of the demo welcome screen dialog by adding the "Explore
on my own" button and renaming the "Try Unleash demo" button to "Go for
a guided tour".
This also adds UTM links to both the demo website URL and QR code.

2023-07-04 08:10:34 +01:00
Nuno Góis
959ac33905
fix: misc UI fixes mostly responsiveness related ( #3868 )
...
Includes:
- https://linear.app/unleash/issue/2-1050/ui-fixes
- https://linear.app/unleash/issue/2-1088/mobile-ui
- https://linear.app/unleash/issue/2-1090/tablet-table
Which include things like:
- zIndex adjustments;
- Make the plans dialog more responsive;
- Hide interactive demo guide on small screens;
- Improve demo banner responsiveness;
- Fix console error on `ResponsiveButton`;
- Adjust sidebar header to be more consistent;

Co-authored-by @nicolaesocaciu
2023-05-25 20:28:08 +03:00
Nuno Góis
0c538f070a
refactor: change plausible events to be more specific at the top level ( #3810 )
...
Splits the `demo` event into multiple more specific events so it's
easier to track on Plausible (fix `(none)` in Plausible).
2023-05-19 15:32:08 +01:00
Nuno Góis
6d473164ab
refactor: rename demo img assets ( #3795 )
...
Small PR that simply renames `demo`-related assets for better
organization and readability.
2023-05-17 08:47:19 +00:00
Nuno Góis
6a12403eca
fix: demo QR code ( #3793 )
...
https://linear.app/unleash/issue/2-1062/update-the-qr-code
Updates the QR code to a correct one, since the last one expired.
Relates to [roadmap](https://github.com/orgs/Unleash/projects/10 ) item:
#3537
2023-05-17 09:03:11 +01:00
Nuno Góis
dabb6c00a3
fix: demo guide dialogs behavior ( #3762 )
...
Improves the dialogs behavior to address
https://linear.app/unleash/issue/2-1053/bug-when-big-dialog-is-open-if-you-click-on-a-step-the-flow-is-broken
Also prevents close on backdrop click for the welcome dialog.
2023-05-12 17:58:06 +00:00
Nuno Góis
7116b47a39
fix: point demo website links and QR to new URL ( #3754 )
...
https://linear.app/unleash/issue/2-1035/apply-changes-with-demo-instance-in-mind
Applies this item in the task:
- Ensure that the demo guide points to the URL mentioned above, with the
correct QR code;
Relates to [roadmap](https://github.com/orgs/Unleash/projects/10 ) item:
#3537
2023-05-12 12:07:51 +03:00
Nuno Góis
bf4cbd24b0
fix: ensure rel=noreferrer on target=_blank ( #3755 )
...
https://linear.app/unleash/issue/2-1043/ensure-that-links-with-target=-blank-include-rel=noreferrer-to-prevent
Ensures that links with `target="_blank"` include `rel="noreferrer"` to
prevent warnings such as:

https://mathiasbynens.github.io/rel-noopener/#recommendations
2023-05-12 09:51:33 +01:00
Nuno Góis
aaf15c96f9
feat: use new demo website ( #3737 )
...
https://linear.app/unleash/issue/2-1023/use-new-demo-website-for-testing-purposes
Use https://unleash-demo-app.vercel.app/ for now, which will help us
testing.
Should be reverted/updated before we release to the current `demo`
instance.
Relates to [roadmap](https://github.com/orgs/Unleash/projects/10 ) item:
#3537
2023-05-10 11:48:00 +00:00
Nuno Góis
edefa6fc7e
test: add interactive demo guide e2e test ( #3656 )
...
This PR revamps e2e tests, while adding a new one for the interactive
demo guide:
- Bumps Cypress from `9.7.0` to `12.11.0`;
- Bumps Cypress GH action from `v2` to `v5`;
- Makes any adjustments needed;
- Fixes a lot of issues identified with existing tests;
- Adds new `demo.spec.ts` e2e test that covers the entire demo guide
flow;
**Note:** Currently does not include `demo.spec.ts` in the GH action, as
it
[fails](https://github.com/Unleash/unleash/actions/runs/4896839575/jobs/8744137231?pr=3656 )
on step 2.13 (last step of "user-specific" topic). It runs perfectly
fine locally, though.
Might be placebo, but in general tests seem less flaky now and they may
even be faster (especially when not adding the `demo` one, which would
always take a long time).
2023-05-08 09:16:18 +01:00
Nuno Góis
3c48171c78
feat: add user tracking to demo ( #3637 )
...
https://linear.app/unleash/issue/2-946/explore-and-implement-options-for-user-tracking
Adds user tracking to the interactive demo, so we can measure how users
are using this feature and improve it in the feature.
## Events
- **start** - When the user starts the demo by clicking on the "Try
Unleash Demo" button;
- **finish** - When the user finishes the demo by seeing the "You
finished the demo" dialog;
- **restart** - When the user decides to restart the demo on the "You
finished the demo" dialog;
- **close** - When the user closes a demo dialog;
- **topic** - In what topic this happened (topic title, can also be
`start` if user closes on the start dialog);
- **step** - In what step this happened (step number, `1` would mean
first step);
- **start_topic** - When the user decides to start a specific topic by
clicking it in the list;
- **topic** - What topic was clicked (topic title);
- **ask_questions** - When the user decides to ask questions by clicking
the appropriate option in the top banner;
- **see_plans** - When the user decides to see the plans by clicking the
appropriate option in the top banner;
- **plan** - What plan was clicked (one of: `open_source`, `pro`,
`enterprise` or `compare_plans`);
- **open_demo_web** - User decided to open the demo website using the
link on the start dialog;
- **view_demo_link** - User decided to open the start dialog again on
the bottom of the topics list;
Relates to [roadmap](https://github.com/orgs/Unleash/projects/10 ) item:
#3537
2023-04-27 14:12:02 +01:00
Nuno Góis
3599e7478c
feat: demo ui-ux improvements ( #3634 )
...
https://linear.app/unleash/issue/2-914/improve-demo-guide-uiux
Includes a big batch of UI/UX improvements, including but not limited
to:
- Updating steps text;
- Improve behavior of intro step dialogs (use normal dialogs);
- Improve overall design;
- Improve escape key and backdrop click behaviors;
- Add plans dialog;
- Add sticky demo banner;
- Assume `demo-app` project and `dev` environment to better fit our demo
instance;
- Misc fixes and refactors;
Relates to [roadmap](https://github.com/orgs/Unleash/projects/10 ) item:
#3537

2023-04-27 08:15:17 +01:00
Nuno Góis
0b4df3f53c
feat: add demo guide finish dialog ( #3578 )
...
https://linear.app/unleash/issue/2-925/add-final-tutorial-complete-dialog
Adds the finish dialog, similar to
https://github.com/Unleash/unleash/pull/3574
Also includes some fixes and improvements identified in the meantime.
Relates to [roadmap](https://github.com/orgs/Unleash/projects/10 ) item:
#3537

---------
Co-authored-by: Gastón Fournier <gaston@getunleash.io>
2023-04-21 11:48:44 +01:00
Nuno Góis
2cf6e689ee
feat: add demo guide welcome dialog ( #3574 )
...
https://linear.app/unleash/issue/2-923/add-initial-getting-started-dialog
Adds the welcome dialog with the static QR code pointing to our demo
website. Also changes how the run logic works a bit, so that we have
better control over it (only start demo steps once we click the start
button, etc).
Relates to [roadmap](https://github.com/orgs/Unleash/projects/10 ) item:
#3537

2023-04-20 16:32:26 +01:00