Skip to content

Different default avatar for API-only users #27457

@rachaelshaw

Description

@rachaelshaw

Goal

User story
As a user viewing the activity feed,
I want to see a different default avatar for API-only users
so that I can easily spot changes made by humans in the UI versus changes via the API/GitOps.

Key result

Small UX improvements

Original requests

#26921

Context

Changes

Product

  • UI changes: Figma
  • CLI (fleetctl) usage changes: No changes
  • YAML changes: No changes
  • REST API changes: PR
  • Fleet's agent (fleetd) changes: No changes
  • GitOps mode changes: No changes
  • Activity changes: No changes
  • Permissions changes: No changes
  • Changes to paid features or tiers: No changes
  • Transparency changes: No changes
  • First draft of test plan added
  • Other reference documentation changes: No changes
  • Once shipped, requester has been notified
  • Once shipped, dogfooding issue has been filed N/A (small UX improvement)

Engineering

  • Test plan is finalized
  • Contributor API changes: Probably no need.
  • Feature guide changes: No need.
  • Database schema migrations: Probably not needed.
  • Load testing: No need.

ℹ️  Please read this issue carefully and understand it. Pay special attention to UI wireframes, especially "dev notes".

QA

Risk assessment

  • Requires load testing: No.
  • Risk level: Low
  • Risk description: Risk is limited to the UI icon area.

Test plan

Make sure to go through the list and consider all events that might be related to this story, so we catch edge cases earlier.

  1. On an older branch, run GitOps with an API-only user configured (and no gravatar set for that user).
    • Activities should have default user avatar
  2. Switch to branch with this feature & migrate data.
    • Activities from previous GitOps run should use API-only user avatar and have actor_api_only flag set to true.
  3. Run GitOps again.
    • New activities should use API-only user avatar and have actor_api_only flag set to true.
  4. Give the API-only user a gravatar. Run GitOps again.
    • Activities should use the configured gravatar.

Testing notes

Confirmation

  1. Engineer: Added comment to user story confirming successful completion of test plan.
  2. QA: Added comment to user story confirming successful completion of test plan.

Metadata

Metadata

Assignees

Labels

#g-orchestrationOrchestration product group:productProduct Design department (shows up on 🦢 Drafting board)storyA user story defining an entire feature

Type

No type

Projects

Status

Done

Status

Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions