Dynamic element loading for state changes #379

Closed
opened 2024-11-20 15:24:29 +00:00 by erictapen · 0 comments
erictapen commented 2024-11-20 15:24:29 +00:00 (Migrated from github.com)

I'd like to replace https://github.com/Nix-Security-WG/nix-security-tracker/issues/321 with this.

As as security member, I want to change states of suggestions (automatic, dismissed, selected) with as little friction as possible. It is going to happen, that in my workflow I will dismissed hundreds of suggestions by clicking on it.

Therefore, the time until the next interaction is possible shouldn't be noticable. Currently, we have a page reload here which takes quite some time.

By not reloading the entire page via POST, but just swapping the suggestion tile with something that makes clear that its state got changed (and maybe even allows for a quick undo of a wrong action) we can make this much more of a pleasure to go through.

Also I think I understand HTMX sufficiently now that it wouldn't be so hard to accomplish this.

I'd like to replace https://github.com/Nix-Security-WG/nix-security-tracker/issues/321 with this. As as security member, I want to change states of suggestions (automatic, dismissed, selected) with as little friction as possible. It is going to happen, that in my workflow I will dismissed hundreds of suggestions by clicking on it. Therefore, the time until the next interaction is possible shouldn't be noticable. Currently, we have a page reload here which takes quite some time. By not reloading the entire page via POST, but just swapping the suggestion tile with something that makes clear that its state got changed (and maybe even allows for a quick undo of a wrong action) we can make this much more of a pleasure to go through. Also I think I understand HTMX sufficiently now that it wouldn't be so hard to accomplish this.
Sign in to join this conversation.
No description provided.