Commit Graph

70 Commits

Author SHA1 Message Date
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 8703246c65 upgrade dependency & build runner build 2021-10-24 23:11:44 +02:00
Marcin Wojnarowski 8c69964657
Regenerate gen files (#254) 2021-09-13 23:37:08 +02:00
Marcin Wojnarowski cb47bc5f72
Rewrite comment to mobx (#248)
* Add initial rewrite

* Progress

* Create AsyncStore

* Fix typo

* Remove outdated lint ignores

* Simplify comment layout

* Reorganize pubspec deps

* Small fixes

* Move all comment state to store

* Document async store

* Move marking as read to AsyncStore

* Add network_error l10n todo

* Rename comment_more_menu

* Hide popup after actions

* Observe changes in consumer
2021-09-08 14:38:26 +02:00
shilangyu 2ab3d7d657 Change localUser path 2021-08-26 00:27:50 +02:00
Filip Krawczyk 7e1cc387dd
Merge pull request #226 from krawieck/lemmy-0.11.0 2021-04-29 11:43:46 +02:00
shilangyu 79d77f60df Add browser theme detection 2021-04-28 14:39:31 +02:00
shilangyu 683da30532 Import showScores 2021-04-27 22:09:42 +02:00
shilangyu f524dc3884 Import lang/theme 2021-04-23 19:26:30 +02:00
shilangyu 4519077ae2 Bring back show nsfw to manage_account 2021-04-22 19:34:35 +02:00
shilangyu 12cb62f87a Add changelog 2021-04-17 12:22:15 +02:00
shilangyu fa7effcb4b Integrate defaultListingType 2021-04-16 21:59:51 +02:00
shilangyu e357332a07 Add default sortings 2021-04-16 21:43:02 +02:00
shilangyu c371c3f4fb Add settings import 2021-04-16 21:19:59 +02:00
shilangyu 7138f9b76c Add settings 2021-04-16 20:15:48 +02:00
shilangyu de4b6e674d Fix userId (again) 2021-04-11 18:27:22 +02:00
shilangyu 236301275d Fix config_store 2021-04-11 00:55:04 +02:00
shilangyu 709f357368 Last lint fix 2021-04-11 00:28:33 +02:00
krawieck 83235534f5 HECKIN CHONKER (null safety migration without scripts) 2021-04-09 00:11:44 +02:00
shilangyu 9f2de50b1d Replace local user id with person id in JWT payload 2021-04-06 10:39:43 +02:00
Filip Krawczyk bac846fea9
Transition to API v3 (#196) 2021-04-05 20:14:39 +02:00
shilangyu 734a63e7dd Initial strings setup 2021-02-28 21:53:02 +01:00
shilangyu 28013a8a45 Add re-export of l10n 2021-02-28 21:53:02 +01:00
shilangyu a9dc676ca8 Simplify comment.dart 2021-02-24 22:33:21 +01:00
shilangyu bc7779158c Simplify tokenForId 2021-02-24 22:02:36 +01:00
shilangyu 8cf3859ed8 make stores easily serializable 2021-02-24 21:54:15 +01:00
Filip Krawczyk 19b2688316
add inbox page + other stuff (#164) 2021-02-24 20:52:18 +01:00
krawieck dec2147b38 remove debugging debris 2021-01-26 21:55:57 +01:00
krawieck c2f528750a transition all api v1 calls to api v2 2021-01-24 20:01:55 +01:00
shilangyu e2af8326e2 Fix bug where accounts would be removed while being iterated over 2021-01-17 17:35:07 +00:00
shilangyu f37da51137 Make tokens in AccountsStore private 2021-01-17 16:35:47 +00:00
shilangyu 95386635f3 Disable implicit casts 2021-01-03 20:25:05 +00:00
shilangyu a803e091dc Add new easy-to-fix lint rules 2021-01-03 17:03:59 +00:00
shilangyu 58f964ab66 Fix federation errors and rename all instanceUrl to instanceHost 2020-12-31 13:58:23 +00:00
krawieck 8211d963a7 make it so that the first instance after instalation is lemmy.ml 2020-12-04 13:55:40 +01:00
shilangyu b8636938ba keys to sharedpreferences are now typed constants 2020-10-25 23:49:24 +00:00
shilangyu 91d8477e85 migrated accounts store to ChangeNotifier 2020-10-25 23:43:37 +00:00
shilangyu 28e0ec9bcb added accidentally removed dartdoc 2020-10-25 23:39:57 +00:00
shilangyu 4917c84623 converted config store to change notifier 2020-10-25 21:33:44 +00:00
shilangyu c839da022d small fixes 2020-09-30 20:10:13 +02:00
shilangyu aa5d9832d6 run dartfmt 2020-09-30 19:37:56 +02:00
shilangyu 94d12fccff added lots of dartdoc/comments 2020-09-30 17:05:00 +00:00
shilangyu af7cb62fac removed users from account store and used more utility methods 2020-09-29 23:15:51 +02:00
Marcin Wojnarowski 4083742574
Merge branch 'master' into post-creation 2020-09-28 20:33:28 +02:00
shilangyu cb2cc99546 show only logged in instances 2020-09-26 12:43:34 +02:00
shilangyu 80a06bf14b simplify automatic default account selection 2020-09-24 09:18:42 +02:00
krawieck a18300f0f1 add pick default reaction 2020-09-23 15:27:24 +02:00
shilangyu 72ef4a6d26 added iterable of instance urls 2020-09-22 23:17:02 +02:00
krawieck 15f408e8db mark `removeInstance` and `removeAccount` as actions 2020-09-22 13:38:31 +02:00
krawieck 3ca16ccf21 add `removeInstance` and `removeAccount` methods 2020-09-21 21:44:56 +02:00