forked from 1b-agent/opencadstudio-upstream
feat(ribbon): contextual Block Editor tab while editing a block
Opening the block editor brings up a Block Editor ribbon tab with Edit / Save / Discard, Attribute Definition, and the geometric, dimensional and parameter tools that drive parametric blocks. The tab is only listed while a block editor session is open, and leaving the session returns to the tab that was active before. Refs #509 Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
1 parent
5dd05bca18
commit
9724447dd0
28 files changed
+126
-2
No files matched your search
@@ -365,6 +365,7 @@ pub fn ribbon_module_title(id: &str, fallback: &str) -> String {
|
||||
"layout" => crate::tr!("ribbon-tab", "layout"),
|
||||
"manage" => crate::tr!("ribbon-tab", "manage"),
|
||||
"view" => crate::tr!("ribbon-tab", "view"),
|
||||
"block_editor" => crate::tr!("ribbon-tab", "block-editor"),
|
||||
_ => fallback.to_string(),
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user