Thursday, October 24, 2024
2 changes · master
Code cleanup and technical improvements
Side panel section titles now use a clearer configuration method while preserving translation support. This is an internal cleanup that makes spreadsheet-related side panels easier to maintain without changing user workflows.
Original PR description
Currently, the title of a `Section` component is a title slot. We are using a slot to translate the title: a props like `title="'My title'"` wouldn't work since this props is javascript expression, while text content inside xml elements are extracted and translated. But since the introduction of the `.translate` modifier, we can use a props! It's much more natural (props vs slot) and explicit (`.translate`) Task: 4226704
A duplicate menu item in the spreadsheet edition area was removed because the same option is already provided by the core spreadsheet component. This keeps the menu configuration simpler and more consistent without changing the intended user experience.
Original PR description
This menu item is also defined in o-spreadsheet but overwritten here with the same thing (except the name, sequence and separator, which have been adapted in o-spreadsheet) Task: 4242125