-
Notifications
You must be signed in to change notification settings - Fork 20
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
fix: hide abort run when now running tests #902
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Could you rebase on top of |
<PageTitle> | ||
{title} {pageTitleAddon} | ||
</PageTitle> | ||
<Tooltip title={title}> |
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'm not sure if a tooltip is a proper option. It may look strange, especially for short titles
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.
yes, me too. should we enable/disable based on the length of the title?
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.
In the best situation we should show it only when it's truncated. Quick googling shows that most likely it's possible, so it would be great if you could try it: https://stackoverflow.com/a/63214232/2922986
const entityOptionsMenu = useMemo( | ||
() => | ||
[ | ||
{key: 1, label: <span onClick={onEditTest}>Edit Test</span>}, |
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.
EntityDetailsHeader
is not only used for tests, so the prop should be called onEdit
and this label should be based on entity type, not static Edit Test
This PR...
Changes
1 We should safely remove “Abort all executions” if there is NO RUNNING execution. (make sure the it IS visible if there IS an execution running) - ideally this would be covered with an E2E test
2 Weird breaking on resize. The select boxes + buttons should be in the same line. The text is currently just cut… We typically use “ellipsis” to have the typo cut by “…” and display the whole title on hover
Fixes
How to test it
screenshots
Checklist