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

Massive client overhaul #5

Merged
merged 24 commits into from
Sep 2, 2024
Merged

Massive client overhaul #5

merged 24 commits into from
Sep 2, 2024

Conversation

GNMoseke
Copy link
Owner

@GNMoseke GNMoseke commented Sep 2, 2024

This is an incredibly bad PR practice, good thing it's just me!

This basically just rewrites the entire client app to be local-only

Avoids pushing stuff
Including a very large refactor to my state management to stop doing
dumb stuff
General organizational changes to save my sanity
I've intentionally chosen to move away from the provider package here -
I know that it's the recommended way to manage state, but this app feels
simple enough that managing a few callbacks and staying as close to
"vanilla" flutter as possible is worthwhile. I may walk this choice back
in the future and move back to one of the many abstraction libraries.
There are a couple remaining, namely:
1. The title of the details pane
2. The "At a Glance" indicators in the detaiil pane

These both only overflow when the window is resized extremely smally,
which is not intended and I am OK with having it look funky.
This works... surprisingly well out of the box
This now supports updating as you change thinfs for various fields, like
displaying the new image and all that jazz
Images are copied to a special directory to ensure that they still exist
in the same place at the next app load
yay! A name that isn't totally made up!
- organize imports
- organize struct ordering and such
- basically whatever the lsp code actions want
@GNMoseke GNMoseke merged commit 44e22b3 into main Sep 2, 2024
0 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant