Commit Graph

1133 Commits

Author SHA1 Message Date
Filip Krawczyk dac6fcfab9
Merge pull request #285 from krawieck/imgbot 2021-11-06 21:22:03 +01:00
Filip Krawczyk d76108d220
Merge pull request #290 from krawieck/blocking-part2 2021-11-06 20:51:14 +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
shilangyu 5d07180459 [ImgBot] Optimize images
*Total -- 205.21kb -> 102.12kb (50.24%)

/android/app/src/main/res/drawable-xhdpi/splash.png -- 19.45kb -> 8.74kb (55.06%)
/android/app/src/main/res/drawable-xxxhdpi/splash.png -- 53.32kb -> 25.32kb (52.5%)
/android/app/src/main/res/drawable-hdpi/splash.png -- 16.42kb -> 7.92kb (51.72%)
/android/app/src/main/res/drawable-mdpi/splash.png -- 6.89kb -> 3.37kb (51.08%)
/fastlane/metadata/android/en-US/images/icon.png -- 60.85kb -> 30.27kb (50.25%)
/android/app/src/main/res/drawable-xxhdpi/splash.png -- 43.07kb -> 21.74kb (49.53%)
/assets/readme_icon.svg -- 2.65kb -> 2.40kb (9.34%)
/assets/app_icon.svg -- 2.57kb -> 2.35kb (8.58%)

Signed-off-by: ImgBotApp <ImgBotHelp@gmail.com>
2021-11-05 19:29:18 +01:00
Filip Krawczyk 0adc26a5fb add search & block 2021-11-05 16:00:03 +01:00
Filip Krawczyk 03b6c1b129
Merge pull request #286 from krawieck/move-changelog-to-new-page 2021-11-05 14:38:04 +01:00
Filip Krawczyk 59f0a0233c Move changelog to new page 2021-11-04 22:47:26 +01:00
shilangyu e06d35ecc3 Fix metadata 2021-11-04 19:49:02 +01:00
shilangyu c3f2c29204 Fix fastlane deploy 2021-11-04 19:18:11 +01:00
shilangyu a68d5bf986 Fix release.yml 2021-11-04 15:52:53 +01:00
shilangyu 7c7acaff26 Release v0.7.0 2021-11-04 13:26:05 +01:00
Marcin Wojnarowski 7aa73920ca
Add mention of reporting feature in changelog (#284) 2021-11-04 13:00:14 +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 18b39be0a9
Bump deps (#275)
* Bump deps

* Bring back hosted photo_view

* Fix MarkdownBody old state

* Add changelog entry

* Add missing 'a'
2021-11-02 19:02:55 +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 8f34591111
Merge pull request #272 from krawieck/feature/report 2021-10-25 20:53:21 +02:00
Filip Krawczyk 725807c75b CR fixes 2021-10-25 19:52:29 +02:00
Filip Krawczyk 8703246c65 upgrade dependency & build runner build 2021-10-24 23:11:44 +02:00
Marcin Wojnarowski 36c5c59813
Add active users chips (#271) 2021-10-24 23:00:42 +02:00
Filip Krawczyk ae235069ba update dialog border radius to fit the whole app 2021-10-24 22:48:04 +02:00
Filip Krawczyk 5dbb621582 add reporting functionality 2021-10-24 22:36:41 +02:00
Filip Krawczyk 9ebd731e72 update deps 2021-10-24 22:22:17 +02:00
Filip Krawczyk 08cd26867b
Use `CircularProgressIndicator.adaptive` where possible (#269) 2021-10-24 16:28:25 +02:00
Filip Krawczyk a38574c314
Merge pull request #261 from krawieck/feature/blocking-v2 2021-10-24 14:49:15 +02:00
Filip Krawczyk 316964e990 align link preview text to the left 2021-10-24 14:37:55 +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
Filip Krawczyk b6d03960e2 Merge branch 'master' into feature/blocking-v2 2021-10-21 20:51:35 +02:00
Filip Krawczyk c4e909ebc4
Merge pull request #268 from krawieck/switch-to-extended-image 2021-10-21 20:44:40 +02:00
Filip Krawczyk bb1af42beb move dependency to proper section 2021-10-21 18:05:07 +02:00
Filip Krawczyk 0b72aab64a transition to another image widget 2021-10-21 14:40:28 +02:00
Filip Krawczyk f9d657cac6 silly stuff. constructor simplification. remove mistake 2021-10-19 23:42:28 +02:00
Filip Krawczyk fb78c5654b merge wrapper and proper FullPost since the separation is not needed anymore 2021-10-19 23:28:28 +02:00
Filip Krawczyk 43f2a73ad8 make some flex layouts not hacky 2021-10-19 23:27:50 +02: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
Filip Krawczyk 727b28de26 rework variables to reduce unwrapping 2021-10-19 19:39:43 +02:00
Filip Krawczyk b58f91bc84 make FullPostPage constructor private 2021-10-19 19:29:26 +02:00
Marcin Wojnarowski 7be6db1a88
Bump android deps (#267)
* Bump android deps

* Add lint ignore for packages

* Try gradle 7
2021-10-19 18:26:21 +02:00
Filip Krawczyk cff87e0682 Batch of changes addressing CR comments
post_info_section.dart
* Hook -> Stateless
* remove mysterious Rows & Columns

post_body.dart
* extract into variable instead of !-ing

post_media.dart
* extract url into variable, give reason for unwrapping
* make spinner adaptive

post_link_preview.dart
* extract url into a variable
* use ?? operator

full_post.dart
* fix bug from previous commit :^)

post_more_menu.dart
* remove useless column

post_title.dart
* rework variables to make it more safe

save_post_button.dart
* remove TODO comment that has been resolved

post_voting.dart
* spinner -> adaprive

post_voting.dart
* spinner -> adaptive
* stop manually adding myVote
2021-10-19 01:30:30 +02:00
Filip Krawczyk 1a1d001052 Add use_named_constants lint rule 2021-10-18 01:11:23 +02:00
Filip Krawczyk a884f07860 batch of changes adressing CR
comment_section.dart
* _SortSelection: text -> term
* assign fullPostView at the beggining of builder for later ease of use

full_post.dart
* use Providers in route methods since it makes the most sense
* merge _FPP & FPP to one widget
* assign postView earlier for ease of use
* Provider -> Provider.value

goto.dart
* switch goToPost to use Navigator with route instead of goTo

post_actions.dart
* padding fromLTRB -> symmetric

post_more_menu.dart
* turn showPostMoreMenu into a static method
* Provider -> Provider.value
* Hook -> Stateless
* goTo -> Navigator.push
2021-10-18 01:11:04 +02:00
Filip Krawczyk d223d71c59
Update lib/widgets/post/post_actions.dart
Co-authored-by: Marcin Wojnarowski <xmarcinmarcin@gmail.com>
2021-10-18 01:02:35 +02:00