Sort dismissed and selected views by last update #356

Closed
opened 2024-11-14 15:57:43 +00:00 by fricklerhandwerk · 3 comments
fricklerhandwerk commented 2024-11-14 15:57:43 +00:00 (Migrated from github.com)

When triaging matching suggestions and inspecting dismisses/selected entries, I want to see those items I most recently moved around at the top of the list.

(Currently they are sorted in seemingly unpredictable order.)

When triaging matching suggestions and inspecting dismisses/selected entries, I want to see those items I most recently moved around at the top of the list. (Currently they are sorted in seemingly unpredictable order.)
fricklerhandwerk commented 2024-11-15 09:56:09 +00:00 (Migrated from github.com)

Discussed with @erictapen and @RaitoBezarius :

  • set updated_at if and only if the state was changed, and sort by updated_at in the view
  • we'll have richer information in the activity log, but that will take time to arrive and will require a more expensive query anyway
Discussed with @erictapen and @RaitoBezarius : - set `updated_at` if and only if the state was changed, and sort by `updated_at` in the view - we'll have richer information in the [activity log](https://github.com/Nix-Security-WG/nix-security-tracker/issues/169), but that will take time to arrive and will require a more expensive query anyway
erictapen commented 2024-11-15 09:57:06 +00:00 (Migrated from github.com)

Small addition: we need to override the update_ad field, as the one inherited by the super class is auto-updating otherwise.

Small addition: we need to override the update_ad field, as the one inherited by the super class is auto-updating otherwise.
fricklerhandwerk commented 2024-11-29 14:55:40 +00:00 (Migrated from github.com)

Note from @alejandrosame: Currently there seems to be no transaction around the combination of change state and removing derivations; need to look into that.

Note from @alejandrosame: Currently there seems to be no transaction around the combination of change state and removing derivations; need to look into that.
Sign in to join this conversation.
No description provided.