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

fix config and view files tab underlines #4616

Merged
merged 5 commits into from
May 14, 2024

Conversation

cbodonnell
Copy link
Contributor

@cbodonnell cbodonnell commented May 13, 2024

What this PR does / why we need it:

This PR fixes an issue where the KOTS UI subnav would not show the selected tab for the "Config", "Troubleshoot", and "View Files" tabs. This is because previously we were only considering the last element in the path, so any routes with subpaths like /config/<sequence> or /troubleshoot/analyze/<bundle-id> would cause the tabs to show as not active.

Before /app/craig-helm/tree/0:
Screenshot 2024-05-13 at 4 32 28 PM

After /app/craig-helm/tree/0:
Screenshot 2024-05-13 at 4 30 54 PM

Which issue(s) this PR fixes:

Fixes https://app.shortcut.com/replicated/story/102653/config-and-view-files-tab-lack-blue-underline-when-clicked-on

Special notes for your reviewer:

Steps to reproduce

Does this PR introduce a user-facing change?

Fixes an issue where the "Config" and "View Files" tabs would not display as active when clicked.

Does this PR require documentation?

@cbodonnell cbodonnell added type::bug Something isn't working bug::normal labels May 13, 2024
@cbodonnell cbodonnell force-pushed the cbo/sc-102653/fix-subnav-underlines branch from bab4053 to 361b9e8 Compare May 13, 2024 21:22
@@ -1,4 +1,5 @@
name: Generate kURL Add-On
description: Generate kURL Add-On
Copy link
Contributor Author

@cbodonnell cbodonnell May 13, 2024

Choose a reason for hiding this comment

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

actionlint started failing because these were missing https://github.com/replicatedhq/kots/actions/runs/9069742713/job/24919992210

@@ -49,6 +49,7 @@ runs:

- uses: chainguard-images/actions/apko-publish@main
with:
apko-image: ghcr.io/wolfi-dev/apko@sha256:87b47283433066d19b71e1cb4401be8d04b7d51f4f4263fde1977c3043b9754f
Copy link
Contributor Author

Choose a reason for hiding this comment

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

@cbodonnell cbodonnell merged commit 0bd5479 into main May 14, 2024
106 checks passed
@cbodonnell cbodonnell deleted the cbo/sc-102653/fix-subnav-underlines branch May 14, 2024 01:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug::normal type::bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants