Commit Graph

16 Commits

Author SHA1 Message Date
Marcin Wojnarowski d4d4a5b999
Migrate modlog to mobx (#303)
* Migrate modlog to mobx

* Remove column

* Add MobxProvider and DisposableStore

* Add modlog store tests
2021-12-04 18:03:54 +01:00
Marcin Wojnarowski e881dde992
Rename and remove stuff, add PullToRefresh (#293)
* Rename files

* Add PullToRefresh

* Remove l10n gen from repo

* Format l10n files in CI
2021-11-12 17:01:17 +01:00
Filip Krawczyk 9d004cefd7 Provider: nah, pass as arg: yah 2021-11-06 18:49:45 +01:00
Filip Krawczyk f51432d76e formatting 2021-11-06 17:19:39 +01:00
Filip Krawczyk 716d757d62 changes addressing CR
* remove outdated TODOs
* remove unneeded Expanded and Rows in 2 places
2021-11-06 17:15:07 +01:00
Filip Krawczyk 43bf944924
Update lib/pages/settings/blocks/blocks_store.dart
Co-authored-by: Marcin Wojnarowski <xmarcinmarcin@gmail.com>
2021-11-05 23:54:10 +01:00
Filip Krawczyk a8d91f7ba8
Update lib/pages/settings/blocks/blocks_store.dart
Co-authored-by: Marcin Wojnarowski <xmarcinmarcin@gmail.com>
2021-11-05 23:54:00 +01:00
Filip Krawczyk 0adc26a5fb add search & block 2021-11-05 16:00:03 +01:00
Marcin Wojnarowski 760565384f
Migrate ConfigStore to mobx (#270)
* Migrate ConfigStore to mobx

* Add tests

* Remove provider imports

* Mock shared_preferences

* Reorganize saving in ConfigStore
2021-10-31 12:52:58 +01:00
Filip Krawczyk 3efbc25cca update BlocksPage to have private constructor
it's because all that should be used from the outside is the `route` method
2021-10-19 21:36:54 +02:00
krawieck ec8d9f84a3 remove useless state 2021-10-03 12:01:34 +02:00
krawieck 56611db175 revise blocking flow 2021-10-02 23:15:15 +02:00
krawieck e38100f705 extract tiles to separate file 2021-10-02 20:05:42 +02:00
krawieck d60217af88 errorTerm translate + hook -> normal widget 2021-10-02 20:01:33 +02:00
krawieck aa448adeb7 Code review changes
* remove useless comment from post_status.dart
* move fixed in changelog into a proper section
* move refresh into a provider create in UserBlocksWrapper
* use errorTerm in UserBlocks instead of hardcoded message
* add missing trailing comma
* add route method BlocksPage
* remove useless lint ignore
* use originPreferredName instead of referredName
* make UserBlocksWrapper private
* revise AsyncStoreListener
2021-10-02 18:48:00 +02:00
krawieck cb76875cee reorganize files 2021-10-02 17:42:28 +02:00