-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
feat(experiments): better result refresh buttons #27586
Conversation
Size Change: 0 B Total Size: 1.13 MB ℹ️ View Unchanged
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice! Looks good 👍
type="secondary" | ||
size="xsmall" | ||
onClick={() => { | ||
if (isSecondary) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I wonder if it would be better for the user if we refreshed both here as:
- this is likely what the user wants (it does not make sense to show update results for one but not the other)
- we currently do reload the whole result component so it kind of looks like both should be updated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good point :) fixed in 1a9b520
(#27586)
we currently do reload the whole result component
Yes but I want to fix this too, in a follow up
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
My two cents: I think I prefer the position on the top right of the page. This location is more difficult to find, and it's weird to display it twice when it does the same thing for both.
I like the time indicator, though.
@danielbachhuber agree, makes sense! Moved it to the top bar ![]() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🔥
Changes
Prompted by @andehen: https://posthog.slack.com/archives/C07PXH2GTGV/p1736935461402799?thread_ts=1736935389.854549&cid=C07PXH2GTGV
How did you test this code?
👀