Feat/2.6.0 0811 - #2293
Merged
Merged
Conversation
…surfaces The member list, the create-page draft and the two "新增授权" dialogs had each grown their own version of the same two things — so the level control looked different depending on where you opened it, and the draft picker was a look-alike of the share dialog rather than the same dialog. - PermissionLevelMenu extracts the list's dropdown (levels, separator, destructive 移除) and the draft editor adopts it, dropping its RelationSelect + separate delete icon button. Removal now always lives inside the menu, never as a button beside it; a row with neither permission renders the plain label at the same width, so the column never jitters. - permissionDialogStyles holds the share dialog's chrome verbatim — shell sizing (80vh card / full-screen under 768px), subject tabs, 包含子部门 toggle, footer captions — and the draft picker consumes it instead of re-approximating it. - Empty authorization lists get their own copy (new key, three languages) instead of borrowing the search-result empty text. Co-Authored-By: Claude Opus 5 <[email protected]>
- AccessModeSelector rows now behave like the options they are: hover tint, brand-tinted background while checked, and the label kept on one line so only the description truncates. Disabled rows opt out of the hover tint so they still read as unavailable. - That truncated description gets the same hover-only tooltip the member list uses, so TruncatedTooltip moves out of PermissionListTab into its own module. Its polymorphic ref keeps one `any` — now with an inline reason — and the file's suppression entry shrinks. - Both settings pages center their footer actions unconditionally; the knowledge page had centered only in create mode, so the same footer jumped between layouts depending on how you entered it. Co-Authored-By: Claude Opus 5 <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
简要描述做了什么改动。
Why
为什么需要这个改动?
How
实现方式、设计决策(如有)。
Test
Related