Skip to content

fix: show absolute timestamp on hover - #2604

Merged
max-nextcloud merged 3 commits into
nextcloud:mainfrom
Saithej2k:fix/timestamp-hover-title
Jun 30, 2026
Merged

max-nextcloud merged 3 commits into
nextcloud:mainfrom
Saithej2k:fix/timestamp-hover-title

Conversation

@Saithej2k

Copy link
Copy Markdown
Contributor

Summary

  • Add an absolute timestamp title to the relative last-updated display.
  • Allow the timestamp text in the action menu item to receive hover events for the native tooltip.

Testing

  • git diff --check
  • npx eslint --ext .vue src/components/LastUserBubble.vue src/components/Page/NcActionLastUser.vue --max-warnings=0
  • npx stylelint src/components/LastUserBubble.vue src/components/Page/NcActionLastUser.vue

Closes #2597

@Saithej2k
Saithej2k marked this pull request as ready for review June 27, 2026 23:05
@Saithej2k
Saithej2k force-pushed the fix/timestamp-hover-title branch from ccda8a2 to e84c840 Compare June 29, 2026 18:17
@Saithej2k

Copy link
Copy Markdown
Contributor Author

I checked the failing jobs and they look unrelated to this timestamp change. The migration job is failing while fetching origin/fix/timestamp-hover-title, which does not exist on the upstream remote for this fork PR, and the Playwright/Cypress failures are in editor/member specs. Could a maintainer rerun or confirm whether these should block this PR?

@max-nextcloud

Copy link
Copy Markdown
Contributor

Hi @Saithej2k

Thanks a lot. That looks like a good start. I will look into the CI failures.

Right now the changes to the pointer behavior turn the cursor into a pointer when hovering the time.

Here's a comparison between the old and the new behavior:

Bildschirmaufzeichnung.vom.2026-06-30.06-38-44.mp4

I think the best fix would be to get rid of the button element in NcActionLastUser. This is not a button - it cannot be clicked. I think this would also remove the need for the pointer-events css classes all together.

But I would like to hear what @mejo- thinks about that.

@max-nextcloud

Copy link
Copy Markdown
Contributor

Might also be nice to have the same behavior in the recent pages list:

Bildschirmaufzeichnung.vom.2026-06-30.06-51-01.mp4

@max-nextcloud

Copy link
Copy Markdown
Contributor

#2612 should fix the Static analysis of migrations with latest release

@Saithej2k
Saithej2k force-pushed the fix/timestamp-hover-title branch from 0306509 to d479071 Compare June 30, 2026 05:42

@max-nextcloud max-nextcloud left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks a lot for the quick update. Looks good to me now. I only have one small remark left.

border-radius: 0;
background-color: transparent;
box-shadow: none;
cursor: default;

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think this is needed. Seems to still work fine if I disable it in the browser. Or am I missing something?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch, you’re right. I removed it in 8100822. Thanks!

@max-nextcloud max-nextcloud left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚀

@max-nextcloud
max-nextcloud merged commit 597312d into nextcloud:main Jun 30, 2026
61 of 62 checks passed
@github-actions

Copy link
Copy Markdown
Contributor

Hello there,
Thank you so much for taking the time and effort to create a pull request to our Nextcloud project.

We hope that the review process is going smooth and is helpful for you. We want to ensure your pull request is reviewed to your satisfaction. If you have a moment, our community management team would very much appreciate your feedback on your experience with this PR review process.

Your feedback is valuable to us as we continuously strive to improve our community developer experience. Please take a moment to complete our short survey by clicking on the following link: https://cloud.nextcloud.com/apps/forms/s/i9Ago4EQRZ7TWxjfmeEpPkf6

Thank you for contributing to Nextcloud and we hope to hear from you soon!

(If you believe you should not receive this message, you can add yourself to the blocklist.)

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Show absolute timestamp on hovering relative date display (e.g. "last edited")

2 participants