Wizard: Tighten row spacing and hide idle password hints (HMS-10793) - #4644
Wizard: Tighten row spacing and hide idle password hints (HMS-10793)#4644mgold1234 wants to merge 1 commit into
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. @@ Coverage Diff @@
## main #4644 +/- ##
==========================================
- Coverage 77.85% 77.80% -0.05%
==========================================
Files 264 264
Lines 7066 7066
Branches 2603 2603
==========================================
- Hits 5501 5498 -3
- Misses 1471 1474 +3
Partials 94 94
Flags with carried forward coverage won't be shown. Click here to find out more.
... and 3 files with indirect coverage changes Continue to review full report in Codecov by Harness.
🚀 New features to boost your workflow:
|
8f61cc4 to
edffb94
Compare
044f02f to
5d291e3
Compare
There was a problem hiding this comment.
Hey - I've left some high level feedback:
- The inline table padding overrides are duplicated in both UserInfo and GroupInfo; consider extracting these CSS custom properties into a shared style or class to avoid repetition and keep future tuning in one place.
- In
PasswordValidatedInput,hasErrortreatsruleLength === 'indeterminate'as an error but notruleCharacters === 'indeterminate; it may be worth aligning the behavior of these two rules or documenting why they differ.
Prompt for AI Agents
Please address the comments from this code review:
## Overall Comments
- The inline table padding overrides are duplicated in both UserInfo and GroupInfo; consider extracting these CSS custom properties into a shared style or class to avoid repetition and keep future tuning in one place.
- In `PasswordValidatedInput`, `hasError` treats `ruleLength === 'indeterminate'` as an error but not `ruleCharacters === 'indeterminate`; it may be worth aligning the behavior of these two rules or documenting why they differ.Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.
30cae2d to
6b93726
Compare
|
/retest |
There was a problem hiding this comment.
Hiya! I took a look at the PR, and I'm unsure if the compactTableStyle.ts is the way we want to go - generally, we don't mess with the CSS properties if we can avoid it. And if I understand correctly, this new file, together with the resetOffset, just changes the padding of the table - but to be honest, I do not see the difference between before and after. Maybe I'm missing something, if so, feel free to correct me!
And I noticed a problem with the validation, which should definitely be fixed, but could be a follow-up.
|
/retest |
|
@regexowl up to you, what do you prefer? merge it or wait? |
|
@regexowl can we merge it? |
|
Since the only difference between the tables is the offset, let's maybe just leave the |
Add resetOffset to Tr components in UserRow and GroupRow to reduce spacing around inputs. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

Reset table row offset in Users and Groups for neater input spacing.


Only show password validation helper text when the input is focused
or has errors.
Before:
After:
JIRA: HMS-10793