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

chore(KFLUXUI-268): revision data on snapshot page is now clickable& directs to commit detail page #102

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

Conversation

janaki29
Copy link
Contributor

@janaki29 janaki29 commented Feb 4, 2025

Fixes

https://issues.redhat.com/browse/KFLUXUI-268

Description

The Revision reference on a Snapshot detail page is clickable and take the user to that particular commit detail page.

Type of change

  • Feature
  • Bugfix
  • Code style update (formatting, renaming)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • Documentation content changes
  • Other (please describe):

Screen shots / Gifs for design review

Snapshot Detail Page:

image

Commit Details Page:

image

@janaki29 janaki29 changed the title chore(snapshots): revision data on snapshot page is now clickable& directs to commit detail page chore(KFLUXUI-268): revision data on snapshot page is now clickable& directs to commit detail page Feb 4, 2025
Copy link

codecov bot commented Feb 4, 2025

Codecov Report

Attention: Patch coverage is 66.66667% with 1 line in your changes missing coverage. Please review.

Project coverage is 80.12%. Comparing base (39c0ff7) to head (05c9705).
Report is 9 commits behind head on main.

Files with missing lines Patch % Lines
...SnapshotDetails/tabs/SnapshotComponentsListRow.tsx 66.66% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #102      +/-   ##
==========================================
- Coverage   80.14%   80.12%   -0.03%     
==========================================
  Files         570      578       +8     
  Lines       21536    21554      +18     
  Branches     5076     5083       +7     
==========================================
+ Hits        17260    17270      +10     
- Misses       4251     4259       +8     
  Partials       25       25              
Flag Coverage Δ
unittests 80.12% <66.66%> (-0.03%) ⬇️

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

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

expect(revisionLink).toBeInTheDocument();
expect(revisionLink).toHaveAttribute(
'href',
`/workspaces//applications/${rowData?.application}/commit/test-revision`,
Copy link
Contributor

Choose a reason for hiding this comment

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

probably should not be double //.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Will update, thanks.

@testcara
Copy link
Contributor

testcara commented Feb 6, 2025

LGTM

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

Successfully merging this pull request may close these issues.

3 participants