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

Installing shadecn #1

Merged
merged 17 commits into from
Sep 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 26 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,21 +9,31 @@ categorization.
## Why

Don't give up your all your financial data just to see a inaccurate
auto-generated categorization table.
auto-generated categorization table. No login required.

## This idea made me stumble into the "local first" community

- [maggie appleton loficonf talk](https://maggieappleton.com/home-cooked-software)
- revisited annually: [robin sloan](https://www.robinsloan.com/notes/home-cooked-app/)
- https://biscuits.club/about built with https://github.com/a-type/verdant

## Links:

- Package init: https://ionic.io/blog/cross-platform-sveltekit-capacitor-application-yes-its-possible
- Boilerplate guide used to start repo: https://ionic.io/blog/cross-platform-sveltekit-capacitor-application-yes-its-possible
- Svelte Forms Lib (Like Formik) https://svelte-forms-lib-sapper-docs.vercel.app/basic
- Firebase offline syncing: https://firebase.google.com/docs/firestore/manage-data/enable-offline

## Testing

- Required: `npm i -g firebase-cli`

- Then: `node run firebase` to start emu.

- Playwright high level e2e tests
- Tests reuse some application code to modify database for scenarios
- Tests spin up a local firebase emulator to use
- Setting a key of "useFBEmulator" in your localstorage will enable emulator
usage over a remove firestore instance.
usage over a remote firestore instance.
- Clicking the money emoji 3 times will display debug information in your
console log, or fire an alert dialog if on mobile

Expand All @@ -32,11 +42,18 @@ auto-generated categorization table.
- SPA, no ssr-rendering, all pre-rendered to work with Capacitor
- Details in +layout.ts

### Revisited 3/8

- Still want to track spending within a paycheck (date range + budget) + categorize + track account + export csv for date range

### Next Up

- Blog post about time mock
- Need shadcn before adding more features
- Replace firebase w tinybase (because firebase can't be offline only)
- Use tinybase to store in sqlite
- Add sqlite backup / restore
- TestFlight
- CI/CD
- Linting / formatting
- Track spending within a paycheck (date range + target, "X left")
- Log these spending goals
- Pie graph of categories
- Choosing sub topic shows most expensive sub categories / or purchases
- Category initialization
- Export data as CSV
- Spending timeline checklist
14 changes: 14 additions & 0 deletions components.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"$schema": "https://shadcn-svelte.com/schema.json",
"style": "default",
"tailwind": {
"config": "tailwind.config.js",
"css": "src/global.pcss",
"baseColor": "slate"
},
"aliases": {
"components": "$components",
"utils": "$lib/utils"
},
"typescript": true
}
12 changes: 6 additions & 6 deletions ios/App/Podfile.lock
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
PODS:
- Capacitor (5.0.5):
- Capacitor (5.7.4):
- CapacitorCordova
- CapacitorApp (5.0.3):
- CapacitorApp (5.0.7):
- Capacitor
- CapacitorCordova (5.0.5)
- CapacitorCordova (5.7.4)

DEPENDENCIES:
- "Capacitor (from `../../node_modules/@capacitor/ios`)"
Expand All @@ -19,9 +19,9 @@ EXTERNAL SOURCES:
:path: "../../node_modules/@capacitor/ios"

SPEC CHECKSUMS:
Capacitor: b1248915663add1bd6567e2b67c1c1fa3abcf5e8
CapacitorApp: 7a5dec8b33573707164b293475d5c89ba684364a
CapacitorCordova: f8c06b897c74ee8f7701fe10e6443b40822bc83a
Capacitor: 4fe9adf012caceb4c71ffea2f1f4d005cdcbeea7
CapacitorApp: 17fecd0e6cb23feafac7eb0939417389038b0979
CapacitorCordova: a6e87fccc0307dee7aec1560ec9398485f2b0ce7

PODFILE CHECKSUM: ff93f75dfd87608d4250c18084881dce75dc9690

Expand Down
Loading
Loading