1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2025-07-27 17:28:34 +00:00
forgejo/options/locale_next
0ko 7086e7a9ac feat(ui): redesign user profile actions layout (#7906)
Related: https://codeberg.org/forgejo/forgejo/pulls/3950#issue-785253, https://codeberg.org/forgejo/forgejo/pulls/3950#issuecomment-1998551.

## Links in dropdown

* move _admin only_ User details link here, give it always-visible text
* add new _self only_ Edit profile link here
* move RSS feed link here
* add new Atom feed link here, previously unadvertised
* add new SSH keys link here (`.keys`), previously unadvertised
* add new GPG keys link here (`.gpg`), previously unadvertised
* move Block/Unblock button here
* move Report abuse link here

If primary action is available (Follow/Unfollow), dropdown with more actions goes after it. If not, it is in line with followers, in place where RSS feed button used to be.

## New dropdown

Related: https://codeberg.org/forgejo/design/issues/23, https://codeberg.org/forgejo/forgejo/issues/3853, https://codeberg.org/0ko/forgejo/issues/2.

Implemented a new dropdown: noJS-usable, JS-enhanced for better keyboard navigation and a11y.
Styling is mostly same as the existing ones have, but row density depends on `@media` pointer type.

My choice of CSS properties have been influenced of these:
* 72a3adb16b
* 51dd2293ca

Inspired-by: KiranMantha <kiranv.mantha@gmail.com>
Inspired-by: Lucas Larroche <lucas@larroche.com>
Co-authored-by: Beowulf <beowulf@beocode.eu>
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/7906
Reviewed-by: Otto <otto@codeberg.org>
Reviewed-by: Beowulf <beowulf@beocode.eu>
Co-authored-by: 0ko <0ko@noreply.codeberg.org>
Co-committed-by: 0ko <0ko@noreply.codeberg.org>
2025-06-24 14:16:51 +02:00
..
locale_ar.json i18n: update of translations from Codeberg Translate 2025-05-08 06:08:41 +00:00
locale_be.json Initial support for localization and pluralization with go-i18n-JSON-v2 format 2025-01-17 11:21:28 +01:00
locale_bg.json i18n: update of translations from Codeberg Translate 2025-06-12 10:09:11 +00:00
locale_bn.json Initial support for localization and pluralization with go-i18n-JSON-v2 format 2025-01-17 11:21:28 +01:00
locale_bs.json Initial support for localization and pluralization with go-i18n-JSON-v2 format 2025-01-17 11:21:28 +01:00
locale_ca.json i18n: update of translations from Codeberg Translate 2025-03-16 06:50:16 +00:00
locale_cs-CZ.json i18n: update of translations from Codeberg Translate 2025-06-19 05:14:47 +00:00
locale_da.json i18n: update of translations from Codeberg Translate 2025-06-19 05:14:47 +00:00
locale_de-DE.json i18n: update of translations from Codeberg Translate 2025-06-19 05:14:47 +00:00
locale_el-GR.json i18n: update of translations from Codeberg Translate 2025-05-08 06:08:41 +00:00
locale_en-US.json feat(ui): redesign user profile actions layout (#7906) 2025-06-24 14:16:51 +02:00
locale_eo.json i18n: update of translations from Codeberg Translate 2025-03-16 06:50:16 +00:00
locale_es-ES.json i18n: update of translations from Codeberg Translate 2025-05-17 10:37:51 +00:00
locale_et.json i18n: update of translations from Codeberg Translate 2025-03-16 06:50:16 +00:00
locale_fa-IR.json i18n: update of translations from Codeberg Translate (#7066) 2025-03-07 14:26:37 +00:00
locale_fi-FI.json i18n: update of translations from Codeberg Translate 2025-05-26 14:12:01 +00:00
locale_fil.json i18n: update of translations from Codeberg Translate 2025-06-12 10:09:11 +00:00
locale_fr-FR.json i18n: update of translations from Codeberg Translate 2025-06-19 05:14:47 +00:00
locale_gl.json i18n: update of translations from Codeberg Translate 2025-05-26 14:12:01 +00:00
locale_hi.json Initial support for localization and pluralization with go-i18n-JSON-v2 format 2025-01-17 11:21:28 +01:00
locale_hu-HU.json i18n: update of translations from Codeberg Translate 2025-03-16 06:50:16 +00:00
locale_id-ID.json fix(i18n): flatten next locales (#6607) 2025-01-18 07:35:28 +00:00
locale_is-IS.json fix(i18n): flatten next locales (#6607) 2025-01-18 07:35:28 +00:00
locale_it-IT.json i18n: update of translations from Codeberg Translate 2025-04-03 07:02:09 +00:00
locale_ja-JP.json i18n: update of translations from Codeberg Translate 2025-03-16 06:50:16 +00:00
locale_ko-KR.json i18n: update of translations from Codeberg Translate 2025-04-24 06:35:00 +00:00
locale_lt.json i18n: update of translations from Codeberg Translate 2025-03-16 06:50:16 +00:00
locale_lv-LV.json i18n: update of translations from Codeberg Translate 2025-06-19 05:14:47 +00:00
locale_ml-IN.json Initial support for localization and pluralization with go-i18n-JSON-v2 format 2025-01-17 11:21:28 +01:00
locale_nb_NO.json Initial support for localization and pluralization with go-i18n-JSON-v2 format 2025-01-17 11:21:28 +01:00
locale_nds.json i18n: update of translations from Codeberg Translate 2025-06-19 05:14:47 +00:00
locale_nl-NL.json i18n: update of translations from Codeberg Translate 2025-06-05 06:25:50 +00:00
locale_pl-PL.json i18n: update of translations from Codeberg Translate 2025-04-24 06:35:00 +00:00
locale_pt-BR.json i18n: update of translations from Codeberg Translate 2025-06-19 05:14:47 +00:00
locale_pt-PT.json i18n: update of translations from Codeberg Translate 2025-06-19 05:14:47 +00:00
locale_ru-RU.json i18n: update of translations from Codeberg Translate 2025-06-19 05:14:47 +00:00
locale_si-LK.json fix(i18n): flatten next locales (#6607) 2025-01-18 07:35:28 +00:00
locale_sk-SK.json i18n: update of translations from Codeberg Translate 2025-04-24 06:35:00 +00:00
locale_sl.json Initial support for localization and pluralization with go-i18n-JSON-v2 format 2025-01-17 11:21:28 +01:00
locale_sr-SP.json Initial support for localization and pluralization with go-i18n-JSON-v2 format 2025-01-17 11:21:28 +01:00
locale_sv-SE.json i18n: update of translations from Codeberg Translate 2025-06-19 05:14:47 +00:00
locale_tr-TR.json i18n: update of translations from Codeberg Translate 2025-03-16 06:50:16 +00:00
locale_uk-UA.json i18n: update of translations from Codeberg Translate 2025-06-19 05:14:47 +00:00
locale_vi.json Initial support for localization and pluralization with go-i18n-JSON-v2 format 2025-01-17 11:21:28 +01:00
locale_yi.json Initial support for localization and pluralization with go-i18n-JSON-v2 format 2025-01-17 11:21:28 +01:00
locale_zh-CN.json i18n: update of translations from Codeberg Translate 2025-06-19 05:14:47 +00:00
locale_zh-HK.json fix(i18n): flatten next locales (#6607) 2025-01-18 07:35:28 +00:00
locale_zh-TW.json i18n: update of translations from Codeberg Translate 2025-06-12 10:09:11 +00:00