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

Open route URL in browser #3718

Conversation

msivasubramaniaan
Copy link
Collaborator

@msivasubramaniaan msivasubramaniaan commented Dec 11, 2023

Fixes: #3652

open-route-url.mp4

Note: Currently hardcoded the route URL with http

Signed-off-by: msivasubramaniaan <msivasub@redhat.com>
Copy link

codecov bot commented Dec 11, 2023

Codecov Report

Attention: 13 lines in your changes are missing coverage. Please review.

Comparison is base (233e74b) 33.24% compared to head (3abdbc2) 33.21%.
Report is 5 commits behind head on main.

Files Patch % Lines
src/oc/ocWrapper.ts 30.00% 7 Missing ⚠️
src/openshift/cluster.ts 16.66% 5 Missing ⚠️
src/explorer.ts 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3718      +/-   ##
==========================================
- Coverage   33.24%   33.21%   -0.03%     
==========================================
  Files          84       84              
  Lines        6136     6156      +20     
  Branches     1253     1257       +4     
==========================================
+ Hits         2040     2045       +5     
- Misses       4096     4111      +15     

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

Copy link
Collaborator

@datho7561 datho7561 left a comment

Choose a reason for hiding this comment

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

One quick change, but otherwise seems to be working well!

src/oc/ocWrapper.ts Outdated Show resolved Hide resolved
vrubezhny
vrubezhny previously approved these changes Dec 11, 2023
Copy link
Contributor

@vrubezhny vrubezhny 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 to me if getRoute(project: string) function is inlined as @datho7561 suggested.

Signed-off-by: msivasubramaniaan <msivasub@redhat.com>
Copy link
Collaborator

@datho7561 datho7561 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. Thank you, Muthu!

@datho7561 datho7561 merged commit 3c68f0b into redhat-developer:main Dec 12, 2023
4 of 6 checks passed
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.

None yet

3 participants