Commit Graph

8 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
Andrew Vivash 319ff70b5d
3 private and public photo uploads (#37) 2022-08-27 15:53:10 -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
Brian Ginsburg 2d25466f93
Add initialization error toasts (#24)
* Add error, success, info, and warning styles

* Add Toast component

* Add initialization error toast

* Add device store and toast placement

* Set device on window resize events


Co-authored-by: Brian Ginsburg <gins@brianginsburg.com>
Co-authored-by: Jess Martin <jessmartin@gmail.com>
2022-08-02 13:57:36 -04:00
Brian Ginsburg 046c80be44
Bootstrap filesystem and add filesystem store
Co-authored-by: Jess Martin <jessmartin@gmail.com>
2022-07-29 12:58:22 -07:00
Brian Ginsburg 72c56c1efe
Add session store (#23)
* Add webnative initialization and session store

* Guard connect page and button
2022-07-28 15:48:53 -07:00
Jess Martin 639d2fb296 Reformatting all the files that prettier missed 2022-07-20 16:47:18 -04:00
Brian Ginsburg 2b98bce42b
Boilerplate svelte app 2022-07-14 11:41:33 -07:00