Commit graph

498 commits

Author SHA1 Message Date
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
patak bced99e14b fix: getShortHandle 2022-11-26 17:37:15 +01:00
Daniel Roe 39b005899e
refactor: inject masto instance via nuxt app (#134) 2022-11-26 16:42:58 +01:00
Daniel Roe e51ca06f97
fix: use rich (emoji) display name only with <ContentRich> 2022-11-26 15:06:30 +00:00
三咲智子 b656c6fda2
refactor(account): improve joined time format 2022-11-26 16:34:31 +08:00
三咲智子 Kevin Deng 1194d56d09
feat: always show account server (#119) 2022-11-26 09:33:32 +01:00
wheat addbe1b567
feat: query for tiptap mention autocomplete (#120)
Co-authored-by: 三咲智子 Kevin Deng <sxzz@sxzz.moe>
2022-11-26 14:55:54 +08:00
三咲智子 36fc189064
feat(status): edit history 2022-11-26 13:07:01 +08:00
三咲智子 d146b5b730
feat(status): add edit indicator for detail 2022-11-26 11:36:18 +08:00
三咲智子 0ada9e0448
fix: render lang of code block 2022-11-26 11:15:04 +08:00
三咲智子 da64d008a1
feat: support more syntaxes in editor 2022-11-26 10:02:22 +08:00
patak 4bb2910761
feat: status route using full account (#115) 2022-11-25 23:49:56 +00:00
Daniel Roe 94cd7c72f6
feat: human readable numbers for counts 2022-11-25 21:57:40 +00:00
Anthony Fu 64e052d317 Revert "feat: support more markdown syntaxes"
This reverts commit c9ae7cf942.
2022-11-26 05:21:44 +08:00
Daniel Roe 7d28f6ddbc
fix: handle html within markdown 2022-11-25 21:09:03 +00:00
三咲智子 c9ae7cf942
feat: support more markdown syntaxes
closes #102, partial #40
2022-11-26 04:19:48 +08:00
三咲智子 e26eccd7fe
feat: support lang in code block 2022-11-26 03:21:53 +08:00
三咲智子 d9d2a946a4
fix: convert code block 2022-11-26 03:16:47 +08:00
Lucie 9df9c06f64
feat: image previews (#104)
Co-authored-by: lihbr <lihbr@users.noreply.github.com>
2022-11-26 02:13:44 +08:00
三咲智子 a812ea098f
fix(publish): empty content 2022-11-26 02:10:22 +08:00
Anthony Fu 2ed22678ed feat: use full id in url 2022-11-26 01:50:06 +08:00
三咲智子 eec37470f9
fix: jump to home after user login 2022-11-26 01:02:41 +08:00
Anthony Fu d177753775 fix: publish content 2022-11-26 00:17:19 +08:00
Daniel Roe 4f133aabc0
fix: store info for all servers 2022-11-25 14:21:07 +00:00
Daniel Roe aac689a2f5
refactor: fix typo 2022-11-25 14:07:31 +00:00
Daniel Roe f7dff673ad
feat: respect current server's char limit 2022-11-25 14:01:37 +00:00
Anthony Fu c2810fd5eb
feat: basic integration with TipTap (#87) 2022-11-25 21:21:02 +08:00
三咲智子 dfdf95da61
feat(account): more actions for user 2022-11-25 19:39:26 +08:00
Daniel Roe 3f382bdad0
fix: respect source language of post and move translation UI into menu 2022-11-25 11:24:19 +00:00
三咲智子 569ae00284
fix: cache account 2022-11-25 18:45:39 +08:00
三咲智子 6c350faf7c
feat: show full created time in tooltip 2022-11-25 16:57:49 +08:00
三咲智子 c475ed3857
fix: don't load all languages for code 2022-11-25 15:55:56 +08:00
三咲智子 36ea7f6b4e
fix: render code block 2022-11-25 15:25:44 +08:00
三咲智子 6ca34cab85
fix: custom code render 2022-11-25 15:12:13 +08:00
Daniel Roe 8586d58b84
feat: allow translation of statuses (#76) 2022-11-25 00:14:16 +00:00
三咲智子 2ab3d5dbe7
refactor: improve UI & types 2022-11-24 23:48:58 +08:00
三咲智子 53cf994ffd
feat(status): mention user 2022-11-24 22:32:37 +08:00
patak a5ef2bdc67 feat: avatar on the side in StatusCard 2022-11-24 15:20:50 +01:00
三咲智子 823f4c960a
feat(status): edit & redraft 2022-11-24 19:35:26 +08:00
三咲智子 ad3d5efb11
feat(publish): support visibility 2022-11-24 17:22:29 +08:00
Anthony Fu dbf4362d8b fix: improve loading 2022-11-24 16:57:28 +08:00
Anthony Fu 83c0fafbec feat: publish via dialog 2022-11-24 16:04:53 +08:00
Anthony Fu cd2a06e969 ui: move publish widget 2022-11-24 15:53:27 +08:00
Anthony Fu 0dc515647f feat: rework status cache 2022-11-24 14:54:54 +08:00
Anthony Fu e81273e944 chore: case 2022-11-24 14:04:17 +08:00
Anthony Fu 9eac1da4c2 fix: fetch account by name 2022-11-24 13:49:50 +08:00
Anthony Fu a94781df83 feat: introduce lru cache for requests 2022-11-24 13:47:18 +08:00
Anthony Fu b947931d3b fix(shiki): do not load languages initially 2022-11-24 12:58:25 +08:00
Anthony Fu e17b918c00 feat: zenmode 2022-11-24 12:21:30 +08:00
Anthony Fu 0a8841f4f4 feat: support codeblock 2022-11-24 11:42:03 +08:00
Anthony Fu 4885b165df feat: add introduce 2022-11-24 10:38:14 +08:00
patak 2ece5f5619 fix: subdomains should be ignored for user handles 2022-11-23 23:41:19 +01:00
patak f596973603 refactor: getAccountHandle, getAccountPath, getStatusPath 2022-11-23 23:40:35 +01:00
三咲智子 5605d518dc
refactor: improve account info UI 2022-11-23 21:59:29 +08:00
Anthony Fu 129e12c217 chore: rename to Elk 2022-11-23 21:06:27 +08:00
Anthony Fu ed5b8091d3 feat: rename accounts to user 2022-11-23 12:25:48 +08:00
Anthony Fu 8dc1fb6493 feat: sign out 2022-11-23 12:20:59 +08:00
Anthony Fu 241b28241c feat: basic mutli-accounts support 2022-11-23 11:48:01 +08:00
Anthony Fu a4d235b6fe refactor: theming 2022-11-23 10:16:31 +08:00
Anthony Fu 6d66bbbc5d feat: support custom emojis from other servers 2022-11-23 07:42:20 +08:00
Anthony Fu a6578155ae feat: disable SSR 2022-11-23 07:08:36 +08:00
patak ac156034d1
feat: global relationships batching (#24) 2022-11-22 14:03:36 +01:00
patak 9aa7243d43
feat: following (#22) 2022-11-21 23:59:51 +01:00
patak f0aefae6a4 chore: correct filename typo 2022-11-21 16:09:18 +01:00
patak f7f3e9c7e1
fix: handle undefined displayName (#21) 2022-11-21 16:07:55 +01:00
Anthony Fu 757a93c2a2 feat: support blurhash 2022-11-21 21:21:53 +08:00
Anthony Fu cefecb16a0 feat: support custom emoji 2022-11-21 15:14:07 +08:00
Anthony Fu 193d1cf5c5 feat: cache for publish widget 2022-11-21 14:55:31 +08:00
Anthony Fu 70daeeaed5 feat: tags page 2022-11-21 05:25:26 +08:00
Anthony Fu bc3197ba22 feat: basic parsing of post content 2022-11-21 05:21:53 +08:00
Anthony Fu 4fc6e405e0 refactor: update composable names 2022-11-18 05:32:03 +08:00
Anthony Fu 0312547629 refactor: paginator 2022-11-17 15:35:42 +08:00
patak e61f909f31
feat: common paginator component (#9) 2022-11-17 00:11:08 +08:00
Anthony Fu 94bde9487a feat: nav side 2022-11-16 01:14:10 +08:00
patak a6a189ba59
feat: following and followers routes (#4) 2022-11-15 23:56:11 +08:00
Anthony Fu 7ab17001f0 feat: basic oauth 2022-11-15 23:48:23 +08:00
Anthony Fu 90c45b435f feat: use masto client 2022-11-14 10:20:07 +08:00
Anthony Fu 4adab40932 feat: styling 2022-11-14 00:05:32 +08:00
Anthony Fu 8424b7b98b chore: init 2022-11-13 13:34:43 +08:00