Commit Graph

44 Commits

Author SHA1 Message Date
shilangyu ae33e277a8 Add avatar widget 2021-02-18 09:19:00 +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
Marcin Wojnarowski b1dad4d895
Revise theming (#140) 2021-02-09 15:12:13 +01:00
shilangyu 21774dda52 Go to account management 2021-01-30 17:41:16 +00:00
shilangyu 20ebcd0dfa Add auth to user profile fetching, fixes #118 2021-01-30 17:41:16 +00:00
shilangyu dd15ebb2c0 Fix display names 2021-01-30 17:41:16 +00:00
shilangyu 651e059fbd Add the long awaited article icon 2021-01-30 17:41:16 +00:00
krawieck 41d44537e9 fix lint error 2021-01-26 23:53:40 +01:00
krawieck 347ba7aae5 rename a widget contructor 2021-01-26 22:18:53 +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 f37da51137 Make tokens in AccountsStore private 2021-01-17 16:35:47 +00:00
shilangyu e7745e3e9b Constify the whole codebase 2021-01-03 18:43:39 +00:00
shilangyu 3de35752b2 Enable first part of const lint rules 2021-01-03 17:21:56 +00:00
shilangyu a803e091dc Add new easy-to-fix lint rules 2021-01-03 17:03:59 +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
shilangyu 6604dcb9af apply changes requested from CR 2020-10-02 20:07:13 +02:00
shilangyu f123d8edd5 fix placeholder banner 2020-10-01 15:55:22 +02:00
shilangyu ba3c1d59e1 add edit button on owned accounts 2020-09-30 23:53:20 +02:00
shilangyu 701b6f8de3 render contents of the tabs 2020-09-30 23:43:21 +02:00
shilangyu 4db7ec3fee remove loading checks and add slivers 2020-09-30 21:47:14 +02:00
shilangyu 94d12fccff added lots of dartdoc/comments 2020-09-30 17:05:00 +00:00
krawieck e1ba4e4dd4 replace every `Container()` with `SizedBox.shrink()` 2020-09-29 21:45:18 +02:00
shilangyu dea66fe8bf hotfix: move api_extensions to dedicated folder 2020-09-19 00:40:47 +02:00
shilangyu a08a7c5b93 fix linting issues 2020-09-17 00:24:49 +02:00
shilangyu 0540be3ede activate prefer_final_locals lint rule 2020-09-16 23:22:04 +02:00
krawieck 1e0fcf9c67 Fill errorWidget field on every cached network image, cuz otherwise they would break the app 2020-09-13 16:05:17 +02:00
krawieck 1162fb1cd7 Create universal functions for going to common pages 2020-09-09 17:41:54 +02:00
shilangyu 90b2deb4a0 added from UserView constructor 2020-09-08 21:08:37 +02:00
krawieck 05eb748980 Add todo comment 2020-09-04 11:08:11 +02:00
krawieck 8f9bf91056 Turn bio into IIFE 2020-09-04 11:04:10 +02:00
krawieck e788ed03e5 Increase vertical padding between items 2020-09-03 23:35:13 +02:00
krawieck ebee170b44 Add padding around bio 2020-09-03 23:22:11 +02:00
krawieck d8234a671a Replace icon shadow with black gradient top to bottom 2020-09-03 22:10:22 +02:00
krawieck ee0df56448 make badge color visible on different BGs 2020-09-03 16:18:42 +02:00
shilangyu 596e8f4e53 moved badge to seperate widget 2020-09-01 21:59:00 +02:00
shilangyu 708a680ddc showing modal for choosing default account 2020-09-01 21:36:58 +02:00
shilangyu 5808ab17a3 restructure user profile to work in both contexts:
- profile tab
- some user profile
2020-09-01 11:55:22 +02:00
shilangyu 0824e67b3f better 'no bio' text 2020-08-31 23:05:04 +02:00
shilangyu 4539a5c4ca extracting instance url 2020-08-31 22:49:23 +02:00
shilangyu 3be7d518ea clean up some TODOs 2020-08-31 21:04:17 +02:00
shilangyu a0850836dd added utility functions 2020-08-31 15:43:09 +02:00
shilangyu 8b738bf5e5 moved user profile to a widget 2020-08-31 12:05:45 +02:00