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(KFLUXUI-36): updated wordings in customizepipelines component fo… #96

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

Conversation

rakshett
Copy link
Contributor

@rakshett rakshett commented Jan 27, 2025

Fixes

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

Description

  1. Updated wordings in CustomizePipelines component for install gitHub application.
  2. Removed Kebab action dropdown from the rows.
  3. Removed Rollback to default pipeline button from the alert.

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

Screenshot 2025-02-04 at 3 15 33 PM

How to test or reproduce?

Browser conformance:

  • Chrome
  • Firefox
  • Safari
  • Edge

Copy link

codecov bot commented Jan 27, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 80.14%. Comparing base (c6528e9) to head (6658cad).

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #96      +/-   ##
==========================================
+ Coverage   80.12%   80.14%   +0.02%     
==========================================
  Files         578      578              
  Lines       21554    21537      -17     
  Branches     5348     5336      -12     
==========================================
- Hits        17270    17261       -9     
+ Misses       4259     4250       -9     
- Partials       25       26       +1     
Flag Coverage Δ
unittests 80.14% <100.00%> (+0.02%) ⬆️

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.

@sahil143
Copy link
Collaborator

/test

Copy link
Collaborator

@sahil143 sahil143 left a comment

Choose a reason for hiding this comment

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

Screenshot 2025-01-27 at 1 46 19 PM
  • Remove Kebab action dropdown from the rows
  • Learn more links look weird, gitlab link should be in next line.
  • Remove Rollback to default pipeline button from the alert
  • Why is text not center aligned like before?

@@ -394,14 +396,11 @@ const CustomizePipeline: React.FC<React.PropsWithChildren<Props>> = ({
{singleComponent ? 'Edit build pipeline plan' : 'Manage build pipelines'}
Copy link
Collaborator

Choose a reason for hiding this comment

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

Remove 'Edit build pipeline plan', pluralize 'Manage build pipeline' if there is more than one component

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@sahil143 Can you please suggest if we need to remove 'Edit build pipeline plan'?
This is the old code which was never changed by me
Updated the pluralize 'Manage build pipeline'

Copy link
Collaborator

Choose a reason for hiding this comment

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

yes, Remove Edit build pipeline

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Removed "Edit build pipeline plan".

Comment on lines 344 to 345
const gitlabURL =
'https://konflux-ci.dev/docs/how-tos/configuring/creating-secrets/#creating-source-control-secrets';
Copy link
Collaborator

Choose a reason for hiding this comment

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

You can use the link in component, no need to create a variable.

Copy link
Contributor

Choose a reason for hiding this comment

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

Also in some ticket we changed gitlab and github naming to git.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Updated the changes.

@rakshett rakshett requested a review from sahil143 February 4, 2025 09:57
@@ -228,7 +175,7 @@ const Row: React.FC<
workspace,
Copy link
Contributor

Choose a reason for hiding this comment

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

should not here be namespace not workspace?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

This is present from the beginning. Please let me know if the change required.

Copy link
Contributor

Choose a reason for hiding this comment

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

It gets changed in another PR so it should be fine.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Okay, thanks.

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