Commit Graph

496 Commits

Author SHA1 Message Date
Filip Krawczyk b6d03960e2 Merge branch 'master' into feature/blocking-v2 2021-10-21 20:51:35 +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 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
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 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
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
krawieck c5ef32a78d remove select_community.dart 2021-10-02 00:03:05 +02:00
krawieck 9ba800a435 Merge branch 'master' into feature/blocking-v2 2021-10-01 23:54:57 +02:00
krawieck 09ba4f32fc move files around so that it makes more sense 2021-10-01 23:39:43 +02:00
krawieck d58ecc878e comment out blocking buttons for later PR 2021-10-01 23:14:19 +02:00
krawieck 46a2f48e3a transition comment section to use mobx 2021-10-01 23:03:42 +02:00
krawieck cca679d6ef make FullPostPage a bit easier to expand in the future 2021-10-01 00:48:34 +02:00
Marcin Wojnarowski c7f037de0f
Feature/routing refactor (#258)
* Use MaterialPageRoute

* Use T.route
2021-09-30 12:55:23 +02:00
Marcin Wojnarowski 9f9cc52cf5
Feature/logging (#251)
* Add logging package

* Refresh linux files

* Android flavor setup

* Setup ios flavors

* Setup release CI

* Refactor CI

* Remove debug prints

* Create prod signingConfig only if exists

* Store recent logs

* Remove flavoring on desktop

* Fix android signing

* Fix release paths (except windows)

* Quote secret var

* debug

* Fix env vars

* Add log console

* Add logs section in bug issue template

* Add time to logs

* Add changelog entry

* Rename log console

* Remove key

* Change way of routing

* Add title
2021-09-23 19:25:03 +02:00
krawieck ee57a0de07 fix bug where loading fullpostview wouldn't show what user did 2021-09-15 00:23:55 +02:00
krawieck 88466dfd73 add community blocking + minor fixes
minor fixes:
* make link preview show up in proper times
* ListTile for (un)blocking communities had a thing switched around
2021-09-14 23:48:04 +02:00
krawieck 5ca4748572 add block page to settings 2021-09-14 23:45:26 +02:00
Marcin Wojnarowski e2f9c43675
Bump deps (#253)
* Migrate first chunk

* Upgrade rest of the deps

* Remove unawaited

* Enabled new lints

* Remove old TODO

* Update podlock
2021-09-12 22:47:05 +02:00
Marcin Wojnarowski 992a62b33c
Flutter 2.5 (#252)
* Stop using accentColor

* Update bootstrap files

* Stop using deprecated members

* Add temp fork use
2021-09-12 22:37:07 +02:00
krawieck 892c09c965 make asyncstorelistener better,
* add prop to asyncstorelistener: successMessageBuilder
* more menu reworkings
2021-09-11 16:26:10 +02:00
krawieck 399c0bdb83 small fixes & tweaks
* commenting uses mobx instead of hooks
* SavePostButton works with fullPost
* `is AsyncStateX` -> .errorTerm & .isLoading
* save post button better looking spinner
2021-09-11 01:27:21 +02:00
krawieck 2e8ca0e858 rework post and full_post to use mobx 2021-09-11 01:04:15 +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 ff44bbf7f9 Add modlog entries for community transfers 2021-09-04 15:18:38 +02:00
shilangyu 2ab3d7d657 Change localUser path 2021-08-26 00:27:50 +02:00
shilangyu f3cc7f3f99 Get follows from GetSite 2021-08-26 00:27:24 +02:00
shilangyu 8a82c986bb Format code 2021-07-08 12:19:26 +02:00
shilangyu c6464f5335 Rename to preferred name 2021-04-29 11:38:28 +02:00
shilangyu 2b15a5c4f8 Update translations 2021-04-27 22:42:52 +02:00
shilangyu 35ea0587b5 Add new profile settings 2021-04-27 22:22:02 +02:00
shilangyu 4451bd7bd6 Adjust name change 2021-04-27 21:59:04 +02:00
shilangyu 9b5f13466b Import settings if first account 2021-04-23 19:32:10 +02:00
shilangyu 948fff79f3 Add deduplication 2021-04-22 21:08:30 +02:00
shilangyu 4519077ae2 Bring back show nsfw to manage_account 2021-04-22 19:34:35 +02:00
shilangyu 329bf46921 Merge branch 'master' into fix/deduplication-infinite-scroll 2021-04-22 19:26:39 +02:00
Marcin Wojnarowski d8dcea096f
Merge branch 'master' into feature/more-settings 2021-04-21 22:57:15 +02:00
shilangyu d7c50aec7b Don't show community dropdown on edit 2021-04-21 21:30:21 +02:00
shilangyu 1e06533319 Add snackbar 2021-04-21 21:11:48 +02:00
shilangyu 7fcda98da0 Create editor widget 2021-04-21 21:05:15 +02:00
shilangyu dcc4eba8ad Better post edit 2021-04-21 18:59:46 +02:00
shilangyu 666b2cb8dd CR suggestions 2021-04-21 16:12:43 +02:00
shilangyu 0d440062dd Add link to profile 2021-04-19 16:57:43 +02:00
shilangyu d1dcdda099 Remove lemmy-ui specific options 2021-04-18 16:48:38 +02:00
shilangyu bb0e1baa0b Move show avatar/scores to appearance 2021-04-18 16:38:30 +02:00
shilangyu c19496e2cf Restructure settings 2021-04-18 16:38:30 +02:00
shilangyu 2c91d3aa5f Add editing post 2021-04-17 23:59:33 +02:00
shilangyu fa7effcb4b Integrate defaultListingType 2021-04-16 21:59:51 +02:00
shilangyu 270702192e Add sort type settings 2021-04-16 21:50:23 +02:00
shilangyu c371c3f4fb Add settings import 2021-04-16 21:19:59 +02:00
shilangyu 01e9dae0cc Implement showAvatars 2021-04-16 20:41:33 +02:00
shilangyu 600d52211e Add settings 2021-04-16 20:32:25 +02:00
Marcin Wojnarowski 4a939441b6
Merge branch 'master' into fix/another-user-id-fix 2021-04-11 22:33:21 +02:00
shilangyu 3011890831 Add autofillgroup 2021-04-11 20:52:11 +02:00
shilangyu de4b6e674d Fix userId (again) 2021-04-11 18:27:22 +02:00
shilangyu 59d93fe697 Improve keyboard experience 2021-04-11 17:19:44 +02:00
shilangyu 9fa198c3bb Add keyboard dismisser 2021-04-11 16:36:29 +02:00
shilangyu 0889246956 Add todo 2021-04-11 11:49:41 +02:00
shilangyu c66b20a460 Nullability fixes 2021-04-11 11:12:42 +02:00
shilangyu bb8e5ee525 Lint fixes 2021-04-11 00:20:47 +02:00
krawieck 83235534f5 HECKIN CHONKER (null safety migration without scripts) 2021-04-09 00:11:44 +02:00
Filip Krawczyk 96065fe3e3
Merge branch 'master' into small-fixes 2021-04-06 18:54:13 +02:00
shilangyu e0cb1a0a83 Add deduplication 2021-04-06 17:52:10 +02:00
shilangyu d2dd388228 Disable commenting on locked posts, fixes #159 2021-04-06 16:06:07 +02:00
shilangyu 681ab555b2 Swap instanceHost/username placement, fixes #167 2021-04-06 15:23:57 +02:00
shilangyu ee4ef8de91 Make account actions more obvious 2021-04-06 14:42:42 +02:00
shilangyu 88e1f8324f Change cleanUpUrl name 2021-04-06 10:56:21 +02:00
Filip Krawczyk bac846fea9
Transition to API v3 (#196) 2021-04-05 20:14:39 +02:00
Filip Krawczyk 460b4f3c8a
Merge pull request #186 from krawieck/fix/everything-home 2021-03-25 10:56:42 +01:00
shilangyu 048e347e43 Remove class acting as a namespace 2021-03-20 15:50:49 +01:00
shilangyu 48dadd5f26 Migrate esys_flutter_share to share 2021-03-18 19:24:29 +01:00
shilangyu 72ebb38ff5 Fix home tab fetching 2021-03-18 17:41:52 +01:00
shilangyu 0bcc364ee5 Scaffold.of -> ScaffoldMessenger.of 2021-03-10 08:34:30 +01:00
krawieck e4ebcb31ec assign proper strings to proper things 2021-03-09 21:38:34 +01:00
shilangyu eff42b6b4f Add deleted by creator 2021-03-09 08:53:26 +01:00
shilangyu 20c34b4477 Localize enums 2021-03-09 08:51:08 +01:00
shilangyu 0adea8f0a9 Add language names 2021-03-04 09:46:08 +01:00
shilangyu b9a60ca599 Integrate more strings 2021-03-03 13:16:05 +01:00
shilangyu 7f3dac1f89 Remove all non-migrated strings 2021-03-03 12:31:36 +01:00
shilangyu ca8cb67f6d Integrate first batch of strings 2021-03-01 14:21:45 +01:00
shilangyu 79ae723bed Fix language picker 2021-02-28 21:53:02 +01:00
shilangyu c1ec5c6a7b Change string name 2021-02-28 21:53:02 +01:00
shilangyu 734a63e7dd Initial strings setup 2021-02-28 21:53:02 +01:00
shilangyu 8e7602ce3d Add token when fetching communities 2021-02-25 21:54:55 +01:00
shilangyu fcf39be00f Fix null check typo 2021-02-25 21:23:54 +01:00
Filip Krawczyk 19b2688316
add inbox page + other stuff (#164) 2021-02-24 20:52:18 +01:00
shilangyu 9984dbffa2 Sort imports 2021-02-21 16:29:12 +01:00
Marcin Wojnarowski 869f674880
Merge branch 'master' into modlog 2021-02-20 17:07:59 +01:00
shilangyu 8b1fab1fd0 Push buttons always to bottom 2021-02-20 17:00:36 +01:00
shilangyu a0258d65e5 Add code review suggestions 2021-02-19 20:06:01 +01:00
wolf4ood 9ac6fc209e fix lint errors 2021-02-19 14:03:19 +01:00
wolf4ood 41da3bd865 Add button to community page for creating a new post. https://github.com/krawieck/lemmur/issues/90 2021-02-18 23:03:12 +01:00