Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: use a single timestamp format #21653

Merged
merged 5 commits into from
Apr 23, 2024
Merged

Conversation

daibhin
Copy link
Contributor

@daibhin daibhin commented Apr 18, 2024

Problem

Towards #21302

We currently have two separate concepts of timestamp / timezone format on a single recording. Given there is now a visible timestamp toggle on the player I think we should only use one. This might be pushing the boat out because we're changing peoples behaviour but helps towards simplifying the inspector which is the most complicated part of the UI remaining.

Changes

  • A single place to toggle the timestamp format from relative to absolute and vice versa
Before After
before timestamp-format

Nicely connected to #21622 because we can now remove that entire row of buttons from the UI

Copy link
Contributor

github-actions bot commented Apr 18, 2024

Size Change: +2 B (0%)

Total Size: 1.01 MB

ℹ️ View Unchanged
Filename Size Change
frontend/dist/toolbar.js 1.01 MB +2 B (0%)

compressed-size-action

@daibhin daibhin mentioned this pull request Apr 19, 2024
@daibhin daibhin requested a review from a team April 22, 2024 10:20
Copy link
Member

@pauldambra pauldambra left a comment

Choose a reason for hiding this comment

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

I can see basically nobody clicks the button... https://us.posthog.com/project/2/insights/0cg37THq so I don't think we're taking away something folk will care about

I wonder how discoverable the new behaviour is... should we have a tooltip?

@daibhin
Copy link
Contributor Author

daibhin commented Apr 23, 2024

@pauldambra I'm generally against adding tooltips unless necessary because we already have quite a few of them in the UI. Based on #21692 I'm hoping it might already be more visible / intuitive to people. Will monitor and add one to the button if needed

@daibhin daibhin merged commit 78e4f66 into master Apr 23, 2024
104 checks passed
@daibhin daibhin deleted the dn-chore/one-timestamp-format branch April 23, 2024 14:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants