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

Remove invalid jump link #3559

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

ashley-o0o
Copy link
Contributor

@ashley-o0o ashley-o0o commented Dec 9, 2024

Closes: RHOAIENG-16189

Description

Removes invalid jump link to Data connections in the create workbench page. In doing so, also cleaned up some unused data connections code.

How Has This Been Tested?

Tested locally on cluster.

  • Navigate to your data science project
  • Workbench tab, create workbench.
  • The Data connections jump link should no longer exist.

Test Impact

No tests changed

Screenshots

Before:
Screenshot 2024-12-09 at 10 35 27 AM

After:
Screenshot 2024-12-09 at 10 34 28 AM

Request review criteria:

Self checklist (all need to be checked):

  • The developer has manually tested the changes and verified that the changes work
  • Testing instructions have been added in the PR body (for PRs involving changes that are not immediately obvious).
  • The developer has added tests or explained why testing cannot be added (unit or cypress tests for related changes)

If you have UI changes:

  • Included any necessary screenshots or gifs if it was a UI change.
  • Included tags to the UX team if it was a UI/UX change.

After the PR is posted & before it merges:

  • The developer has tested their solution on a cluster by using the image produced by the PR to main

Copy link

codecov bot commented Dec 9, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 85.17%. Comparing base (6ac8b17) to head (714da2a).
Report is 51 commits behind head on main.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #3559      +/-   ##
==========================================
- Coverage   85.54%   85.17%   -0.37%     
==========================================
  Files        1371     1382      +11     
  Lines       31190    31571     +381     
  Branches     8731     8824      +93     
==========================================
+ Hits        26680    26892     +212     
- Misses       4510     4679     +169     
Files with missing lines Coverage Δ
...src/pages/projects/screens/spawner/SpawnerPage.tsx 86.72% <100.00%> (ø)
...ontend/src/pages/projects/screens/spawner/const.ts 100.00% <ø> (ø)
...ontend/src/pages/projects/screens/spawner/types.ts 100.00% <ø> (ø)

... and 318 files with indirect coverage changes


Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 6ac8b17...714da2a. Read the comment docs.

@christianvogt
Copy link
Contributor

@ashley-o0o

It's ok to remove the the Data connections jump link however you're also removing tests which should stay until we convert the same to work work connection types.

Instead of trying to do the clean up of data connections here, we should keep the code around until we tackle the story to remove it so that we can update tests at the same time.

@ashley-o0o
Copy link
Contributor Author

@christianvogt okay I'll restore the test. Would you like me to comment that part out then? Otherwise the tests fail.

@christianvogt
Copy link
Contributor

@ashley-o0o the test should not fail if all you're doing is removing the jump link

@ashley-o0o ashley-o0o force-pushed the 16189/invalid-jump-link branch 2 times, most recently from ee0f61c to a738b57 Compare December 16, 2024 19:03
@ashley-o0o ashley-o0o force-pushed the 16189/invalid-jump-link branch from a738b57 to 714da2a Compare December 16, 2024 19:55
@christianvogt
Copy link
Contributor

/lgtm
/approve

Copy link
Contributor

openshift-ci bot commented Dec 17, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: christianvogt

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@christianvogt
Copy link
Contributor

/retest

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants