Commit Graph

266 Commits

Author SHA1 Message Date
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
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
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 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
Ayo Ayco ebe7b85cf9
fix: priority spoiler vs filter phrase (#388) 2022-12-10 11:50:55 +01:00
Ayo Ayco deea8c0aab
style: spoiler and filter UI improvements (#378) 2022-12-09 22:19:26 +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
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
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
Ayaka Rizumu 7a07d21b76
fix: style overflow due to user content (#355) 2022-12-06 17:37:58 +01:00
patak 8537f9e0ae
feat: display status meta over card (#325) 2022-12-06 11:07:17 +00:00
三咲智子 5b3de2c586
feat: set lang attribute for status body
relate #332
2022-12-05 14:20:56 +08:00
Daniel Roe 1c0f8b0147
perf: replace `parse5` with `ultrahtml` (#336) 2022-12-04 23:10:10 +01: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
Alvaro Saburido 4d23fb1467
feat(poll): changed ui of poll results (#328) 2022-12-04 19:04:40 +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
Chris f15bddff67
fix: hidden unnecessary dom render (#310)
Co-authored-by: 三咲智子 Kevin Deng <sxzz@sxzz.moe>
2022-12-03 13:28:32 +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 57eef8e77f feat: dialog ui 2022-12-02 15:27:44 +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
三咲智子 3485208929
i18n: improve 2022-12-01 21:59:28 +08:00
patak a28f14cb70
feat: direct messages bubbles (#262) 2022-12-01 08:32:07 +01: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
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
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
Chris b6502b7a72
chore: imporove unocss class (#246) 2022-11-30 08:30:35 +01: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 cf7cd1fd6c feat: preview multiple images 2022-11-30 11:27:19 +08:00
Anthony Fu ba93e6d235 ui: redesign spoiler 2022-11-30 10:07:13 +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
Daniel Roe 9af2956b1e
feat: polls (#210) 2022-11-29 21:29:02 +01:00
Daniel Roe 40bc9cd03b
fix: copy original link (#224) 2022-11-29 12:18:11 +01:00
QiroNT 59802f0896
feat: command palette (#200)
Co-authored-by: 三咲智子 Kevin Deng <sxzz@sxzz.moe>
2022-11-29 16:15:05 +08:00
三咲智子 22b4c4aaa5
fix: get attachment src url 2022-11-29 13:01:51 +08:00
三咲智子 6e466dc82d
chore: check format when committing 2022-11-29 04:21:32 +08:00
三咲智子 569655095d
feat(status): try to open in original site 2022-11-29 04:02:44 +08:00
三咲智子 259e11c097
feat: warn danger actions for dev 2022-11-29 01:46:00 +08:00
三咲智子 ef0173a356
fix: hide mention when not loginned 2022-11-29 01:37:50 +08:00
花果山大圣 c5afa9d579
feat: prevent page navigation when user select text (#203) 2022-11-29 00:31:09 +08:00
三咲智子 2ff4041489
feat: open in new page when ctrl pressed 2022-11-28 19:03:56 +08:00
三咲智子 9fca8eee30
feat: open reply dialog on timeline
closes #125
2022-11-28 18:27:38 +08:00
三咲智子 b8cadca717
refactor: separate dialog and edit drafts 2022-11-28 15:55:57 +08:00
Shinigami 72d40edbb6
feat: show translate below content (#185) 2022-11-28 00:54:11 +08:00
Shinigami e2000321c5
fix: align status actions (#143) 2022-11-27 16:11:34 +01:00
三咲智子 c4af4a610e
fix: formatted edited time 2022-11-27 16:48:04 +08:00
Anthony Fu 6fee5026bf fix: spoiler state 2022-11-27 15:20:33 +08:00
Anthony Fu 8dd91002d7 feat: improve code block parsing 2022-11-27 14:16:02 +08:00
Chris 2bf4f8913a
fix: update route name when delete status (#151) 2022-11-27 06:08:13 +01:00
Anthony Fu 77a87af46a feat: loading skeleton 2022-11-27 13:02:19 +08:00
Anthony Fu fcde653efe ui: improve hover hint 2022-11-27 12:45:26 +08:00
Anthony Fu 4d3d05ae5c ui: move hover card 2022-11-27 12:30:21 +08:00
Anthony Fu 2fb5412a08 feat: improve account links feedback 2022-11-27 11:54:46 +08:00
Anthony Fu 3cd8fb54dd ui: improve account hover 2022-11-27 10:13:18 +08:00
Anthony Fu a05880d922 ui: adjust 2022-11-27 04:48:10 +08:00
patak e45ecf55f2
fix(a11y): solid color for secondary text (#148) 2022-11-27 04:41:18 +08:00
patak 2d16c4868e fix: spacing of status card without content 2022-11-26 20:06:07 +01:00
patak 03785846eb fix: hover on avatar at StatusDetails 2022-11-26 19:59:23 +01:00
patak d4300d8d83 fix: use full account handle, clean up 2022-11-26 17:42:53 +01:00
Daniel Roe 39b005899e
refactor: inject masto instance via nuxt app (#134) 2022-11-26 16:42:58 +01:00
patak 5c60497421
feat: scroll to status (#127)
Co-authored-by: Daniel Roe <daniel@roe.dev>
2022-11-26 16:38:55 +01:00
Daniel Roe e51ca06f97
fix: use rich (emoji) display name only with `<ContentRich>` 2022-11-26 15:06:30 +00: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
三咲智子 714b8d2bb1
feat(status): add visibility indicator
closes #117
2022-11-26 11:02:26 +08:00
Shinigami 175e31288a
feat: use pointer when clickable status (#113) 2022-11-26 01:04:31 +01:00
patak 4bb2910761
feat: status route using full account (#115) 2022-11-25 23:49:56 +00:00
Daniel Roe b36a803eef
fix: hide 'unknown client' 2022-11-25 23:48:23 +00:00
Lucie 1ad3fcf20c
feat(a11y): improve focus state (#116) 2022-11-26 00:46:25 +01:00
Lucie 9df9c06f64
feat: image previews (#104)
Co-authored-by: lihbr <lihbr@users.noreply.github.com>
2022-11-26 02:13:44 +08:00
Michel EDIGHOFFER 055bcf0e96
feat: add link to the status from the time link (#97) 2022-11-25 16:48:49 +00:00
Shinigami 2c774eba98
feat: show edit indicator for posts (#90) 2022-11-25 16:34:53 +00:00
Anthony Fu d177753775 fix: publish content 2022-11-26 00:17:19 +08:00
Daniel Roe f165eebed3
refactor: drop `Setup` suffix for setup components 2022-11-25 16:08:30 +00:00
Daniel Roe ae2ce85bcc
feat: use `<time>` element 2022-11-25 15:00:50 +00:00
Anthony Fu c8c4972693 fix: root element 2022-11-25 22:44:16 +08:00
Anthony Fu 842102cea4 fix: fallback to image for media 2022-11-25 22:31:37 +08:00
Anthony Fu b8ce2fc62b ui: improve hover card motion 2022-11-25 21:58:49 +08:00
Shinigami d71f5b6420
ui: add hover indicator for post elements (#89) 2022-11-25 21:21:42 +08:00
Daniel Roe 019a36c9bb
fix: include media within content warning 2022-11-25 12:57:02 +00:00
三咲智子 43479aaa66
feat: publish and show sensitive content 2022-11-25 20:10:45 +08:00
三咲智子 dfdf95da61
feat(account): more actions for user 2022-11-25 19:39:26 +08:00
Daniel Roe 910c585a55
fix: use better wording 2022-11-25 11:25:23 +00:00
Daniel Roe 3f382bdad0
fix: respect source language of post and move translation UI into menu 2022-11-25 11:24:19 +00:00
三咲智子 bb05003fa3
feat: show hover card in more places 2022-11-25 18:54:49 +08:00
三咲智子 9f44e607ad
refactor: improve break words UI 2022-11-25 18:20:01 +08:00
三咲智子 5f254b378f
feat(status): optimistic update count 2022-11-25 17:29:55 +08:00
三咲智子 6c350faf7c
feat: show full created time in tooltip 2022-11-25 16:57:49 +08:00
三咲智子 727bef6066
fix(status): add word wrap
closes #63
2022-11-25 16:43:47 +08:00
wheat 410d41a0a8
feat: add account hover card (#80)
Co-authored-by: 三咲智子 Kevin Deng <sxzz@sxzz.moe>
2022-11-25 16:21:53 +08:00
wheat 4505080ba8
feat: add mobile navigation (#78)
Co-authored-by: 三咲智子 Kevin Deng <sxzz@sxzz.moe>
2022-11-25 16:13:35 +08:00
三咲智子 e7fd9be93d
feat: lazy load avatar 2022-11-25 16:07:09 +08:00
三咲智子 64a6c7f7ea
fix: status card on mobile device
closes #79
2022-11-25 15:49:43 +08:00
三咲智子 bbc8ed5307
refactor: switch to setup-sfc 2022-11-25 15:12:49 +08:00
Daniel Roe 8586d58b84
feat: allow translation of statuses (#76) 2022-11-25 00:14:16 +00:00
Daniel Roe bef89502a1
fix: typo
resolves #74
2022-11-24 22:11:38 +00:00
Daniel Roe 779bde0bb1
fix: ensure single root element for each attachment 2022-11-24 21:01:28 +00:00
三咲智子 2ab3d5dbe7
refactor: improve UI & types 2022-11-24 23:48:58 +08:00
三咲智子 8283521092
fix(status): width & publish time 2022-11-24 22:42:44 +08:00
三咲智子 53cf994ffd
feat(status): mention user 2022-11-24 22:32:37 +08:00
三咲智子 0587f5f994
fix(status): copy link 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
三咲智子 fe82df28e1
feat(status): pin 2022-11-24 18:35:03 +08:00
Anthony Fu dbf4362d8b fix: improve loading 2022-11-24 16:57:28 +08:00
三咲智子 e9c9ecefc8
feat: more actions in status card 2022-11-24 16:34:09 +08:00
Anthony Fu 1ee945447d feat: use nested routes for profile 2022-11-24 14:18:05 +08:00
Anthony Fu a94781df83 feat: introduce lru cache for requests 2022-11-24 13:47:18 +08:00
三咲智子 6b3a14cf1e
feat: add tooltip for status action 2022-11-24 13:04:29 +08:00
三咲智子 dba069f0ef
feat: support more kinds of attachment 2022-11-24 12:05:17 +08:00
Anthony Fu 73c35b3c11 perf: improve navigation speed 2022-11-24 12:02:18 +08:00
patak f596973603 refactor: getAccountHandle, getAccountPath, getStatusPath 2022-11-23 23:40:35 +01:00
三咲智子 889b4b8a00
refactor: improve UI 2022-11-23 22:39:52 +08:00
三咲智子 Kevin Deng 074da4768e
refactor: improve status card UI (#28) 2022-11-23 16:37:31 +08:00
Anthony Fu 8f54b6db2e feat: try load full image 2022-11-23 16:33:18 +08:00
Anthony Fu 47914d59b6 ui: adjust spacing 2022-11-23 15:46:34 +08:00
Anthony Fu a4d235b6fe refactor: theming 2022-11-23 10:16:31 +08:00