Skip to content

perf(dashboard): list checks visibility only, lazy-load actions on de… - #2328

Merged
zgqgit merged 1 commit into
releasefrom
feat/3.0.0-beta1
Aug 18, 2026
Merged

perf(dashboard): list checks visibility only, lazy-load actions on de…#2328
zgqgit merged 1 commit into
releasefrom
feat/3.0.0-beta1

Conversation

@zgqgit

@zgqgit zgqgit commented Aug 18, 2026

Copy link
Copy Markdown
Collaborator

…mand

The dashboard list resolved both 'visible' and 'edit' for every candidate (cost = candidates x 2) and set a 'write' flag the frontend never consumed. Now the list decides visibility only.

Edit/delete/manage_permission are resolved lazily per resource via the existing my-permissions endpoint: the sidebar no longer fires a permission request per row on load, and each item fetches its own actions on hover / menu open. Visibility is trusted from the server list.

What

简要描述做了什么改动。

Why

为什么需要这个改动?

How

实现方式、设计决策(如有)。

Test

  • 本地测试通过
  • 114 测试服务器验证通过

Related

  • Issue/ticket:

…mand

The dashboard list resolved both 'visible' and 'edit' for every candidate
(cost = candidates x 2) and set a 'write' flag the frontend never consumed.
Now the list decides visibility only.

Edit/delete/manage_permission are resolved lazily per resource via the
existing my-permissions endpoint: the sidebar no longer fires a permission
request per row on load, and each item fetches its own actions on hover /
menu open. Visibility is trusted from the server list.
@zgqgit
zgqgit merged commit a58dcc3 into release Aug 18, 2026
0 of 2 checks passed
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.

1 participant