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
Services filtering and other stuff #11241
Services filtering and other stuff #11241
Changes from all commits
a3fbd68
7810c26
bdbec7b
8419b27
8bde893
b2d793d
3a4eabd
1930ee5
b06c558
3b24103
29b40e6
f77d03f
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.
These aren't being used anywhere, in CSS nor tests. Is that planned?
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.
@garrett ?
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.
I had them in CSS at some point.
This specific one was being used for the width calculation. The CSS was targeting both the
th
andtd
for fixing the width... I looked and found in in the CSS locally, but updated the branch and don't see it anymore; I guess that changed at the end of last week?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.
Not so specific to this PR (anymore), but an aside with background info:
Also, I come across unclassed
<th>
s,<td>
s all the time in Cockpit and see people target them with:first-child
,:last-child
,:nth-child()
and such — we shouldn't target tables (or most elements) like this, unless it's really supposed to be the first or last element and not a specific row. That's why I added it.(Although, we can fix it on the fly if we do need to target a specific element too.)
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.
Ah, cool to see tabindex as the tabs need to be selected — but why is it in
<li>
instead of<a>
? (Better yet would be to addhref
to the<a>
, instead of using atabindex
, and use a URL fragment* to remember the state in the URL.)* URL fragment (
#this-thing-here
), not to be confused with a Document Fragment, React.Fragment, CSS Fragmentation, or anything else called "fragment" in webdev. 😉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.
FTR, in the spirit of #11155 this should become an actual
<select>
soon. Right now the selector isn't keyboard navigatable at all. Fine for a follow-up of course.