Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
Remove decodeURIComponent method for KVv2 secret path on list view #28698
Remove decodeURIComponent method for KVv2 secret path on list view #28698
Changes from 13 commits
c5f92c5
4dd50ff
6e4718d
d6fd291
f8fbad0
870690a
c4de11d
d53e988
21e63a6
0bcec3b
df46d7a
59877f6
b87b0a6
acacc37
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How do we know from this assertion that it's the current breadcrumb? It seems like this might be better as
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That was my original path, but it can't find the Idx4 because it's not a link but the active page view. I could do an additional check for class
hds-breadcrumb__current
.or I could create a new selector that does not include the
a
. Below is the current selector:[data-test-breadcrumbs] li:nth-child(${idx + 1}) a
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Gotcha, that makes sense. Using classes isn't the greatest because they can change, but I'm in favor of that, since it's clearer that's what we're testing. Then we don't have to add another selector.
That, or if we could update the existing
breadcrumb
selector - which doesn't look like it's used much or at all to take avalue
argThere was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Removed the breadcrumb selector and it borked things even though I too couldn't find a usage.
Ended up creating a breadcrumbCurrentAtIdx which I feels like is valuable. It tells us we're confirming location and that it's a current status.