Skip to content

Workflow Artifact Info Hover#37100

Draft
bircni wants to merge 3 commits intogo-gitea:mainfrom
bircni:feature/add-artifact-expiry-hover
Draft

Workflow Artifact Info Hover#37100
bircni wants to merge 3 commits intogo-gitea:mainfrom
bircni:feature/add-artifact-expiry-hover

Conversation

@bircni
Copy link
Copy Markdown
Member

@bircni bircni commented Apr 3, 2026

Add expiry metadata to action artifacts in the run view and show it on hover.

@GiteaBot GiteaBot added the lgtm/need 2 This PR needs two approvals by maintainers to be considered for merging. label Apr 3, 2026
@github-actions github-actions bot added modifies/go Pull requests that update Go code modifies/templates This PR modifies the template files modifies/frontend labels Apr 3, 2026
@bircni bircni changed the title restart Workflow Artifact Info Hover Apr 3, 2026
@bircni bircni force-pushed the feature/add-artifact-expiry-hover branch from aee7bce to 9c7e067 Compare April 3, 2026 21:51
@bircni bircni force-pushed the feature/add-artifact-expiry-hover branch from 9c7e067 to 5d9a44e Compare April 3, 2026 21:53
@silverwind
Copy link
Copy Markdown
Member

Can you add the hover over the actual link, not the parent div? That way the triangle of the tooltip should be aligned correctly and not point to nothing.

@bircni
Copy link
Copy Markdown
Member Author

bircni commented Apr 4, 2026

Can you add the hover over the actual link, not the parent div? That way the triangle of the tooltip should be aligned correctly and not point to nothing.

I tried, it is currently at the link but it somehow doesnt work - Could you help me? @silverwind

@silverwind
Copy link
Copy Markdown
Member

silverwind commented Apr 4, 2026

I think you can just produce the <relative-time> element in JS. tippy is capable of HTML tooltip content via an option, called html=true iirc.

@bircni bircni requested a review from silverwind April 6, 2026 10:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

lgtm/need 2 This PR needs two approvals by maintainers to be considered for merging. modifies/frontend modifies/go Pull requests that update Go code modifies/templates This PR modifies the template files

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants