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

feat: add SearchDetails page (ET-53) #9436

Merged
merged 9 commits into from
Jun 3, 2024
Merged

feat: add SearchDetails page (ET-53) #9436

merged 9 commits into from
Jun 3, 2024

Conversation

johnkim-det
Copy link
Contributor

@johnkim-det johnkim-det commented May 28, 2024

Ticket

ET-53

Description

Test Plan

With Flat Runs feature flag on:

  • Open a project details page
  • Open the "Searches" tab
  • Clicking on the 'ID' or 'Name' of a search should link to the Search Details page
    • Trials tab should display table with trials for the Search
    • Code tab should display code for the Search
    • Notes tab should display editable notes specific to the Search

Checklist

  • Changes have been manually QA'd
  • User-facing API changes need the "User-facing API Change" label.
  • Release notes should be added as a separate file under docs/release-notes/.
    See Release Note for details.
  • Licenses should be included for new code which was copied and/or modified from any external code.

@johnkim-det johnkim-det added the feature-flagged The changes in this PR are behind a feature flag label May 28, 2024
@johnkim-det johnkim-det requested a review from a team as a code owner May 28, 2024 21:30
@cla-bot cla-bot bot added the cla-signed label May 28, 2024
Copy link

netlify bot commented May 28, 2024

Deploy Preview for determined-ui ready!

Name Link
🔨 Latest commit f37aa31
🔍 Latest deploy log https://app.netlify.com/sites/determined-ui/deploys/665ddbd112a8a000081922b8
😎 Deploy Preview https://deploy-preview-9436--determined-ui.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@johnkim-det johnkim-det requested review from EmilyBonar and removed request for keita-determined May 28, 2024 21:43
Copy link

codecov bot commented May 28, 2024

Codecov Report

Attention: Patch coverage is 4.45205% with 279 lines in your changes are missing coverage. Please review.

Project coverage is 43.98%. Comparing base (57bece4) to head (f37aa31).
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #9436      +/-   ##
==========================================
- Coverage   49.07%   43.98%   -5.10%     
==========================================
  Files        1233      910     -323     
  Lines      159401   119702   -39699     
  Branches     2778     2779       +1     
==========================================
- Hits        78231    52648   -25583     
+ Misses      80996    66879   -14117     
- Partials      174      175       +1     
Flag Coverage Δ
harness ?
web 44.12% <4.45%> (-0.16%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files Coverage Δ
webui/react/src/routes/routes.ts 100.00% <100.00%> (ø)
webui/react/src/components/TableActionBar.tsx 0.00% <0.00%> (ø)
webui/react/src/pages/ProjectDetails.tsx 0.00% <0.00%> (ø)
webui/react/src/routes/index.tsx 0.00% <0.00%> (ø)
webui/react/src/routes/utils.ts 63.96% <33.33%> (-0.38%) ⬇️
webui/react/src/components/Searches/columns.ts 0.00% <0.00%> (ø)
webui/react/src/pages/TrialDetails.tsx 0.00% <0.00%> (ø)
.../src/pages/TrialDetails/Header/TrialHeaderLeft.tsx 0.00% <0.00%> (ø)
webui/react/src/pages/FlatRuns/FlatRuns.tsx 0.00% <0.00%> (ø)
webui/react/src/pages/SearchDetails.tsx 0.00% <0.00%> (ø)

... and 324 files with indirect coverage changes

Copy link
Contributor

@EmilyBonar EmilyBonar left a comment

Choose a reason for hiding this comment

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

Looks good, just a few comments!

webui/react/src/pages/SearchDetails.tsx Outdated Show resolved Hide resolved
webui/react/src/pages/SearchDetails.tsx Outdated Show resolved Hide resolved
}
}, [basePath, navigate, tab, tabKey]);

const fetchExperimentDetails = useCallback(async () => {
Copy link
Contributor

Choose a reason for hiding this comment

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

sugg: could be rewritten using useAsync

<FlatRuns projectId={experiment.projectId} searchId={id} />
),
key: TabType.Trials,
label: 'Trials',
Copy link
Contributor

Choose a reason for hiding this comment

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

nit: shouldn't this switch to "Run" terminology instead of Trials?

@EmilyBonar EmilyBonar assigned johnkim-det and unassigned EmilyBonar May 31, 2024
@johnkim-det johnkim-det merged commit a45aa1e into main Jun 3, 2024
84 of 97 checks passed
@johnkim-det johnkim-det deleted the ET-53 branch June 3, 2024 16:08
@tara-det-ai tara-det-ai added this to the Experiment Tracking milestone Jun 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla-signed feature-flagged The changes in this PR are behind a feature flag
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants