Commit Graph

23 Commits

Author SHA1 Message Date
Steven Vandevelde b0b9a2020e
Upgrade to Webnative 0.35 (#89)
* Upgrade to webnative 0.35

* Linking

* Adjust loadAccount

* Chore: update avatar size limit to be 20mb - also update gallery size limit error message

* Chore: move program.auth.webCrypto to sessionStore.authStrategy (#93)

* program.id → program.tag

* Use AuthenticationStrategy type

* Single auth strategy

* Fix: always pass program.auth to sessionStore

* Avivash/add loading UI (#94)

* tag -> namespace

* Avivash/51 private file info (#95)

* Fix: delegate route being mounted twice

* Fix: orange and gradient directions

* Fix: footer gradient direction

* Bump webnative

* Use alpha version

* Upgrade alpha version

* Bump alpha release

* Bump

* Avivash/UI updates (#102)

* Bump

Co-authored-by: avivash <av@andrewvivash.com>
Co-authored-by: Andrew Vivash <andy@fission.codes>
Co-authored-by: Brian Ginsburg <gins@brianginsburg.com>
2023-01-05 19:13:15 +01:00
avivash c4c94777fa Chore: use button class for gallery FileUploadCard 2022-11-10 23:11:32 -08:00
Andrew Vivash 6dbfbc296a
Avivash/58 improve homepage UI(does not include 404 or User Settings) (#83) 2022-11-08 13:58:04 -08:00
Andrew Vivash 43fda68523
Chore: move initializeFilesystem back to the register function (#70) 2022-10-12 09:10:11 -07:00
Andrew Vivash 44fa0fd136
Feat: move gallery code to gallery domain (#69) 2022-09-27 11:30:41 -07:00
Brian Ginsburg 71aac0e88c
Upgrade SvelteKit (#65)
* Staging upgrades to sveltekit and adapter-static

Preparation for routes migration

* svelte-migrate: renamed files

* svelte-migrate: updated files

* Upgrade to latest kit and adapter-static

* Rename app/env to app/environment

* Migrate rendering and prerendering behavior

* Extend SvelteKit tsconfig
2022-09-20 13:47:45 -07:00
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 05b70fd159
Quick start instructions (#53)
* Remove some extraneous tags, links, etc

* Templatize <head> with name, description, URL
2022-09-01 11:42:35 -04:00
Brian Ginsburg eb61c6b5e6
Add homepage (#41)
* Add homepage
* Check backup status when loading account
* Rename app
* Add about card
* Replace hamburger menu with brand
* Rename app in title


Co-authored-by: Jess Martin <jessmartin@gmail.com>
2022-08-30 16:42:46 -04:00
Brian Ginsburg ccfd146258
Add connect existing account modal (#40)
* Add connect existing account modal


Co-authored-by: Jess Martin <jessmartin@gmail.com>
2022-08-30 15:07:29 -04:00
Andrew Vivash 319ff70b5d
3 private and public photo uploads (#37) 2022-08-27 15:53:10 -07:00
Jess Martin eec81aa1bf
Dark mode toggle (#36)
* Add dark and light mode icons
* Respect user's OS preferences, unless they toggle manually


Co-authored-by: Brian Ginsburg <7957636+bgins@users.noreply.github.com>
2022-08-24 16:17:03 -04: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
Jess Martin 8f29357b17 Make application name configurable
Co-authored-by: Brian Ginsburg <gins@brianginsburg.com>
2022-08-02 14:21:24 -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 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 f3cafb40be Redirect to LinkDevice on successful registration 2022-07-27 12:59:22 -04:00
Jess Martin 639d2fb296 Reformatting all the files that prettier missed 2022-07-20 16:47:18 -04:00
Jess Martin 7051c33ca9 Styles from the Figmas 2022-07-20 13:06:22 -04:00
Brian Ginsburg a7b3104a23
Start adding registraion UI
Co-authored-by: Jess Martin <jessmartin@gmail.com>
2022-07-19 16:54:38 -07:00
Brian Ginsburg dc0ce83990
Add webnative 2022-07-14 12:43:42 -07:00
Brian Ginsburg 2b98bce42b
Boilerplate svelte app 2022-07-14 11:41:33 -07:00