Skip to content

Comments

CW-912 [1/?] one class per file, minor cleanups#12

Merged
OmarHatem28 merged 22 commits intomainfrom
CW-912-cleanup1
Jun 10, 2025
Merged

CW-912 [1/?] one class per file, minor cleanups#12
OmarHatem28 merged 22 commits intomainfrom
CW-912-cleanup1

Conversation

@MrCyjaneK
Copy link
Collaborator

No description provided.

fix build issue, update deps
bump monero_c
update lints
move settings widgets into separate files
update to RC10 monero_c
use xcframework instead of .framework
add lints
make all final variables final
fix Makefile, use prebuilds on CI
simplify format.sh script
global fatal error handling
add new method on coin to see if seed appears legit
await all async calls
make FormElement properly abstract and add errorHandler
remove BuildContext from where it's not required
simplify validator in FormElement, create templates
move renameWallet and createWallet to ViewModel
remove deprecated methods in QrImageView
Add insecure biometric option
add codegen
@RebuildOnChange - can be user in
ViewModel and automatically rebuilds the UI on change
@ExposeRebuildableAccessors - makes it easy to expose all accessors of a class in ViewModel - used in SettingsViewModel to simlify code.
@ThrowOnUI - show an error to the user when a function throws
remove button classes from view
separate new_wallet data classes from view model
extractract nested widgets into methods
remove logic from ui
bump flutter version
sneak in GPL-3.0 relicense
little tiny start on docs
use translations instead of hardcoded strings
reorganize code
cleanup all classes
OmarHatem28 and others added 10 commits May 6, 2025 08:07
Note that this is a initial implementation, and mobx may be used inneficiently at the moment
- Move `showExtra` parameter from form builder view model to view
- Add wallet name collision check in Monero wallet info
- Improve MobX state management in create wallet view
- Fix screen titles not updating (or updating in wrong order)
- Drop FormBuilder dependency on AbstractView (it doesn't play well when nested with mobx)
- Convert ViewModel from a mixin to an abstract base class
- Remove unnecessary @action and @computed
- Add Observer widgets in views to handle state instead of a global one
- improve state management in new_wallet_info
- remove unnecessary annotations
- remove hacks used to force rebuild
@OmarHatem28 OmarHatem28 merged commit 6193765 into main Jun 10, 2025
3 checks passed
@OmarHatem28 OmarHatem28 deleted the CW-912-cleanup1 branch June 10, 2025 13:09
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.

2 participants