You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Show the Drawing workspace core panel options (#16220) - #16229
The Drawing workspace shows the forms for views, dimensions, notes, sheet settings, and parts lists in the shared inspector. The inspector uses current drawing values where available. Unfinished actions stay disabled. Add Sheet opens the paper preview and creates a sheet through the existing drawing command.
The forms follow the Drawing workspace design in #13159 and use the shared panels that landed in #17024.
Quick compile and Format and repository checks passed. The combined Windows preview with the ribbon from #16227 opened on a two-sheet sample. I inspected Base View, Sheet Settings, and Add Sheet.
Auto reviews are disabled on base/target branches other than the default branch.
Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.
You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.
Use the checkbox below for a quick retry:
Trigger review
Pre-merge checks: 1
Failed checks: 1 warning
Check name
Status
Explanation
Resolution
Existing Defaults Unchanged
The PR changes how Add Sheet works for users who already use it. The PR description says Changes a default: no, so the description also fails the check. Scope: the PR is three commits on top of `abd…
1. Restore the immediate Add Sheet on the usual paths (Browser "+", Sheet Settings "Add", ribbon, palette and shortcut). Keep the form only behind a separate, explicit command. Otherwise, document the new flow in the description. 2. If the …
Full details: Existing Defaults Unchanged
Explanation
The PR changes how Add Sheet works for users who already use it. The PR description says Changes a default: no, so the description also fails the check. Scope: the PR is three commits on top of abdf195: a5c78d514d, 90996034fb and 7490b52cc7. The changed files are crates/ui-egui/src/drawing_workspace.rs, drawing_workspace/panels.rs, drawing_sheet_page.rs, workspace.rs (test only) and a pending locale file. No solidcore/ or kernel code changed. Changed UX defaults, with before and after: 1. Add Sheet, the usual way (Browser "+", Sheet Settings "Add", and the ribbon, palette and shortcut for drawing.sheet.add). - Before: the old add_sheet (a5c78d514d^, drawing_workspace.rs:202) ran drawing.sheet.add with {} at once. The engine added a sheet after the last one and copied the last sheet's size, orientation, border and title block (crates/engine/src/cmd/drawing_sheet.rs:16-17). - After: open_add_sheet (drawing_workspace.rs:235) opens a form. Nothing is added until the user clicks OK (panels.rs:379-389). drawing.sheet.add is now in can_open_options (drawing_workspace.rs:64), so the ribbon, palette and shortcut open the form too. - The form always sends size (panels.rs:380). Its default is the last sheet's size only when that size is standard. Otherwise it defaults to A3. A last sheet with a custom size therefore gives a different new sheet than before. 2. Dock left and Dock right buttons. - Before: the buttons showed in every Drawing panel. - After: they show only when options.is_none() (drawing_workspace.rs:627). They are hidden in the tool panels for Base View, Projected View, Edit, Dimension, Note and Parts List. The preference default drawing_panel_side = "right" is unchanged. 3. Tool panel contents and footer. - Before: Base View showed disabled "Source", "Orientation" and "Scale" rows. The footer had an "Apply (not implemented)" button. - After: Base View shows different controls. "Front" is the default selected view and "Auto fit" the default scale. The footer shows "Finish" (disabled), or "OK", "Apply" (disabled) and an enabled "Cancel" in the other tools. - drawing.view.edit and drawing.parts_list now open these panels from the toolbar. Before the PR they were not in can_open_options. 4. Sheet Settings panel. - Before: Size, orientation, title block and border showed as disabled placeholders. - After: Name, Size, Orientation and DPI are editable. The count and print checkboxes write through drawing.sheet.set when changed. This is new behaviour, but it changes the panel a user already opens. Additive changes, which do not fail the check: double-clicking a view, dimension or parts list on a sheet opens its editor, and double-clicking a row in the Drawing Browser does the same. No earlier handler existed for these double-clicks. Because the description says Changes a default: no, and the code changes the Add Sheet default flow, the check fails on two counts.
Resolution
Restore the immediate Add Sheet on the usual paths (Browser "+", Sheet Settings "Add", ribbon, palette and shortcut). Keep the form only behind a separate, explicit command. Otherwise, document the new flow in the description. 2. If the form stays, make its size default match the old clone exactly. A last sheet with a custom size must keep its custom size. Do not default to A3. Do not always send size. 3. Keep the Dock left and Dock right buttons visible in tool panels, or record this layout change in the description. 4. Record the Base View, Sheet Settings and footer changes (listed above) in the description, with before and after for each default shown. 5. Change the description from Changes a default: no to Changes a default: yes, and list each changed default with what the user sees before and after.
Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
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
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.
The Drawing workspace shows the forms for views, dimensions, notes, sheet settings, and parts lists in the shared inspector. The inspector uses current drawing values where available. Unfinished actions stay disabled. Add Sheet opens the paper preview and creates a sheet through the existing drawing command.
The forms follow the Drawing workspace design in #13159 and use the shared panels that landed in #17024.
Closes #16220.
Part of #4894.
Changes a default: no
Quick compile and Format and repository checks passed. The combined Windows preview with the ribbon from #16227 opened on a two-sheet sample. I inspected Base View, Sheet Settings, and Add Sheet.