Commit Graph

228 Commits (d569754b09b651af40648340448173291c76b587)

Author SHA1 Message Date
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 80ad2ab607
fix: skip removal of notifications if pwa not enabled 2022-12-17 23:54:16 +00:00
Joaquín Sánchez f0c91a3974
feat: pwa with push notifications (#337) 2022-12-17 23:29:16 +00:00
wheat c1d1138742
feat: search (#285) 2022-12-17 22:35:07 +01:00
patak 798f73ece5
feat: GitHub cards (#450) 2022-12-17 22:11:39 +01:00
Daniel Roe 7887629954
fix: don't parse rich content in display name (#449)
Co-authored-by: 三咲智子 <sxzz@sxzz.moe>
2022-12-17 21:01:20 +00:00
Daniel Roe 9395b7031e
feat: render app shell with ssr to improve loading experience (#448) 2022-12-17 17:55:29 +01:00
Daniel Roe b545efeacc
fix: revert removal of parsing rich content in display name
This reverts commit 5be48b102f.
2022-12-17 16:06:45 +00:00
三咲智子 5be48b102f
fix: don't parse rich content in display name
closes #445
2022-12-17 22:30:39 +08:00
Joaquín Sánchez e4b7b8061a
feat(i18n): update plurals support (#433) 2022-12-14 16:56:48 +01:00
Anthony Fu 4eb6834f11 chore: unocss-include for icons 2022-12-13 20:59:34 +01:00
Anthony Fu 0ef44cdf50 refactor: reorganize modules 2022-12-13 15:03:36 +01:00
Anthony Fu d546390f5c fix: reference conflicts 2022-12-13 14:49:22 +01:00
Anthony Fu 2bee673a14 refactor: user-specific storage 2022-12-13 14:22:27 +01:00
Anthony Fu 75f49461de feat: code highlight for tiptap 2022-12-13 14:02:43 +01:00
patak b61afaab9e
fix: preserve mentions when replying (#404) 2022-12-12 23:35:59 +01:00
Jonas Kruckenberg 85f619ea82
feat: add logging setup for tauri desktop app (#397) 2022-12-12 21:16:45 +01:00
Joaquín Sánchez de160c219a
feat: prevent mixing data on account switch (#384) 2022-12-11 23:30:26 +00:00
三咲智子 a36a26d745
feat: add more field icons 2022-12-10 23:53:48 +08:00
三咲智子 413e7b1a00
feat: add discord field icon 2022-12-10 20:43:45 +08:00
QiroNT 462e85dad0
refactor(command): use dialog (#352) 2022-12-09 22:18:21 +01:00
Daniel Roe be68912226
fix: format many voters as human readable number 2022-12-08 11:56:23 +01:00
Daniel Roe 00b835444b
fix: use nitro overlay to skip dev assets in production 2022-12-08 11:50:44 +01:00
Joaquín Sánchez 431a431c1d
feat(ui): add more favicon file formats (#374) 2022-12-08 10:55:54 +01:00
Daniel Roe abbd026c1d
fix: avoid fetching null account id 2022-12-06 23:38:00 +00:00
Daniel Roe 08d629ea78
refactor: configure preview status with runtime config 2022-12-06 21:09:47 +00:00
patak 8537f9e0ae
feat: display status meta over card (#325) 2022-12-06 11:07:17 +00: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
Daniel Roe 09290b112e
fix: decode other entity text as well 2022-12-05 00:30:20 +00:00
Daniel Roe 4146915a33
fix: decode numerically encoded html entities in text 2022-12-05 00:15:30 +00:00
Daniel Roe 1c0f8b0147
perf: replace `parse5` with `ultrahtml` (#336) 2022-12-04 23:10:10 +01:00
Daniel Roe eb022c92e8
feat: make internal app URLs permalinks (#329) 2022-12-04 19:56:33 +00:00
Daniel Roe e75cc9edf2
fix: handle account uris that differ from server url 2022-12-04 13:19:47 +00:00
Daniel Roe 20d8aa7e75
perf: fetch server and user details in parallel 2022-12-04 13:12:16 +00:00
三咲智子 7760d03f9d
fix: get server name from acct 2022-12-04 15:18:11 +08:00
三咲智子 a58e9ce8bd
fix: shiki load basic languages initially 2022-12-03 01:40:02 +08:00
Alex 43224fa9d3
fix: incorrect logic in useStatusActions (#295) 2022-12-03 00:55:52 +08:00
Anthony Fu 9e9f2bde09 refactor: group composables 2022-12-02 16:52:05 +08:00
Anthony Fu a9af7e4a09 feat: short time ago 2022-12-02 16:24:37 +08:00
Anthony Fu 57eef8e77f feat: dialog ui 2022-12-02 15:27:44 +08:00
Daniel Roe 585b9e0229
feat: show and stream new notifications (#282)
Co-authored-by: Anthony Fu <anthonyfu117@hotmail.com>
2022-12-02 10:21:10 +08:00
三咲智子 Kevin Deng 0f06653636
fix: render code block without language (#276) 2022-12-02 10:19:31 +08:00
Chris 18d5fd4804
fix: checkLogin in StatusCard (#270) 2022-12-02 10:18:57 +08:00
Joaquín Sánchez c4cf3fb371
feat(i18n): plurals support (#278) 2022-12-02 10:18:36 +08:00
Alex 0f7de38c24
feat(i18n): use preferred language when users first visit (#263) 2022-12-02 10:17:41 +08:00
三咲智子 335fc9f64b
fix: cleanup command when hot reload 2022-12-01 21:52:40 +08:00
三咲智子 0c069e4809
fix: update date format when switching language 2022-12-01 21:14:58 +08:00
Anthony Fu 12bb0bbb2d feat: refresh context after post 2022-12-01 15:24:35 +08:00
Anthony Fu 61311dbeaa feat: hide actions in zen mode 2022-12-01 14:46:26 +08:00
Daniel Roe 81c5a1c4f0
fix: move config into `nuxt.config` 2022-11-30 21:28:55 +00:00
Matthew Phillips c505543a73
feat: Additional instance configuration (#260) 2022-11-30 22:17:20 +01: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 b150d6d65e fix: shiki don't load all lang 2022-11-30 15:15:26 +08:00
Anthony Fu 2becb254b4 feat: hover card for content @ 2022-11-30 15:08:10 +08:00
Anthony Fu 66393cd838 feat(content): serialize custom emoji 2022-11-30 14:50:51 +08:00
Chris e76aac3b56
fix: statusCard prevent event bubbling (#245) 2022-11-30 07:35:12 +01:00
Anthony Fu 04431c7319 chore: switch to `shiki-es` 2022-11-30 13:45:42 +08:00
Anthony Fu db5a022f3b feat: rework content handling to support inline markdown 2022-11-30 13:27:24 +08:00
Anthony Fu ccf6a17f72 feat: improve editor 2022-11-30 12:50:29 +08:00
Anthony Fu cf7cd1fd6c feat: preview multiple images 2022-11-30 11:27:19 +08:00
Anthony Fu c9731f787d fix: paginator load next 2022-11-30 09:45:42 +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
Anthony Fu 98a647f8ca chore: avoid `useHead` naming conflicts 2022-11-30 06:49:25 +08:00
Anthony Fu 0acc0f7689 feat(editor): select language 2022-11-30 06:47:24 +08:00
Daniel Roe 661e53f639
fix: add `lang` attr to `<html>` 2022-11-29 21:13:43 +00:00
Daniel Roe 6efd3c8b55
feat: implement elk permalinks (#229) 2022-11-29 21:51:52 +01:00
Shinigami92 26f2dec6b6 fix: setting default values for draft 2022-11-29 21:45:20 +01:00
Daniel Roe 5c5143d2c9
fix: prevent horizontal body overflow on firefox 2022-11-29 13:38:01 +00:00
三咲智子 474c102c75
fix: icon in command palette 2022-11-29 20:12:29 +08:00
QiroNT f1cff0738a
chore: use pinia for command registry (#223) 2022-11-29 20:01:05 +08:00
QiroNT 59802f0896
feat: command palette (#200)
Co-authored-by: 三咲智子 Kevin Deng <sxzz@sxzz.moe>
2022-11-29 16:15:05 +08:00
三咲智子 07622e9606
fix: emoji alt text 2022-11-29 16:00:22 +08:00
Daniel Roe a397b170ab
feat: enable mock account for deploy previews (#211) 2022-11-29 14:39:49 +08:00
三咲智子 f1f7462ec0
fix: sign out when only one user 2022-11-29 13:43:06 +08:00
Shinigami 69d009d02a
feat: toggleable feature flags (#209) 2022-11-28 23:57:27 +01:00
Anthony Fu 09e071f6bf fix: reuse existing relationship ref 2022-11-29 04:44:54 +08:00
三咲智子 259e11c097
feat: warn danger actions for dev 2022-11-29 01:46:00 +08:00
Ayaka Rizumu 3aa678898d
fix: update title after navigation (#199) 2022-11-28 21:55:51 +08:00
Daniel Roe 5560fe66cc
feat: stream tags, home, and public timelines (#190) 2022-11-28 12:18:45 +01:00
三咲智子 eafcb5111a
fix: type error 2022-11-28 19:06:00 +08:00
三咲智子 9fca8eee30
feat: open reply dialog on timeline
closes #125
2022-11-28 18:27:38 +08:00
patak 8076e5f069
fix: default reply to visibility (urgent) (#194) 2022-11-28 10:57:42 +01:00
Joaquín Sánchez 3b92b27cc8
feat: custom error page (#178)
Co-authored-by: Daniel Roe <daniel@roe.dev>
2022-11-28 09:01:14 +00:00
三咲智子 b8cadca717
refactor: separate dialog and edit drafts 2022-11-28 15:55:57 +08:00
Ayaka Rizumu 6414f2a4e2
feat: preserving state between route changes (#132) 2022-11-28 01:34:45 +08:00
Daniel Roe 729b36a606
feat: avoid reloading the page when changing accounts (#180) 2022-11-27 16:13:04 +01:00
三咲智子 c4af4a610e
fix: formatted edited time 2022-11-27 16:48:04 +08:00
Anthony Fu 342783eecc chore: fix build 2022-11-27 15:05:17 +08:00
Anthony Fu a3b9bf3c18 chore: install inspect 2022-11-27 14:54:56 +08:00
Anthony Fu 06667ee0af chore: cleanup deps 2022-11-27 14:39:31 +08:00
Anthony Fu e767710f3d chore: cleanup 2022-11-27 14:35:40 +08:00
Anthony Fu b475377f64 feat(editor): show fetching state of name auto complete 2022-11-27 14:34:38 +08:00
Anthony Fu 8dd91002d7 feat: improve code block parsing 2022-11-27 14:16:02 +08:00
Anthony Fu 39e200f639 refactor: use dropdown instead of drawer for user switch 2022-11-27 11:34:55 +08:00
Anthony Fu 4703b6884a feat: improve dialog 2022-11-27 11:13:39 +08:00
Shinigami 94f2f95bcf
fix: auto logout on stale token (#144) 2022-11-26 20:33:36 +01:00
Daniel Roe 40a510f43d
fix: use local masto 2022-11-26 17:56:40 +00:00
patak d4300d8d83 fix: use full account handle, clean up 2022-11-26 17:42:53 +01:00