Commit graph

624 commits

Author SHA1 Message Date
patak 1e66dba35a fix: github card for user/org 2022-12-21 15:44:59 +01:00
Ayaka Rizumu deb5cc2428
fix: ModalDialog component has focus error in :use-v-if="false" mode. (#494) 2022-12-21 15:41:27 +01:00
Sebastian Di Luzio ed7989cc2c
fix(#480): keep content warning when editing a status (#492) 2022-12-21 15:21:45 +01:00
patak f542011b55 fix: responsive sign in after icon-only sidebar 2022-12-21 15:10:50 +01:00
patak 0320d5ab44 fix: missing text on mobile nav 2022-12-21 13:30:51 +01:00
Alex dfd8b8968a
feat: improve status detail page title (#485) 2022-12-21 08:46:36 +01:00
patak 44cf8aa89c
feat: responsive sidebar, aim for a 600px timeline always (#482) 2022-12-21 00:02:01 +00:00
patak 2e97780899 feat: author on GitHub issues and PR cards 2022-12-20 20:42:28 +01:00
Daniel Roe 60a8673757
fix: use masto.loginTo to update masto api (#474) 2022-12-20 15:56:54 +00:00
patak 687acc185e feat: links to Mastodon and Discord in app 2022-12-20 12:08:03 +01:00
patak b369f80703 chore: update app info 2022-12-20 11:58:50 +01:00
Jason Etcovitch b918ad50cf
fix: image modal unable to select image (#459)
Co-authored-by: Anthony Fu <anthonyfu117@hotmail.com>
2022-12-19 22:34:58 +01:00
Anthony Fu ae45b8d822 ui: interactions for help preview 2022-12-19 22:30:27 +01:00
Anthony Fu aa9b5d2cb1 ui: pwa prompt 2022-12-19 22:14:54 +01:00
Anthony Fu 7c1baf0f0a ui: improve bot indicator 2022-12-19 21:40:46 +01:00
Anthony Fu 72a3482e4e ui: update icons 2022-12-19 21:31:12 +01:00
Ayo Ayco e880cd7b63
feat: card type icons (#462) 2022-12-19 15:52:32 +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
patak 15b59ae9b9 feat: muting feedback on follow button 2022-12-19 15:29:12 +01:00
patak e72d45a208 feat: blocking feedback on follow button 2022-12-19 15:01:45 +01:00
Daniel Roe c7e6e10cb5
fix: handle missing user in github preview 2022-12-19 12:29:28 +00:00
patak c830b8087a feat: link to account from single follow notification 2022-12-18 14:41:32 +01:00
patak 139a2ea3b6 fix: responsive github cards, don't constrain height 2022-12-18 14:22:39 +01:00
patak a210292397 fix: github cards for mobile 2022-12-18 11:26:55 +01:00
Daniel Roe d7236910a5
fix: disable enabling notifications if user needs to re-login 2022-12-17 23:55:00 +00:00
Joaquín Sánchez f0c91a3974
feat: pwa with push notifications (#337) 2022-12-17 23:29:16 +00:00
wheat a18e5e2332
feat: add component to enable scroll-into view (#451) 2022-12-17 23:15:41 +01:00
wheat c1d1138742
feat: search (#285) 2022-12-17 22:35:07 +01:00
Daniel Roe 5ff0900108
fix: typo 2022-12-17 21:28:47 +00: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
三咲智子 6392b82a93
fix: update when toggle avatar on avatar 2022-12-17 21:55:59 +08:00
Joaquín Sánchez 134131902c
feat(a11y): focus trap for modal dialogs (#446) 2022-12-16 20:55:31 +01:00
Ayo Ayco 8aa2b3b084
feat: show provider name on small screen preview cards (#442) 2022-12-16 12:02:34 +01:00
Ayo Ayco 06952b0eee
style: add space between media attachment and preview card (#441) 2022-12-16 09:22:06 +01:00
Joaquín Sánchez 515b660446
feat: add gap-x in main content actions (#440) 2022-12-15 20:59:47 +01:00
Ayaka Rizumu 61113a242a
fix: user switcher blocking other dialog (#430) 2022-12-15 14:50:11 +01:00
patak 420cc23ede fix: type error 2022-12-15 00:40:39 +01:00
patak 2f8085fa86 feat: basic alt text edit 2022-12-15 00:30:54 +01:00
Joaquín Sánchez 1cd86996ab
fix: provide callback for focus-editor injection (#435) 2022-12-14 18:20:03 +01:00
Joaquín Sánchez 39ed6bffec
feat: focus editor on reply click (#434) 2022-12-14 17:45:46 +01:00
Joaquín Sánchez e4b7b8061a
feat(i18n): update plurals support (#433) 2022-12-14 16:56:48 +01:00
Ayaka Rizumu 48f9e71d83
fix: modal dialog too wide (#429) 2022-12-14 14:22:35 +01:00
Ayaka Rizumu 57017a23f4
feat(command): support for emacs shortcuts (#416) 2022-12-14 19:09:18 +08:00
Anthony Fu 1fd1af214d ui: allow wider media 2022-12-14 10:53:22 +01:00
Michel EDIGHOFFER c53e986956
fix(gallery): redo image sizing + adding description (#407) 2022-12-14 10:10:42 +01:00
Alex 9ac4d68fe8
feat(i18n): add missing zh-CN translations (#425) 2022-12-14 06:38:14 +01:00
patak 441c16913d chore: style for grouped follow notifications 2022-12-14 00:30:34 +01:00
Joaquín Sánchez 110e7ae61f
feat: enhance login and error handling (#423) 2022-12-14 00:12:16 +01:00
patak 1f5b0cf5ef feat: reduce amount of big cards for follow notifications 2022-12-14 00:06:53 +01:00
Joaquín Sánchez 089890677f
feat: add account tab pages (#422) 2022-12-13 22:01:25 +01:00
Anthony Fu 8f8e65e9db ui: hide zeros in status actions 2022-12-13 21:01:04 +01:00
Anthony Fu 343e461e2c
fix: status media display (#421) 2022-12-13 20:26:53 +01:00
Ayo Ayco 043bfea299
feat: implement a small preview card when there are media attachments (#390)
Co-authored-by: Anthony Fu <anthonyfu117@hotmail.com>
2022-12-13 19:39:51 +01:00
Ayaka Rizumu 7dce46e651
fix: don't stretch smaller preview card images (#413) 2022-12-13 19:30:40 +01:00
Ayaka Rizumu 9db04467d9
fix(command): alternative to cmd+/ (#414) 2022-12-13 19:29:42 +01:00
patak 119b3039c0 refactor: remove CommonMetaWrapper 2022-12-13 16:03:58 +01:00
patak 965b96c630
fix: status card styles (#415) 2022-12-13 15:56:00 +01:00
Anthony Fu 0ef44cdf50 refactor: reorganize modules 2022-12-13 15:03:36 +01:00
Anthony Fu 75f49461de feat: code highlight for tiptap 2022-12-13 14:02:43 +01:00
patak 854d861766
feat: alt label dropdown for attachments (#409) 2022-12-13 12:18:21 +01:00
patak 77fb294c4d feat: DM improvements 2022-12-13 00:10:04 +01:00
patak b61afaab9e
fix: preserve mentions when replying (#404) 2022-12-12 23:35:59 +01:00
patak 96fbeb235e style: use bg-base for transparent avatars 2022-12-12 21:25:42 +01:00
patak 07d709c494 fix: extra padding when hidding avatar on avatar 2022-12-12 21:23:18 +01:00
Ayo Ayco d856abef9d
fix: prevent spoiler text shown when undefined (#402) 2022-12-12 18:20:41 +00:00
patak 33b0f295f6
feat: notification improvements (#396) 2022-12-11 22:40:40 +00:00
Shinigami a26cedbdd4
feat: add bot label (#392) 2022-12-11 16:43:23 +01:00
Ayaka Rizumu 183b1659d1
feat: more to explore (#360) 2022-12-11 11:52:36 +01:00
三咲智子 413e7b1a00
feat: add discord field icon 2022-12-10 20:43:45 +08:00
Ayo Ayco ebe7b85cf9
fix: priority spoiler vs filter phrase (#388) 2022-12-10 11:50:55 +01:00
patak c4ae1d1d6f feat: admin.sign_up notifiaction 2022-12-09 22:30:16 +01:00
Ayo Ayco deea8c0aab
style: spoiler and filter UI improvements (#378) 2022-12-09 22:19:26 +01:00
QiroNT 462e85dad0
refactor(command): use dialog (#352) 2022-12-09 22:18:21 +01:00
Ayaka Rizumu f249087a95
fix: improve StatusPreviewCard (#383) 2022-12-09 22:13:59 +01:00
Ayo Ayco b0dae4fc9e
fix: StatusSpoiler filter value type (#380) 2022-12-08 18:19:29 +01:00
Daniel Roe ae8f4dfa22
fix: remove <StatusLink> component 2022-12-08 16:20:59 +01:00
Ayo Ayco 468592f59a
fix(ui): display hostname instead of full url (#376) 2022-12-08 15:57:52 +01:00
Joaquín Sánchez 49a28144fd
feat: update logo logic (#377) 2022-12-08 14:30:56 +01:00
Daniel Roe be68912226
fix: format many voters as human readable number 2022-12-08 11:56:23 +01:00
Joaquín Sánchez 2fed89be9d
feat: poll plural support (#375) 2022-12-08 11:54:34 +01:00
Michel EDIGHOFFER 8132efbc4d
feat(ui): on expireAt, add time tag + tooltip (#362) 2022-12-08 11:07:54 +01:00
Ayo Ayco ff3ebc2871
feat: handle square preview cards (#363) 2022-12-07 20:13:33 +01:00
Ayo Ayco 10167b54d8
feat: preview card for status links (#339) 2022-12-07 16:55:45 +01:00
Daniel Roe 8e47deb0e1
fix: hide details when no status or no repliers (#359) 2022-12-07 14:31:29 +01:00
Daniel Roe f0fb29b078
fix: fix typo in class name 2022-12-07 00:07:54 +00:00
patak 36a35b5fcc
feat: improve conversations (#358) 2022-12-06 23:51:29 +00:00
Daniel Roe abbd026c1d
fix: avoid fetching null account id 2022-12-06 23:38:00 +00:00
Daniel Roe b078e456cc
fix: add explicit height/width for logo to reduce cls 2022-12-06 23:32:27 +00:00
Daniel Roe 2c9a2b081d
chore: update handle for @sxzz 2022-12-06 23:15:38 +00:00
Daniel Roe b6ca0a5741
perf: use transform on team images 2022-12-06 23:07:31 +00:00
Daniel Roe b880074447
chore: update mastodon handles 2022-12-06 22:54:28 +00:00
Daniel Roe 1e0f733c50
chore: enable type checking in more places 2022-12-06 22:17:58 +00:00
Daniel Roe 08d629ea78
refactor: configure preview status with runtime config 2022-12-06 21:09:47 +00:00
Ayaka Rizumu 7a07d21b76
fix: style overflow due to user content (#355) 2022-12-06 17:37:58 +01:00
Guillaume Chau 3b6b83ae7a
fix: don't include srcset when showing blur placeholder (#347) 2022-12-06 15:10:53 +00:00
patak 8537f9e0ae
feat: display status meta over card (#325) 2022-12-06 11:07:17 +00:00
Ayaka Rizumu 70db3ea759
refactor: improve code structure (#343) 2022-12-05 21:20:23 +08:00
三咲智子 5b3de2c586
feat: set lang attribute for status body
relate #332
2022-12-05 14:20:56 +08: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 408aff20ee
ci: test project on pull requests (#338) 2022-12-04 23:28:04 +00:00
Daniel Roe 1c0f8b0147
perf: replace parse5 with ultrahtml (#336) 2022-12-04 23:10:10 +01:00
Daniel Roe 04615e443e
fix: update more public and explore links 2022-12-04 20:05:11 +00:00
Daniel Roe bd78834a44
fix: update prop types for spoiler 2022-12-04 20:00:02 +00:00
Daniel Roe eb022c92e8
feat: make internal app URLs permalinks (#329) 2022-12-04 19:56:33 +00:00
Ayo Ayco 4f8f2ed1f1
feat: content filters (#279) 2022-12-04 20:28:26 +01:00
三咲智子 1ba5cc4072
refactor: use escaped middot 2022-12-05 02:59:33 +08:00
三咲智子 f2a1cdaefe
feat(i18n): translate vote result 2022-12-05 02:58:21 +08:00
三咲智子 cd5881b210
feat(i18n): translate vote 2022-12-05 02:49:41 +08:00
三咲智子 Kevin Deng a96d564eaa
feat: show commit id (#331) 2022-12-05 02:18:39 +08:00
Alvaro Saburido 4d23fb1467
feat(poll): changed ui of poll results (#328) 2022-12-04 19:04:40 +01:00
三咲智子 2672af671c
feat(account): display moved account on profile
closes #330
2022-12-05 01:28:22 +08:00
三咲智子 1476438d73
fix: following badge
closes #321
2022-12-05 00:41:37 +08:00
三咲智子 39676dab5f
fix(ui): truncate header text
fix #311
2022-12-04 22:26:50 +08:00
Ayaka Rizumu cbd5867275
feat: add nav more menu on mobile (#322)
Co-authored-by: 三咲智子 Kevin Deng <sxzz@sxzz.moe>
2022-12-04 22:17:02 +08:00
Daniel Roe 8f32b1ce22
fix: placeholder for broken image urls and avoid overlowing emoji alt text (#327) 2022-12-04 15:14:12 +01:00
Daniel Roe 8537c8ee54
feat: add remote url to image srcset in case original is down 2022-12-04 12:48:07 +00:00
Ayaka Rizumu 218aefeec1
fix: wrong scrolling behavior in dialog (#313) 2022-12-04 14:27:08 +08:00
Chris f15bddff67
fix: hidden unnecessary dom render (#310)
Co-authored-by: 三咲智子 Kevin Deng <sxzz@sxzz.moe>
2022-12-03 13:28:32 +08:00
Ayaka Rizumu c197d7dfca
fix: too long username cause scroll horizontally (#299)
regression #274
2022-12-03 13:22:45 +08:00
patak 3d395a02ec
feat: avoid follow button flash on hover card (#308) 2022-12-03 13:21:53 +08:00
Chris 73f1f1d151
fix(mobile): fix long text wapped (#311) 2022-12-03 13:19:59 +08:00
Ayaka Rizumu 3952dd6cd6
fix: can't click dropdown options in visibility selector (#312) 2022-12-03 13:18:24 +08:00
patak 399712c0c7 feat: improve follow button while loading 2022-12-02 22:58:30 +01:00
patak 6ffe3fe02d style: different borders for Following and Mutuals 2022-12-02 22:38:27 +01:00
Alex 8f11dcf1f3
feat(i18n): improve translations (#304) 2022-12-03 02:18:16 +08:00
patak a17703d308
chore: wording 2022-12-02 18:09:48 +01:00
Andre_601 1480a5bdcf
refactor: improve help preview text (#302) 2022-12-03 01:07:54 +08:00
Alex 2a84bbb3d6
fix(ui): use correct url for timeline image srcset (#296) 2022-12-02 16:48:44 +00:00
Joaquín Sánchez d17994338d
feat(i18n): refactor i18n module configuration (#292) 2022-12-02 20:54:09 +08:00
Daniel Roe 8fc6148a3b
fix: copy link from route object
resolves #289
2022-12-02 09:59:09 +00:00
Anthony Fu a9af7e4a09 feat: short time ago 2022-12-02 16:24:37 +08:00
Anthony Fu 3a86c330fa docs: update 2022-12-02 16:06:52 +08:00
Ayaka Rizumu 153e436470
fix: modal dialog style (#286) 2022-12-02 16:01:56 +08:00
Anthony Fu 57eef8e77f feat: dialog ui 2022-12-02 15:27:44 +08:00
Ayaka Rizumu feb8872f5f
refactor: modal dialog (#277) 2022-12-02 15:02: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
Ayaka Rizumu 62053d00dc
fix: too long username cause scroll horizontally (#274) 2022-12-01 22:55:49 +08:00
三咲智子 285776d453
ui: make ellipsis dot gray 2022-12-01 22:13:17 +08:00
三咲智子 3485208929
i18n: improve 2022-12-01 21:59:28 +08:00
三咲智子 17a15e2917
fix: navigation commands name 2022-12-01 21:45:13 +08:00
三咲智子 447ed6d941
refactor: simplify 2022-12-01 21:22:31 +08:00
Cesar Gomez 2b46bd5a15
feat(i18n): adding spanish to language selector (#266) 2022-12-01 08:41:59 +01:00
patak a28f14cb70
feat: direct messages bubbles (#262) 2022-12-01 08:32:07 +01:00
Anthony Fu 12bb0bbb2d feat: refresh context after post 2022-12-01 15:24:35 +08:00
Anthony Fu f7a3d9c401 fix: don't hind navbar in Zen 2022-12-01 14:51:21 +08:00
Anthony Fu 61311dbeaa feat: hide actions in zen mode 2022-12-01 14:46:26 +08:00
Anthony Fu 67ebc74321 fix: guess attachment type 2022-12-01 11:15:37 +08:00
Alex 96775ebcf3
feat: add offline check (#247)
Co-authored-by: Anthony Fu <anthonyfu117@hotmail.com>
2022-12-01 11:08:09 +08:00
Daniel Roe 93d78d9c8b
fix(ui): truncate account info (#261) 2022-11-30 22:38:18 +01:00
Daniel Roe 2bfa9dc476
fix(ui): display images/videos smaller in timeline (#257) 2022-11-30 19:22:15 +01:00
Daniel Roe e76127651a
fix(ui): use small images + srcsets (#254) 2022-11-30 18:19:35 +01:00
Daniel Roe 4ed1816806
feat: resolve status paths with router (#258) 2022-11-30 18:15:18 +01:00
Daniel Roe 71fbe6acf9
fix: allow undefined increased prop 2022-11-30 13:24:03 +00:00
Alex 47721801aa
feat(a11y): improve remove attachement accessiblity (#249) 2022-11-30 21:01:03 +08:00
Alex e0a1ceea43
feat(a11y): improve dropdown item and action button accessiblity (#251) 2022-11-30 21:00:54 +08:00
Alvaro Saburido e11bf53f86
feat(a11y): improve contrast on poll results accessibility (#252) 2022-11-30 12:24:20 +01:00
Daniel Roe 1039c225e9
fix(ui): close modals when navigating (#253) 2022-11-30 11:27:50 +01:00
Daniel Roe fc38c339a6
fix: don't pass on class name to slot 2022-11-30 09:49:35 +00:00
Chris b6502b7a72
chore: imporove unocss class (#246) 2022-11-30 08:30:35 +01:00
Anthony Fu 9ee51a5831 ui: improve account switcher 2022-11-30 15:30:17 +08:00
Anthony Fu 2becb254b4 feat: hover card for content @ 2022-11-30 15:08:10 +08:00
Chris e76aac3b56
fix: statusCard prevent event bubbling (#245) 2022-11-30 07:35:12 +01:00
Alex 4a96d2b45a
feat: add number animate when posts's status has changed (#244) 2022-11-30 07:21:11 +01: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
webfansplz 568a333d7c
chore: ux for toggle tabs (#242) 2022-11-30 11:01:36 +08:00
Anthony Fu 9c83e8bbb6 i18n: improve 2022-11-30 10:16:15 +08:00
Anthony Fu ba93e6d235 ui: redesign spoiler 2022-11-30 10:07:13 +08:00
Anthony Fu afed995138 ui: improve login dialog 2022-11-30 09:45:52 +08:00
Anthony Fu a6406abc52 feat: grouped follow notification 2022-11-30 08:47:54 +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 0acc0f7689 feat(editor): select language 2022-11-30 06:47:24 +08:00
Anthony Fu cf63bce459 refactor: i18n 2022-11-30 05:50:13 +08:00
Daniel Roe 59e365591d
fix(a11y): add more aria labels 2022-11-29 21:24:26 +00:00
Daniel Roe 9ad79d5f37
fix: add missing alt text 2022-11-29 21:15:14 +00:00
Daniel Roe 608aad56dd
fix: image alt tags 2022-11-29 21:13:21 +00:00
Daniel Roe 6efd3c8b55
feat: implement elk permalinks (#229) 2022-11-29 21:51:52 +01:00
Shinigami e11ed6250d
feat: closable image preview (#239) 2022-11-29 21:37:45 +01:00
Daniel Roe 9af2956b1e
feat: polls (#210) 2022-11-29 21:29:02 +01:00
Shinigami 0e7076b991
feat: scroll to top (#237) 2022-11-29 21:15:53 +01:00
patak cf225e2005
feat: improve follow buttons (#238) 2022-11-29 21:04:23 +01:00
三咲智子 994bf98c82
refactor: unify prefix of icon name 2022-11-29 20:06:08 +08:00
三咲智子 560f880448
feat(ui): auto focus to sign in input 2022-11-29 20:04:22 +08:00
三咲智子 ab07165475
fix(publish): expand state 2022-11-29 19:57:05 +08:00
Alex 653536d4dd
fix(i18n): refer error (#226) 2022-11-29 19:26:24 +08:00
Daniel Roe 40bc9cd03b
fix: copy original link (#224) 2022-11-29 12:18:11 +01: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
Alex 8df22b8a3f
fix(i18n): fix follower count i18n error (#225) 2022-11-29 10:54:25 +00:00
QiroNT 59802f0896
feat: command palette (#200)
Co-authored-by: 三咲智子 Kevin Deng <sxzz@sxzz.moe>
2022-11-29 16:15:05 +08:00
Anthony Fu ea73107c23 i18n: doing more 2022-11-29 15:18:28 +08:00
Anthony Fu 793ae3cb4e feat: more i18n and sort keys 2022-11-29 14:57:32 +08:00
Chris 0caf7339ef
fix(ui/i18n): translate nav footer (#213)
Co-authored-by: 三咲智子 Kevin Deng <sxzz@sxzz.moe>
2022-11-29 14:31:12 +08:00