← 输入框|github.com|刷新
Skip to content

api | web: show the team icon in place of the logo inside projects - #12

Merged
yekta merged 1 commit into
masterfrom
feat/team-icon-breadcrumb-logo
Oct 17, 2026
Merged

yekta merged 1 commit into
masterfrom
feat/team-icon-breadcrumb-logo

Conversation

@yekta

@yekta yekta commented Oct 17, 2026

Copy link
Copy Markdown
Contributor

Inside a project, the logo at the start of the breadcrumb already links to the team page. Because the team isn't shown in the breadcrumb there, the logo now shows the team's icon. Everywhere else, including the team page, it still shows the Unbind logo.

  • LogoLink shows the team icon on project routes. It shows a skeleton while the team loads and falls back to the Unbind logo if the team can't be loaded.
  • The project route prefetches the team, so the icon is ready when the page loads.
  • The team icon size limit goes from 50 KB to 512 KB. This covers the API check, the request body limit (now 720 KB to allow for base64), the web upload checks and hint, the docs and the generated OpenAPI spec and client.
  • Pre-commit now installs the web and docs packages when node_modules is missing. Before this, the prettier and eslint hooks failed in fresh worktrees because they couldn't find their plugins (for example prettier-plugin-tailwindcss).

Testing

  • Updated the TestParseIconRejects case for the new 512 KB limit.

- Inside a project the logo already links to the team page, so it now shows the team's icon there. Everywhere else it still shows the Unbind logo. The project route prefetches the team so the icon is ready when the page loads.
- Raise the team icon size limit from 50 KB to 512 KB in the API, the web upload checks and the docs.
- Pre-commit now installs web and docs packages when node_modules is missing. Before this, the prettier and eslint hooks failed in fresh worktrees because they couldn't find their plugins.
@yekta
yekta merged commit 01cb181 into master Oct 17, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant