Commit Graph

496 Commits

Author SHA1 Message Date
Filip Krawczyk 2d7d2a64bd move part of the functionality to EditorController for clutter reduction 2022-08-25 23:46:43 +02:00
Filip Krawczyk b39d6b06d7 create widget for stuff that sticks to bottom 2022-08-25 17:27:40 +02:00
Filip Krawczyk cc8441dabc toolbar is now only present when textfield is focused
also added it to manage account page
2022-08-23 19:29:01 +02:00
Filip Krawczyk cda72a1174 CR Small Changes
* regex fix http?s -> https?
* file rename: formatter.dart -> markdown_formatter.dart to match the class name inside
* add + as continuoable list
* rename: listContinuation          -> unorderedListContinuation
           numberedListContinuation -> orderedListContinuation
* fix typo: convenience
* fix: doc instead of comment
* rename for readability: startingIndex -> from
* function & arg rename: lineBefore(int endingIndex) -> lineUpTo(int characterIndex)
* parse -> tryParse
* localize user picker & commmunity picker
* HookWidget -> StatelessWidget where needed
* Toolbar -> EditorToolbar for less ambiguity
* fix typo: surroungs -> surrounds
* remove debug logA
* more localization stuff
* title -> label on add link dialog
* Reformat -> _Reformat
* use store when in scope instead of context.read
* remove useless Stack (oops)
2022-08-23 00:34:10 +02:00
Filip Krawczyk 579b4e1d5d cleanup 2022-08-21 22:23:25 +02:00
Filip Krawczyk 116b0d7961 add store with purpose of uploading images 2022-08-21 16:00:54 +02:00
Filip Krawczyk 062a53fdd9 add safearea for toolbar 2022-08-05 11:01:52 +02:00
Filip Krawczyk 6f271ffc91 remove focus node that is not needed thanks to flutter being smart 2022-08-05 11:01:52 +02:00
Filip Krawczyk ce41b7e18c editor reorganization + first changes
* added toolbar with buttons
* bold button works
* added input formatter for user convieniance
2022-08-05 11:01:52 +02:00
shilangyu 9ed7b89d68 Regenerate files 2022-07-15 21:21:02 +02:00
shilangyu 6136e4a408 Bump mobx 2022-05-13 15:58:01 +02:00
shilangyu 4533be634e Enable new lints 2022-05-11 22:23:18 +02:00
shilangyu 926c0afe0a Add extra controller condition 2022-05-08 10:43:12 +02:00
shilangyu df85b6271e Merge branch 'master' into feature/create-post-redesign 2022-05-03 18:09:33 +02:00
shilangyu ab1873a19f Fix immutability 2022-05-03 09:48:04 +02:00
shilangyu 7bb8d2b33f Fix code review comments 2022-05-03 09:44:07 +02:00
shilangyu 23f64387a7 Add missing community default 2022-04-30 16:28:50 +02:00
shilangyu d64fe48328 Add image upload 2022-04-30 16:28:50 +02:00
shilangyu 85f9d3fd0e Add cross platform file picker 2022-04-30 16:28:50 +02:00
shilangyu 8838efc073 Add create post page 2022-04-30 16:28:50 +02:00
shilangyu f6191936e6 Add community picker 2022-04-30 16:28:50 +02:00
shilangyu c320585810 Add searching to CreatePostStore 2022-04-30 16:28:50 +02:00
shilangyu a821681903 Initial refactor 2022-04-30 16:28:50 +02:00
shilangyu 5068eb900f Update link launcher 2022-04-30 16:24:29 +02:00
shilangyu f5b02a369b Bump deps 2022-04-30 16:24:29 +02:00
Marcin Wojnarowski 11d63e0522
Upgrade to flutter 2.10 (#325) 2022-04-30 15:44:03 +02:00
Marcin Wojnarowski 88608ea9e1
Migrate instance page to mobx + l10 strings (#316) 2022-01-20 11:50:24 +01:00
Filip Krawczyk 682e1af2c0
Lemmy v0.15.0 changes (#314) 2022-01-14 14:25:31 +01:00
Marcin Wojnarowski 8712691926
Upgrade to flutter 2.8.1 (#308) 2022-01-06 16:05:46 +01:00
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 d87a8a83c3
Localize rest of intl (#301)
* Localize rest of intl

* Add changelog entry
2021-11-25 18:49:43 +01:00
Filip Krawczyk 95d8ee7fa7
refactor community page to use mobx (#299) 2021-11-25 18:12:36 +01:00
Marcin Wojnarowski 1e6e8a7774
L10n/timeago (#298)
* Change arb dir

* Localize timeago

* Document changes

* Add missing language names

* Fix language tags

* Fix translations
2021-11-16 17:06:07 +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 8cf09f2fb5
Merge branch 'master' into blocking-part2 2021-11-05 23:33:34 +01:00
Marcin Wojnarowski 6e5470c05c
Stop using l10n synthetic package (#289)
* Stop using l10n synthetic package

* Remove nullability

* Keep l10n gen in repo
2021-11-05 21:37:27 +01:00
Filip Krawczyk 0adc26a5fb add search & block 2021-11-05 16:00:03 +01:00
Marcin Wojnarowski e0aa489478
Fix/overflows (#278)
* Fix overflow issues

* Add changelog entry

* Fix uneven paddings

* Fix avatar padding

* Better cover the background image

* Add changelog entry
2021-11-03 22:50:03 +01:00
Filip Krawczyk 84b60c83f7
Merge pull request #277 from krawieck/feature/new-share-icon 2021-11-03 09:48:16 +01:00
Marcin Wojnarowski 2b72fcce10
Fix minor post errors (#273)
* Use nested to decrease indentation

* Fix post tap area

* Fix overflow errors

* Add changelog entry
2021-11-03 06:21:00 +01:00
Filip Krawczyk 2c792a4a2c use adaptive share icon in in every instance 2021-11-03 00:36:09 +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
Marcin Wojnarowski 36c5c59813
Add active users chips (#271) 2021-10-24 23:00:42 +02:00
Filip Krawczyk 08cd26867b
Use `CircularProgressIndicator.adaptive` where possible (#269) 2021-10-24 16:28:25 +02:00
Filip Krawczyk 709cb3c409 yet another round of changes addressing CR
* reorder sections in stores
* List -> Iterable
* .postView = X -> .updatePostView(X)
* Container -> DecoratedBox
* remove useless computed: `wasVoted`
2021-10-24 14:19:12 +02:00