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
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
9ba800a435
Merge branch 'master' into feature/blocking-v2
2021-10-01 23:54:57 +02:00
Marcin Wojnarowski
c7f037de0f
Feature/routing refactor ( #258 )
...
* Use MaterialPageRoute
* Use T.route
2021-09-30 12:55:23 +02:00
Marcin Wojnarowski
8c69964657
Regenerate gen files ( #254 )
2021-09-13 23:37:08 +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
krawieck
892c09c965
make asyncstorelistener better,
...
* add prop to asyncstorelistener: successMessageBuilder
* more menu reworkings
2021-09-11 16:26:10 +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
krawieck
45ea7a0b54
add `.toUtc()`
2021-07-08 13:57:48 +02:00
krawieck
5cb542609e
add cake day extension and implement it
2021-07-08 11:39:32 +02:00
shilangyu
c6464f5335
Rename to preferred name
2021-04-29 11:38:28 +02:00
shilangyu
4451bd7bd6
Adjust name change
2021-04-27 21:59:04 +02:00
shilangyu
d77856f167
Fix formatting
2021-04-11 00:37:17 +02:00
krawieck
83235534f5
HECKIN CHONKER (null safety migration without scripts)
2021-04-09 00:11:44 +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
ryg-git
c5f75c94ad
handle FormatException thrown by Uri.parse
2021-04-01 00:58:46 +05:30
ryg-git
725f9103d6
implemented new comments
2021-04-01 00:46:23 +05:30
ryg-git
0aa4d9c592
in cleanup url instance host is now changed to lowercase letters.
2021-03-29 22:51:30 +05:30
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
0bcc364ee5
Scaffold.of -> ScaffoldMessenger.of
2021-03-10 08:34:30 +01:00
Filip Krawczyk
19b2688316
add inbox page + other stuff ( #164 )
2021-02-24 20:52:18 +01:00
krawieck
3afb5c9d11
remove offset cuz it got fixed in lac
2021-02-13 17:03:40 +01:00
krawieck
39b12fe3bc
change "this" formatting
2021-02-12 23:44:15 +01:00
krawieck
40636246df
Add extension for relative time and fix a bug
...
the bug was that time from server is in UTC format,
and our time is in local format, so it needed
to be shifted back to UTC.
oddly enough .toUtc() method didn't work
2021-02-12 17:53:51 +01:00
Filip Krawczyk
aabc270a3b
Merge branch 'master' into fix-navigation-bar
2021-02-09 21:42:43 +01:00
krawieck
9404e1f71f
add extension for reversing brightness, also fix the whole thing
2021-02-09 21:36:21 +01:00
Filip Krawczyk
430d196997
Media View improvements ( #128 )
2021-02-08 12:15:48 +01:00
Filip Krawczyk
e627694728
comment share fix ( #129 )
2021-02-03 12:12:28 +00:00
shilangyu
92cdfdbc2c
Code review suggestions
2021-01-31 13:38:47 +00:00
shilangyu
dd15ebb2c0
Fix display names
2021-01-30 17:41:16 +00:00
shilangyu
fa1243f9d9
Change way of parsing urls
2021-01-30 17:41:16 +00:00
krawieck
5a449eb0be
rename getter
...
properName -> displayName
2021-01-26 22:28:06 +01:00
krawieck
190ae1b3ae
revise api extensions
...
* change originInstanceHost extensions to
extract from deeper structures
* add extension for getting proper user name
that includes originInstanceHost if needed
2021-01-24 23:06:54 +01:00
krawieck
c2f528750a
transition all api v1 calls to api v2
2021-01-24 20:01:55 +01:00
shilangyu
ca47f44e2c
Typo fix
2021-01-03 17:06:40 +00:00
shilangyu
a803e091dc
Add new easy-to-fix lint rules
2021-01-03 17:03:59 +00:00
shilangyu
e82c1fa576
Add trailing @originInstanceHost to comments/community list
2021-01-02 16:26:29 +00:00
shilangyu
86ad944bbd
fix visual federation bugs
2021-01-02 00:13:13 +00:00
shilangyu
58f964ab66
Fix federation errors and rename all instanceUrl to instanceHost
2020-12-31 13:58:23 +00:00
krawieck
58e7219602
adapt tripple dot icon to platform
...
(android: vertical, iOS: horizontal)
2020-12-04 13:57:37 +01:00
Marcin Wojnarowski
c80cf1c96d
Merge branch 'master' into comment-tree-refactor
2020-10-25 11:43:28 +00:00
shilangyu
454468c0e7
add image upload to post creation
2020-10-24 00:12:42 +02:00
shilangyu
b62ee7317a
turned spaced helper into a extension
2020-10-23 00:38:25 +02:00
shilangyu
021af8497a
removed dep for std solution
2020-10-06 17:02:19 +02:00
krawieck
33ab5324c4
change media view transition to fade
2020-10-06 22:24:03 +02:00
krawieck
21fe2e9bac
mark some stuff as private if it doesn't need to be accessible from outside the file
2020-10-06 17:28:11 +02:00
krawieck
585baf58f9
add docs
2020-10-06 16:22:49 +02:00