Commit graph

38 commits

Author SHA1 Message Date
Daniel Roe 60a8673757
fix: use masto.loginTo to update masto api (#474) 2022-12-20 15:56:54 +00:00
patak cd85871d01
feat: account switcher sidebar (#460)
* feat: account switcher sidebar

* fix: defer loading sidebar until masto initialised

* fix: only show user switcher for 2 or more accounts

* chore: use `ofetch` (newer version of `ohymfetch`)

* chore: early alpha warning

* fix: handle missing user in github preview

* refactor: avoid circular auto-import

Co-authored-by: Daniel Roe <daniel@roe.dev>
2022-12-19 16:44:14 +01:00
Daniel Roe 9395b7031e
feat: render app shell with ssr to improve loading experience (#448) 2022-12-17 17:55:29 +01:00
Ayaka Rizumu 61113a242a
fix: user switcher blocking other dialog (#430) 2022-12-15 14:50:11 +01:00
Joaquín Sánchez 110e7ae61f
feat: enhance login and error handling (#423) 2022-12-14 00:12:16 +01:00
Daniel Roe b078e456cc
fix: add explicit height/width for logo to reduce cls 2022-12-06 23:32:27 +00:00
Ayaka Rizumu 7a07d21b76
fix: style overflow due to user content (#355) 2022-12-06 17:37:58 +01:00
Alex e8bdceac68
feat(i18n): improve translations of command palette and others (#341)
Co-authored-by: 三咲智子 Kevin Deng <sxzz@sxzz.moe>
2022-12-05 13:48:23 +08:00
Ayaka Rizumu feb8872f5f
refactor: modal dialog (#277) 2022-12-02 15:02:44 +08:00
Daniel Roe 4ed1816806
feat: resolve status paths with router (#258) 2022-11-30 18:15:18 +01:00
Anthony Fu 9ee51a5831 ui: improve account switcher 2022-11-30 15:30:17 +08:00
Anthony Fu afed995138 ui: improve login dialog 2022-11-30 09:45:52 +08:00
Anthony Fu 07209a7d29 feat: i18n lazy load 2022-11-30 08:22:35 +08:00
Anthony Fu ccffe9daa8 i18n: improve translations 2022-11-30 07:26:07 +08:00
Daniel Roe 59e365591d
fix(a11y): add more aria labels 2022-11-29 21:24:26 +00:00
Daniel Roe 6efd3c8b55
feat: implement elk permalinks (#229) 2022-11-29 21:51:52 +01:00
三咲智子 560f880448
feat(ui): auto focus to sign in input 2022-11-29 20:04:22 +08:00
Alex 09f80f291b
feat(i18n): improve translations (#219)
Co-authored-by: 三咲智子 Kevin Deng <sxzz@sxzz.moe>
Co-authored-by: 沈青川 <46062972+ShenQingchuan@users.noreply.github.com>
2022-11-29 18:55:28 +08:00
三咲智子 30eb95f1bd
feat: memorize language 2022-11-28 15:12:13 +08:00
三咲智子 5e0119aa84
ui: go self profile on user switcher 2022-11-28 15:03:31 +08:00
三咲智子 bb69e6f231
fix: allow empty server for sign in 2022-11-27 17:29:25 +08:00
Anthony Fu 39e200f639 refactor: use dropdown instead of drawer for user switch 2022-11-27 11:34:55 +08:00
patak e45ecf55f2
fix(a11y): solid color for secondary text (#148) 2022-11-27 04:41:18 +08:00
Daniel Roe 19dd7f891d
fix: use form to sign in
Co-authored-by: Lindsay Wardell <three060@gmail.com>
2022-11-26 18:11:57 +00:00
Shinigami 39de2c36a6
feat: allow key enter for sign in (#142) 2022-11-26 19:07:31 +01:00
patak d4300d8d83 fix: use full account handle, clean up 2022-11-26 17:42:53 +01:00
Chris 6d2ca0a1b1
chore(login): update some classes (#130) 2022-11-26 14:42:13 +00:00
三咲智子 696ddb2bad
feat: add sign in for mobile 2022-11-26 11:53:27 +08:00
Anthony Fu 2ed22678ed feat: use full id in url 2022-11-26 01:50:06 +08:00
三咲智子 2ab3d5dbe7
refactor: improve UI & types 2022-11-24 23:48:58 +08:00
patak f596973603 refactor: getAccountHandle, getAccountPath, getStatusPath 2022-11-23 23:40:35 +01:00
三咲智子 de59800c2b
refactor: improve user switcher UI 2022-11-24 01:16:36 +08:00
三咲智子 889b4b8a00
refactor: improve UI 2022-11-23 22:39:52 +08:00
三咲智子 ca0672390c
refactor: improve sign in server 2022-11-23 21:58:56 +08:00
Anthony Fu eea9c7c509 chore: fix signin button 2022-11-23 21:15:33 +08:00
三咲智子 Kevin Deng 0befc5169b
feat: auto remove https prefix (#31) 2022-11-23 10:06:32 +01:00
三咲智子 Kevin Deng cd19d75418
fix: sign in button (#30) 2022-11-23 09:58:07 +01:00
Anthony Fu ed5b8091d3 feat: rename accounts to user 2022-11-23 12:25:48 +08:00