Skip to content
This repository has been archived by the owner on Nov 27, 2023. It is now read-only.

chore: Hide Config tab if no properties exist #1658

Merged
merged 1 commit into from
Apr 18, 2023

Conversation

pnaik1
Copy link
Contributor

@pnaik1 pnaik1 commented Apr 17, 2023

fixes #1271

Screen Shot 2023-04-17 at 10 43 28 am

@pnaik1 pnaik1 requested a review from a team April 17, 2023 07:12
@codecov
Copy link

codecov bot commented Apr 17, 2023

Codecov Report

Merging #1658 (a3d98ae) into main (2ae52d8) will increase coverage by 0.01%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main    #1658      +/-   ##
==========================================
+ Coverage   65.58%   65.59%   +0.01%     
==========================================
  Files          71       71              
  Lines        2057     2058       +1     
  Branches      469      470       +1     
==========================================
+ Hits         1349     1350       +1     
  Misses        666      666              
  Partials       42       42              
Impacted Files Coverage Δ
src/components/VisualizationStepViews.tsx 69.62% <100.00%> (+0.38%) ⬆️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

Copy link
Collaborator

@kahboom kahboom left a comment

Choose a reason for hiding this comment

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

Tiny nitpick, otherwise this looks good. 👍

src/components/VisualizationStepViews.tsx Outdated Show resolved Hide resolved
@pnaik1
Copy link
Contributor Author

pnaik1 commented Apr 17, 2023

yeah sure @kahboom , is there any way to format the particular page? . I tried using npm run format:fix , its formatting all the pages

@kahboom
Copy link
Collaborator

kahboom commented Apr 17, 2023

@pnaik1 - Thanks for making the change. Unfortunately we don't have a pre-commit hook added yet, maybe I will look at that this week. If you use VSCode, it specifically has an option to apply Prettier only to files changed: https://code.visualstudio.com/updates/v1_49#_only-format-modified-text

Btw, it looks like DeepScan is complaining because it wants you to add > 0 like this: {step.parameters?.length > 0 && !hasConfigView && (. You can see the check here. If you don't mind making that quick change I will be happy to merge this.

@sonarcloud
Copy link

sonarcloud bot commented Apr 17, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

Copy link
Collaborator

@kahboom kahboom left a comment

Choose a reason for hiding this comment

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

thanks so much @pnaik1 !

@kahboom kahboom merged commit f043635 into KaotoIO:main Apr 18, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Step Detail: Hide Config tab if no properties exist
2 participants