Skip to content

[JENKINS-52161] [API token] Manage Legacy API Token usage UX date since use labeling should be restructured #22850

Description

@jenkins-infra-bot
User Id User full name Token name Days since creation
# of use
Days since last use Fresh token? Recent token?
jenkins Jenkins Account Legacy Token 0 155 0 ✅ 
hudson Hudson Account Legacy Token 0 0 0 ⚠️ ⚠️ 
other Account Legacy Token 1 173 0 ⚠️ ✅ 

I've sent a PR to address the easy part of the text.

But, the Days column is really confusing, in part because there's no distinction between tokens that were created before migration and tokens created today (some day, potentially long..., after migration)

For the case where there hasn't been a use, e.g., hudson above, the answer should be Unknown or something similar. For the case where the token was used today, e.g., jenkins above.

As is, both of those cases appear as "0", but they are very different and should not be rendered in the same manner.

 


Originally reported by jsoref, imported from: [API token] Manage Legacy API Token usage UX date since use labeling should be restructured
  • assignee: wfollonier
  • status: Resolved
  • priority: Minor
  • component(s): core
  • resolution: Fixed
  • resolved: 2018-07-03T17:56:22+00:00
  • votes: 0
  • watchers: 3
  • imported: 2025-11-24
Raw content of original issue
User Id User full name Token name Days since creation
# of use
Days since last use Fresh token? Recent token?
jenkins Jenkins Account Legacy Token 0 155 0 ✅ 
hudson Hudson Account Legacy Token 0 0 0 ⚠️ ⚠️ 
other Account Legacy Token 1 173 0 ⚠️ ✅ 

I've sent a PR to address the easy part of the text.

But, the Days column is really confusing, in part because there's no distinction between tokens that were created before migration and tokens created today (some day, potentially long..., after migration)

For the case where there hasn't been a use, e.g., hudson above, the answer should be Unknown or something similar. For the case where the token was used today, e.g., jenkins above.

As is, both of those cases appear as "0", but they are very different and should not be rendered in the same manner.

 

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions