Skip to content
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(dashboard): select tracker variants #117

Merged
merged 26 commits into from
Aug 11, 2024
Merged

feat(dashboard): select tracker variants #117

merged 26 commits into from
Aug 11, 2024

Conversation

ayuhito
Copy link
Member

@ayuhito ayuhito commented Aug 8, 2024

PR 4/? for #9.

This adds a new settings page for managing the tracker and also having a convenient spot within the application to copy and paste the tracker code.

Rather than going for the approach of other solutions where the user updates the script name to something like script.feature-1.feature2.feature-3.js, we've opted for a cleaner interface with just script.js where the user selects the features from the dashboard.

The trade-off is that it will take up to 6 hours for caches to be revalidated on returning visitors to have the new script, but it allows for much much more flexibility and ease of use for the end user to change and update features at will. It also makes it much much easier for us to add new features that are more granular and optimal for the user.


This PR also continues the work of migrating many components off Mantine UI to unstyled native or Radix components for a faster, cleaner, and smaller implementation. It's better to make these big changes now so we have a solid foundation to build off in the future. This one focuses on replacing inputs (TextInput and PasswordInput) to a native alternative instead.

@ayuhito ayuhito merged commit d6e907d into main Aug 11, 2024
5 checks passed
@ayuhito ayuhito deleted the feat/tracker-select branch August 11, 2024 14:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant