Skip to content

[Feature] Replace the default avatar of the dynamic-datasource organization #829

Closed

Description

@linghengqian

想解决的问题 / The problem to solve

The dynamic-datasource organization still has the avatar GitHub generates by default: a grey tile with a few green blocks. The only public repository there is dynamic-datasource-samples (348 stars). The English and Chinese READMEs and the docs home page all link to it, so that tile is what people see when they follow those links. It also matches nothing else we have: the docs site is teal, the README logo is a teal wordmark hosted on images.gitee.com, and there is no logo file in this repository to reuse.

期望的行为 / Proposed behaviour

Upload a real avatar for the organization (Settings, Profile, Upload new picture). I put together four options so we can pick one. They are flat SVGs in the Material Design 3 Expressive style: tonal colours from Material Color Utilities, Material Symbols icons, and M3 Expressive container shapes (cookie, sunny, clover, soft burst). A small script generates them (it is in the repository linked below), so changing a colour or a shape is quick. Each is a full-bleed square with its content inside the inscribed circle, so GitHub's rounded-square crop and a circle crop both work.

Option 1: Core
1 · Core
Option 2: Route
2 · Route
Option 3: Switch
3 · Switch
Option 4: @DS
4 · @DS
  1. Core. Teal and amber, as tonal palettes built on the docs site's primary colour (#0d9488) and on the amber in the routing diagram of its home page (#f59e0b). A 9-sided cookie holds the database symbol, and the amber badge marks the active datasource.
  2. Route. What the README says the library does, "choosing which DataSource a call runs against": a call marked with @ is routed to exactly one of several databases, and the active route is lit.
  3. Switch. An M3 switch with a database on the thumb, sliding between two databases.
  4. @DS. The annotation people actually type, in heavy rounded type.

Each one also has a short loop of the "switch the active datasource" transition. The shapes morph between M3 shapes, and the timing uses the M3 Expressive spring tokens (damping / stiffness: fast spatial 0.6 / 800, default spatial 0.8 / 380, default effects 1.0 / 1600). The first frame of every GIF is the avatar itself.

Option 1: Core, transition loop Option 2: Route, transition loop Option 3: Switch, transition loop Option 4: @DS, transition loop

As far as I can tell GitHub keeps a single frame of a GIF avatar (community discussion #46598), so the PNG is what would be uploaded. The GIFs only show the motion.

They still read when small. This is the current avatar next to the options at 64, 48, 32 and 20 px, with square and circle crops, in the light and dark themes (the fifth option is added in a comment below):

The current avatar and the options at 64, 48, 32 and 20 px, in light and dark themes

The PNGs (1024 x 1024), GIFs, editable SVGs and the generator are in this repository: https://github.com/linghengqian/dynamic-datasource-avatar

The designs are free to use and change, no attribution needed. If we agree on one, any owner of the organization can upload the PNG; I am one, so I can do it. If none of them fits, tell me what to change (colour, shape, symbol) and I will rework them.

现在的替代方案 / Current workaround

Keep the default avatar.

影响范围 / Which part is affected

No response

提交前确认 / Preflight

  • 我已搜索过 open/closed issues 与 Discussions,没有重复建议
  • 我愿意提交 PR 实现它(可选,但会大大提高被接纳的概率)

Activity

  1. linghengqian commented on Nov 4, 2026

    @linghengqian
    ContributorAuthor

    A fifth option, reworked from option 1.

    Option 5: Tiers Option 5: Tiers, transition loop

    Tiers keeps the cookie container of option 1, but the cookie is larger and off-white on a brighter teal, the small badge is gone, and the accent sits inside the symbol. The three tiers of the database symbol stand for three datasources, and the amber one is the active one. On every switch the next tier lights up and hops, while the cookie morphs and turns.

    The reason for the rework is size. In option 1 the badge is 6 px wide at 32 px and under 4 px at 20 px, and the symbol is a single dark colour, so it reads as a generic database icon. In Tiers the amber tier is the only accent, and it is still visible at 16 px. This is the same size sheet as above with the fifth option added:

    The current avatar and the five options at 64, 48, 32 and 20 px, in light and dark themes

    If we go with this one, option 1 is redundant, since both use the same container. The PNG, GIF, SVG and the generator are in this repository: https://github.com/linghengqian/dynamic-datasource-avatar

  2. linghengqian commented on Nov 4, 2026

    @linghengqian
    ContributorAuthor

    I pick option 5, Tiers.

    Option 5: Tiers

    The file to upload is avatars/5-tiers.png in https://github.com/linghengqian/dynamic-datasource-avatar, which also has the other four options and the generator.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions