-
Notifications
You must be signed in to change notification settings - Fork 22
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
#3075 Adjustments to action td on tables - [NL] #3444
Conversation
…80px. Add Action column updates to Members table.
🥳 Successfully deployed to developer sandbox nl. |
🥳 Successfully deployed to developer sandbox nl. |
let existingExtraActionsHeader = document.querySelector('.extra-actions-header'); | ||
|
||
if (hasEditPermission && !existingExtraActionsHeader) { | ||
const extraActionsHeader = document.createElement('th'); | ||
extraActionsHeader.setAttribute('id', 'extra-actions'); | ||
extraActionsHeader.setAttribute('role', 'columnheader'); | ||
extraActionsHeader.setAttribute('class', 'extra-actions-header width-5'); | ||
extraActionsHeader.innerHTML = ` | ||
<span class="usa-sr-only">Extra Actions</span>`; | ||
let tableHeaderRow = this.tableWrapper.querySelector('thead tr'); | ||
tableHeaderRow.appendChild(extraActionsHeader); | ||
} |
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.
good cleanup, thanks
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.
Pulled locally and tested. Behaves well on all tables. Code looks good.
Nice job
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as resolved.
This comment was marked as resolved.
🥳 Successfully deployed to developer sandbox nl. |
The changes look good to me, definitely an improvement! @gabydisarli Sorry if I'm being annoying, but I think I'm still confused on why the right margin is larger than the left margin? Like if you compare the red and blue lines in the screenshot, the red line is longer. |
🥳 Successfully deployed to developer sandbox nl. |
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.
Looks really good! Thanks, Nicole!
Ticket
Resolves #3075
Changes
Context for reviewers
The ACs for this ticket were slightly modified during talks with design. Modifications are as follows;
Setup
Code Review Verification Steps
Verify the following for all org/non-org tables
As the original developer, I have
Satisfied acceptance criteria and met development standards
Ensured code standards are met (Original Developer)
Validated user-facing changes (if applicable)
As a code reviewer, I have
Reviewed, tested, and left feedback about the changes
Validated user-facing changes as a developer
Note: Multiple code reviewers can share the checklists above, a second reviewer should not make a duplicate checklist. All checks should be checked before approving, even those labeled N/A.
As a designer reviewer, I have
Verified that the changes match the design intention
Validated user-facing changes as a designer
References
Screenshots