GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Persist and choose the counsellor avatar in the normal admin form · Issue #1046 · OpenResilienceInitiative/ORISO-UserService

Persist and choose the counsellor avatar in the normal admin form #1046

New issue
Copy link
New issue
Copy link
Open
Feature
Open
Persist and choose the counsellor avatar in the normal admin form#1046
Feature
Copy link
Assignees
Storypapst

Description

@Storypapst
Storypapst
opened on Aug 17, 2026
Issue body actions

Affected repos: ORISO-UserService, ORISO-Admin

Why

The Setup-Wizard ships its avatar step switched off because no avatar exists on the consultant model. The artwork is already there: a monochrome counsellor set of 61 animal motifs lives in the admin panel and the picker already recolours it to currentColor, so it can be tinted to the tenant's primary colour with the glyph in on-primary — the operator's brand, unlike the multi-coloured advice-seeker set, which is an anonymity device.

Per the standing rule, the field lands in the normal admin form first; the wizard follows.

What to build

  • An avatar reference on the consultant, persisted, plus migration.
  • An avatar section in the normal consultant create/edit form using the existing picker, tinted primary / on-primary.
  • Read-back through the admin API.

Not in this slice: rendering in the app, and the wizard step.

Acceptance

  • A chosen avatar persists and is shown again when the consultant is reopened.
  • The avatar renders tinted to the tenant's primary colour with an on-primary glyph.
  • Consultants without a choice keep working — no forced migration of existing rows.

Blocked by

None — can start immediately.

Reviewer test plan

  • Pick an avatar for a consultant, save, reopen → the same one is selected.
  • Switch to a tenant with a different primary colour → the avatar follows the brand.
  • Open a consultant that never had an avatar → the form works and shows an unset state.
  • At 320px → the picker grid stays usable.

QA retest on Dev, 18 Nov 2026

In published Admin Storybook, the unset and avatar picker fixtures loaded. At 320 px Playwright selected the alpaca and verified aria-checked=true. The same narrow fixture had a 336 px document width and the picker extended to x=326 px, so the narrow-width criterion stays open pending verification in the normal Admin form. Live save/reopen and tenant colour checks remain open.

Installed Admin v2.0.17: the normal synthetic counsellor edit form loaded 62 avatar choices, with zero selected and no explicit avatar kind stored. The legacy unset-form scenario is checked. The picker does not offer a reset to unset, so no choice was saved on this fixture.

Installed Admin v2.0.17: used Edit on the card that contains the avatar radiogroup. At 320 px a motif was enabled and could be selected, and the prior geometry read confirmed that the radiogroup fit without horizontal overflow. The draft was closed without saving.

In published Admin Storybook, one rendered motif followed two distinct primary/on-primary token pairs, with the same SVG present. This verifies the component colour binding. The browser test used isolated theme tokens; an actual tenant switch and persistent save are still open.

Release UserService CI passed UserControllerE2EIT (70 cases) and ConsultantUpdateServiceIT (9 cases). The deployed source explicitly tests persisting an ICON choice and retaining it when neither field is supplied. The existing unconfigured Springfield counsellor rendered in the Dev edit form and the asker chat without a forced selection. The legacy-no-choice criterion is checked. Save and reopen in the actual Admin form remain open.

Installed Dev v2.0.17: Admin saved a motif for the synthetic Springfield counsellor (HTTP 200). A newly opened standard edit form returned the same kind and motif ID. The counsellor restored Default in the normal profile UI (HTTP 204). Fresh Admin readback confirmed both avatar fields were unset again. The two persistence criteria are checked.

