forgejo/routers/web/user
0ko ec35eb2506 feat(ui): welcome screen for user dashboard (#7030)
It is shown when there's no activity in the feed.

This is a partial implementation of https://github.com/go-gitea/gitea/pull/32990.

Differences:
* drawer icon instead of package icon
* h2 instead of h3
* explore links include a link to organizations list
* explore links are hidden for hidden explore sections
* locales are in JSON, I think it's the time to start using it, the hint is simpler and doesn't lie about following users to get their updates in the feed, which isn't a feature yet
* hint uses general hint color instead of input placeholder color
    * the large icon still uses placeholder color, but I think it's ok

Things to improve later:
* use 24px variant of icon. This will require reworking `tools/generate-svg.js`
* the vue part wasn't ported, but it'd be also nice to have

Inspired-by: Kerwin Bryant <kerwin612@qq.com>
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/7030
Reviewed-by: Michael Kriese <michael.kriese@gmx.de>
2025-02-23 08:41:31 +00:00
..
setting feat: add pronoun privacy option (#6773) 2025-02-15 13:07:15 +00:00
avatar.go Move context from modules to services (#29440) 2024-03-06 12:10:43 +08:00
code.go feat: filepath filter for code search (#6143) 2024-12-22 12:24:29 +00:00
home.go feat(ui): welcome screen for user dashboard (#7030) 2025-02-23 08:41:31 +00:00
home_test.go chore: remove usages of sort.Sort (#6689) 2025-01-26 13:30:00 +00:00
main_test.go make writing main test easier (#27270) 2023-09-28 01:38:53 +00:00
notification.go fix: don't specify FOR clause for index hint 2024-12-06 22:13:17 +01:00
package.go chore: teach set module about iter.Seq (#6676) 2025-01-24 16:45:46 +00:00
profile.go Rewrite OpenGraph Header 2025-01-01 20:43:20 +01:00
search.go Add DISABLE_ORGANIZATIONS_PAGE and DISABLE_CODE_PAGE settings for explore pages and fix an issue related to user search (#32288) 2024-10-27 11:27:40 +01:00
stop_watch.go Move context from modules to services (#29440) 2024-03-06 12:10:43 +08:00
task.go Move context from modules to services (#29440) 2024-03-06 12:10:43 +08:00