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

Rebuild onboarding modal #292

Merged
merged 8 commits into from
Mar 13, 2024
Merged

Rebuild onboarding modal #292

merged 8 commits into from
Mar 13, 2024

Conversation

jamiebrynes7
Copy link
Owner

This PR does a few things:

  • Introduces support for React components and testing these
  • Swap to using sass to process CSS instead of simply copying it
  • Rebuild the onboarding modal to validate and give feedback to users when supplying their token

I'm going to start changing the UI code to use React, so we need these packages.
This allows us to have component-specific CSS that all get nicely bundled
together
This mirrors the one that we wrote for Svelte
This commit does a few things:

- it rebuilds the token entering modal completely
- it improves the UX by not alert()'ing when there is no token
- it will open the modal on each startup, if the token still doesn't exist
We need to mock out the obsidian library since
its not actually there at runtime when testing
@jamiebrynes7 jamiebrynes7 marked this pull request as ready for review March 13, 2024 19:46
@jamiebrynes7 jamiebrynes7 merged commit b5f2e80 into master Mar 13, 2024
1 check passed
@jamiebrynes7 jamiebrynes7 deleted the feature/redesign-onboarding branch March 13, 2024 19:46
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