Commit graph

198 commits

Author SHA1 Message Date
三咲智子 Kevin Deng cafc995dde
feat: display i18n text on SSR 2023-01-13 01:58:31 +08:00
三咲智子 Kevin Deng 9a41b9b7d7
feat(settings): respect settings from server (#1013) 2023-01-13 01:52:52 +08:00
patak 50c54144e6 chore: point GitHub links to the elk repo 2023-01-12 01:41:25 +01:00
Anthony Fu e34bfee4a5 feat: sponsors in about page and nav footer 2023-01-11 23:24:05 +01:00
Daniel Roe f04d7ac067
fix: defer loading text and server links until hydration (#926) 2023-01-11 14:50:47 +00:00
Ayo Ayco c92fd7939e
feat: bring zen mode to mobile footer nav (#969) 2023-01-11 14:00:41 +00:00
Piotrek Tomczewski af85a5ea8d
fix(hashtag): fixed hashtag follow button on larger screens (#862) 2023-01-11 14:39:20 +01:00
Clark Cui c757e45762
fix: back button invalid (#958) 2023-01-11 12:31:35 +08:00
Clark Cui 74148d71b0
fix: disable back button when no back path (#936)
Co-authored-by: 三咲智子 Kevin Deng <sxzz@sxzz.moe>
2023-01-11 00:01:24 +08:00
三咲智子 Kevin Deng 675a14db80
fix: replace a tag with NuxtLink (#906) 2023-01-09 14:22:19 +01:00
Anthony Fu 0297ed868b feat: different logos for staging and dev 2023-01-08 12:17:16 +01:00
三咲智子 Kevin Deng b30ebc12f8
refactor: generic components (#868)
Co-authored-by: Anthony Fu <anthonyfu117@hotmail.com>
2023-01-08 15:49:32 +08:00
Ryan Cao a311e0ec80
feat: add aria-label for back button (#819) 2023-01-07 01:46:06 +08:00
Anthony Fu 1aa118283e
refactor: unify user settings (#821)
Co-authored-by: 三咲智子 <sxzz@sxzz.moe>
2023-01-07 01:39:37 +08:00
三咲智子 cffcddefb9
refactor: use defineModel 2023-01-06 23:46:36 +08:00
Joaquín Sánchez 18056038c7
fix: current nav side on pwa update (#823) 2023-01-06 13:47:49 +01:00
patak 779fcf4177 feat: move compose to user category in sidebar 2023-01-06 11:41:47 +01:00
patak 36f11e48da feat: categorized sidebar 2023-01-06 10:44:07 +01:00
Anthony Fu 272fb4a13d
feat: compose editor as a page (#804) 2023-01-05 16:42:36 +01:00
patak dede688bf2 fix: sign in button in md, lg 2023-01-05 15:03:45 +01:00
patak f177ea1ea8 feat: floating back button for xl 2023-01-05 13:35:08 +01:00
patak e5a9bd7370 feat: use square avatars for logged in user 2023-01-05 13:10:22 +01:00
patak 640075fed1 feat: continue style experiments 2023-01-05 12:33:09 +01:00
patak fc48f8b90c feat: style experiments 2023-01-05 00:17:30 +01:00
三咲智子 Kevin Deng f892722220
refactor: env config (#769) 2023-01-04 14:26:30 +01:00
Anthony Fu 564a754a4d ui: clean up nav footer 2023-01-03 18:24:39 +01:00
Anthony Fu 64fa8d2bf4 ui: move settings to nav side 2023-01-03 18:16:04 +01:00
patak f8703fc1c1 feat: keep timeline at 600px for md and lg screens 2023-01-03 14:48:13 +01:00
三咲智子 f0ed98c6ad
fix: hydrated error of built time ago 2023-01-03 19:16:16 +08:00
三咲智子 6729666170
refactor: add onMastoInit 2023-01-03 17:53:45 +08:00
Nicolò Ribaudo 6e12402987
fix: update m.webtoo.ls/@elk links to open in Elk (#725) 2023-01-03 09:14:49 +01:00
Joaquín Sánchez 964a67fbf5
feat: update elk icons (#717)
Co-authored-by: 三咲智子 Kevin Deng <sxzz@sxzz.moe>
2023-01-03 08:14:53 +08:00
三咲智子 b48a893614
chore: rename emit function 2023-01-02 06:06:27 +08:00
Vjacheslav Trushkin 727d05915f
fix: layout fixes for RTL languages (#591)
* fix: rtl arrows on settings page

* fix: border on settings page for RTL languages

* fix: RTL fixes for logo, search box and logout icon

* fix: RTL layout bugs in conversations

* chore: remove rtl setting icon

* improve arabic locale

* add new entries to arabic locale

* chore: include number format

* fix: RTL layout on several pages

* fix: RTL layout of account header and sign in modal

* fix: always display account handle in LTR

* fix: move character counter in publish widget to left side for RTL

* fix: remove border-ss-none unocss rule

* fix: many RTL fixes

* fix: RTL fixes for many pages

* fix: use viewer's direction in all content

* chore: use new arabic plural rules

* chore: flip arrow on main content header

* chore: fix StatusPoll and show_new_items for zh-TW

* chore: StatusPoll tooltip on bottom

* chore: add `en` variants to i18n conf

* chore: update entry to use new plural rule

* fix: automatic content direction for status

* fix: direction for account handle

* fix: direction of polls

Co-authored-by: userquin <userquin@gmail.com>
Co-authored-by: Jean-Paul Khawam <jeanpaulkhawam@protonmail.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-01-01 15:29:11 +01:00
patak 17fecebcae fix: NavUser avatar height on small screens 2022-12-31 13:26:52 +01:00
三咲智子 1054e556e8
fix: enable nav commands only once 2022-12-30 03:31:36 +08:00
Daniel Roe 7a36fb8efd
refactor: use @nuxtjs/color-mode to manage ssr (#612) 2022-12-29 13:26:08 +01:00
patak 5c1a149358 fix: show explore in all screen sizes 2022-12-28 21:47:52 +01:00
Joaquín Sánchez 347cfff358
fix(a11y): disabled nav side links (#529)
Co-authored-by: Daniel Roe <daniel@roe.dev>
2022-12-28 21:35:26 +01:00
Chris 73cec49cf0
feat(ui): update RTL style (#592) 2022-12-28 15:05:33 +01:00
Chris 107ac8a6b9
ui: fix left aside some buttons width (#588) 2022-12-28 15:00:49 +08:00
Anthony Fu d8d163dbd0 fix: rework setup to improve SSR compatibility 2022-12-28 02:06:54 +01:00
Anthony Fu 12942095de feat: move nav footer items to settings 2022-12-28 00:03:50 +01:00
patak 26a26ba9f7
feat: search on small screens (#585) 2022-12-27 22:41:44 +01:00
Anthony Fu 847e64ef6d chore: clean up component 2022-12-27 19:37:53 +01:00
Anthony Fu cf5e6ed5b5 i18n: rename keys 2022-12-27 18:49:23 +01:00
Anthony Fu 841959b51f feat: move flags to settings 2022-12-27 18:49:23 +01:00
Anthony Fu e8dde2c2ba feat: display version 2022-12-26 20:33:19 +01:00
Ayaka Rizumu 613c5315b3
feat: added a profile settings and settings nav (#432) 2022-12-26 09:50:11 +01:00
Joaquín Sánchez cf261c36cd
feat: add font size to bottom nav (#558) 2022-12-25 17:13:23 +01:00
Anthony Fu b40832a7eb fix: font-size ssr 2022-12-24 00:19:17 +01:00
patak 41ef187379 feat: font size preference 2022-12-23 23:47:13 +01:00
Daniel Roe c30587ec7d
fix: make home user-only as well 2022-12-22 15:06:52 +00:00
patak fb649807b0 fix: avoid layout shift on nav footer 2022-12-22 10:28:03 +01:00
patak 9ccc24e845 feat: avoid navigation sidebar layout shifts while loading 2022-12-22 09:31:12 +01:00
Daniel Roe a2da1b2ee1
fix: use reactive feature flags
resolves https://github.com/elk-zone/elk/issues/498
2022-12-22 02:32:08 +00: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
patak 44cf8aa89c
feat: responsive sidebar, aim for a 600px timeline always (#482) 2022-12-21 00:02:01 +00:00
patak 687acc185e feat: links to Mastodon and Discord in app 2022-12-20 12:08:03 +01: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 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 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 49a28144fd
feat: update logo logic (#377) 2022-12-08 14:30:56 +01:00
Daniel Roe f0fb29b078
fix: fix typo in class name 2022-12-07 00:07:54 +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 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
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
Daniel Roe 408aff20ee
ci: test project on pull requests (#338) 2022-12-04 23:28:04 +00:00
Daniel Roe 04615e443e
fix: update more public and explore links 2022-12-04 20:05:11 +00:00
三咲智子 1ba5cc4072
refactor: use escaped middot 2022-12-05 02:59:33 +08:00
三咲智子 Kevin Deng a96d564eaa
feat: show commit id (#331) 2022-12-05 02:18:39 +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 585b9e0229
feat: show and stream new notifications (#282)
Co-authored-by: Anthony Fu <anthonyfu117@hotmail.com>
2022-12-02 10:21:10 +08:00
Joaquín Sánchez c4cf3fb371
feat(i18n): plurals support (#278) 2022-12-02 10:18:36 +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
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 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 608aad56dd
fix: image alt tags 2022-11-29 21:13:21 +00:00
Shinigami 0e7076b991
feat: scroll to top (#237) 2022-11-29 21:15:53 +01:00
三咲智子 994bf98c82
refactor: unify prefix of icon name 2022-11-29 20:06:08 +08: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
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
kazuya kawaguchi 22e90b5ffd
fix(i18n): language switch is reset (#215)
Co-authored-by: 三咲智子 Kevin Deng <sxzz@sxzz.moe>
2022-11-29 14:29:09 +08:00
Shinigami 69d009d02a
feat: toggleable feature flags (#209) 2022-11-28 23:57:27 +01:00
三咲智子 ed0b78857c
refactor(i18n): tidy fields 2022-11-29 00:55:09 +08:00
三咲智子 2df646792d
refactor: get locales from i18n config 2022-11-29 00:49:30 +08:00
Shinigami b118313b6f
feat: i18n de-DE (#206) 2022-11-29 00:41:58 +08:00
Chris f72dd01ce7
ui(i18n): translate select language (#204) 2022-11-29 00:28:44 +08:00