Skip to content

Minimize re-rendering of 'bulk update users' table#2249

Merged
alexpetros merged 2 commits intobigskysoftware:masterfrom
yawaramin:bulk-update-example
Feb 1, 2024
Merged

Minimize re-rendering of 'bulk update users' table#2249
alexpetros merged 2 commits intobigskysoftware:masterfrom
yawaramin:bulk-update-example

Conversation

@yawaramin
Copy link
Copy Markdown
Contributor

Description

Use ARIA to announce a summary of the bulk update. By using a checkbox input to represent the activation status, we don't need to re-render it when it's changed, because the checkbox itself manages that state.

Corresponding issue: #1431

Testing

Tested manually by running Zola locally, verified behaviour works as intended.

Checklist

  • I have read the contribution guidelines
  • I have targeted this PR against the correct branch (master for website changes, dev for
    source changes)
  • This is either a bugfix, a documentation update, or a new feature that has been explicitly
    approved via an issue
  • I ran the test suite locally (npm run test) and verified that it succeeded

And use ARIA to announce a summary of the bulk update. By using a
checkbox input to represent the activation status, we don't need to
re-render it when it's changed, because the checkbox itself manages that
state.

Re: bigskysoftware#1431
@yawaramin
Copy link
Copy Markdown
Contributor Author

Screenshot

Screenshot 2024-01-27 at 11 08 43

Copy link
Copy Markdown
Collaborator

@alexpetros alexpetros left a comment

Choose a reason for hiding this comment

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

Yup, I like it, thanks @yawaramin !

@alexpetros alexpetros merged commit e6e4236 into bigskysoftware:master Feb 1, 2024
@yawaramin yawaramin deleted the bulk-update-example branch February 1, 2024 18:06
rekado pushed a commit to rekado/htmx that referenced this pull request Feb 9, 2024
* Minimize re-rendering of 'bulk update users' table

And use ARIA to announce a summary of the bulk update. By using a
checkbox input to represent the activation status, we don't need to
re-render it when it's changed, because the checkbox itself manages that
state.

Re: bigskysoftware#1431

* Improve screen reader pronunciation
FraserChapman pushed a commit to FraserChapman/htmx that referenced this pull request Feb 16, 2024
* Minimize re-rendering of 'bulk update users' table

And use ARIA to announce a summary of the bulk update. By using a
checkbox input to represent the activation status, we don't need to
re-render it when it's changed, because the checkbox itself manages that
state.

Re: bigskysoftware#1431

* Improve screen reader pronunciation
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants