-
Notifications
You must be signed in to change notification settings - Fork 356
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
style: polish experiment detail [DET-3517, DET-3621] #974
style: polish experiment detail [DET-3517, DET-3621] #974
Conversation
db11c31
to
b350776
Compare
b350776
to
9b2aea1
Compare
d7b3348
to
a2552e7
Compare
could we separate moving the files around from polishing and changing their content (in terms of PR)? the github UI doesn't give us a good diff of what's happening and what's changing update: actually I could go commit by commit as you have them nice and separate. |
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.
@@ -42,7 +42,7 @@ const TrialDetailsComp: React.FC = () => { | |||
const message = isNotFound(trial.error) ? `Trial ${trialId} not found.` | |||
: `Failed to fetch trial ${trialId}.`; | |||
return ( | |||
<Page hideTitle title="Not Found"> | |||
<Page id="not-found"> |
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.
nit: not a new addition here but not-found wouldn't be always accurate here.
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.
updated the id to page-error-message
to better reflect what the Page
component is representing.
@@ -92,36 +90,42 @@ const ExperimentActions: React.FC<Props> = ({ | |||
}; | |||
|
|||
const actionButtons: ConditionalButton<ExperimentDetails>[] = [ | |||
{ button: <Button key="fork" type="primary" onClick={onClick[Action.Fork]}>Fork</Button> }, | |||
{ |
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.
sidenote: IMO if the buttons were defined separately we wouldn't have generated as big a diff with just reordering them
b23ab8c
to
f728f38
Compare
Description
Test Plan
Commentary (optional)