Activity

  1. Storypapst
    self-assigned this
    on Aug 17, 2026
  2. Storypapst
    added a parent issue on Aug 17, 2026
    • Consultant avatar and profile picture (parent) #995
  3. Storypapst
    added the
    Feature
    issue type on Aug 17, 2026
  4. github-project-automation
    moved this to Backlog in ORISO Roadmapon Aug 17, 2026
  5. github-project-automation
    added this to ORISO Roadmapon Aug 17, 2026
  6. Storypapst
    moved this from Backlog to Ready in ORISO Roadmapon Aug 17, 2026
  7. kiodreambau
    set
    Priority
    to
    Medium
    on Aug 24, 2026
  8. Storypapst
    set
    Platform release
    to
    v2.0.6
    on Sep 15, 2026
  9. Storypapst
    changed
    Platform release
    to
    v2.0.7
    on Sep 16, 2026
  10. Storypapst
    cleared
    Platform release
    on Sep 16, 2026
  11. Storypapst
    added a commit that references this issue on Sep 17, 2026

    feat(session): show the counsellor's chosen avatar to the advice seek…

    6c58aef
  12. Storypapst commented on Sep 17, 2026

    @Storypapst
    Storypapst
    on Sep 17, 2026
    CollaboratorAuthor
    More actions

    Three Draft PRs are open for this slice and its sibling #1047. Nothing is merged, nothing is closed.

    Repo PR What it delivers
    UserService #1179 avatar_kind + avatar_id on the consultant, Liquibase changeset, admin API, /service/users/data, the onboarding wizard, and the consultant block an advice seeker receives
    Admin OpenResilienceInitiative/ORISO-Admin#1001 The avatar section in the normal consultant form and in the public onboarding wizard
    Frontend OpenResilienceInitiative/ORISO-Frontend#1468 Rendering for advice seekers (#1047)

    The choice. Initials or one of the 61 monochrome counsellor motifs. Both render on the tenant's --m3-primary-container / --m3-on-primary-container pair, so the avatar carries the operator's brand — the old colour hash is gone. An own uploaded picture is stored as avatarKind: PICTURE but not built here; that stays with #1048/#1049.

    Consultants without a choice keep working. Both fields stay null, the form shows an unset state, and the app renders exactly what it rendered before.

    Merge order: UserService first, then Admin and Frontend. ORISO-UserService#1177 touches the same onboarding classes and will conflict on two record argument lists and toCounsellorCommand.

    Not verified: the migration SQL itself (integration tests run on H2 with Liquibase disabled) and the serialised JSON body (the Java mapping is asserted, not jsonPath). Nothing is deployed anywhere — local verification only.

    🤖 Generated with Claude Code

  13. shanzaeimran
    added a commit that references this issue on Sep 17, 2026

    Merge pull request #1179 from OpenResilienceInitiative/feat/1046-coun…

    1a17742
  14. Storypapst
    added a commit that references this issue on Sep 17, 2026

    merge: bring dev into the #1049 picture branch

    6e4ea29
  15. Storypapst
    moved this from Ready to QA internal in ORISO Roadmapon Nov 4, 2026
  16. kiodreambau commented on Nov 19, 2026

    @kiodreambau
    kiodreambau
    on Nov 19, 2026
    Contributor
    More actions

    Dev follow-up with the existing Dreambau counsellor: public Profile avatar chooser had 62 radio choices with no horizontal overflow at 320 and 412 px. On both widths the accessible Default radio was the only selected option. No setting changed. A second distinctly themed synthetic provider is still needed for the live brand switch.

  17. kiodreambau commented on Nov 19, 2026

    @kiodreambau
    kiodreambau
    on Nov 19, 2026
    Contributor
    More actions

    Published Admin Storybook in WebKit: motif, explicitly selected initials and legacy unset fallback all followed both independently imposed primary/on-primary palette pairs. Six measurements passed. The palette overrides were browser-local. The live switch between two qualified differently branded tenants remains open.

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

Metadata

Metadata

Assignees

  • @Storypapst
    Storypapst

Labels

No labels
No labels

Type

Feature

Fields

Priority

Medium

Platform release

None yet

Projects

  • ORISO Roadmap
    Status
    QA internal
    Show more project fields

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.