feat(clipping): implement hide/recover toggle for all section dialogs
Update all three section dialogs to support hide/show toggle: SectionAxisDialogManager: - onHideToggle now calls hideSection()/recoverSection() SectionBoxDialogManager: - onHideToggle now calls hideSection()/recoverSection() SectionPlanePanel: - Add isHidden state tracking - Change onHide to onHideToggle(isHidden) - Add setHiddenState/getHiddenState methods - Update button to toggle active state SectionPlaneDialogManager: - Switch to onHideToggle callback - Call hideSection()/recoverSection() based on toggle state Behavior: Click hide button to hide section, click again to recover.
This commit is contained in:
@@ -178,5 +178,28 @@ export const enUS: TranslationDictionary = {
|
||||
},
|
||||
map: {
|
||||
dialogTitle: 'Map'
|
||||
},
|
||||
aiChat: {
|
||||
title: 'AI Assistant',
|
||||
placeholder: 'Ask a question...',
|
||||
quickPrompt: {
|
||||
summarize: 'Summarize this model',
|
||||
explain: 'Explain selected component',
|
||||
generate: 'Generate report'
|
||||
},
|
||||
action: {
|
||||
new: 'New Chat',
|
||||
history: 'History',
|
||||
settings: 'Settings',
|
||||
close: 'Close'
|
||||
},
|
||||
helper: {
|
||||
newline: 'Shift + Enter for new line',
|
||||
send: 'Enter to send'
|
||||
},
|
||||
thinking: 'Thinking...',
|
||||
other: 'Other',
|
||||
otherPlaceholder: 'Enter custom answer',
|
||||
submit: 'Submit'
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user