Commit Graph

3 Commits

Author SHA1 Message Date
Brian Ginsburg 102ecd9b3e
Cleanup and refactoring (#60)
* Use production infra

* Move theme out of subdirectory

* Remove unused example test

* Separate webnative module into init and account

* Move state off of module global state

* Move utils out of common directory

* Organize imports consistently

* Replace last remaining Toast with a Notification

* Rename theme to themeStore

Renaming keeps the theme store naming consistent with the other stores.

* Replace uuid helper with WebCrypto randomUUID

* Enfore minimum node version at >=16.9

* Refactor delegate-account and link-device routes

Use component views for consistency with the other routes

* Use FilesystemActivity component in Register

* Remove console logs

* Add extractSearchParam

Generalizes extracting a search param from a URL.

* Hide app name in header on mobile

* Remove deviceStore

We weren't using it in the app. Mobile styles are handled with tailwind
utility classes.

* Add social preview image

* Remove navigate event from AreYouSure component

The event was unused.

* Replace convertUint8ToString with uint8arrays

* Add initializeFilesystem

Separates out app-specific resource creation from the required
registration code

* Allow minor webnative version upgrades

* Update package-lock.json
2022-09-15 12:52:24 -07:00
Jess Martin 030f478228
Link device flow (#32)
* Wire up delegate account page
* Wire up link device page
* Add pin error when no matching pin
* Add backup created flag and store it in WNFS
* Move backup status into a dedicated module
* Move linking into a dedicated module


Co-authored-by: Brian Ginsburg <gins@brianginsburg.com>
2022-08-24 10:36:59 -04:00
Jess Martin 143ec66d1f
Welcome and backup device flow (#26)
* Comment out redirect to prevent re-register

* Welcome screen completed

* Rename LinkDevice to Welcome; Add Backup route

* Add a new page for Backup Device

* Move bootstrapFilesystem to webnative implementation

Co-authored-by: Jess Martin <jessmartin@gmail.com>

* Rename appName.ts to app-name.ts

Co-authored-by: Jess Martin <jessmartin@gmail.com>

* Refactor register and backup routes and components

Co-authored-by: Jess Martin <jessmartin@gmail.com>

Co-authored-by: Brian Ginsburg <gins@brianginsburg.com>
2022-08-04 07:59:50 -07:00