A minimalist TODO app...It's in the name, really.
I wanted to do this to develop/test some 'native' web components techniques and see how far (near) I can push things to get a 'framework DX' without a framework
- using template strings to generate HTML
- binding events (including custom events) in HTML
- using 'Named access on the Window object'
- using light DOM in Web Components
- extending the DOM API
- using CSS for declarative state management
I understand that most of these techniques are frowned upon, but in today's world of front-end frameworks, they aren't really that bad if you think about it.
The app needs to be served from a non-null domain because it's using js modules.
- On Windows, simply create a Virutal Directory under the default website and have it point to the
srcdirectory.
The app uses the Capacitor framework to generate the mobile app.
The below commands are only here for completeness, I already ran them and the result is committed.
npm install @capacitor/cli @capacitor/core
npx cap init
npm install @capacitor/android
npx cap add android
- run
npm install - run
npm run build - run
npx capacitor sync android - open Android Studio and build the app!
- The
www/manifest.jsonfile is needed for the assets package to work! - run the below command
npx @capacitor/assets generate --iconBackgroundColor #000000 --iconBackgroundColorDark #000000 --splashBackgroundColor #000000 --splashBackgroundColorDark #000000 --assetPath src/assets/icons
More info here
- accounts
- firebase/supabase auth?...I think native google is better
- account icon in app header. the 'O' in TODO ;)
- sync data
- firebase/supabase db?...google drive
- calendar integration
- "drag/drop"
- DONE - add arrows in the swipe buttons
- add drop targets between items
- DONE - transparent background for filter buttons
- DONE - overscroll behavior contain
- due date + calendar integration