1
0
Fork 0

[react] fix: Various fixes for the measurement view and editor (#233)

Various fixes for the measurement view and editor:

- Translate measurements in the measurement set view and align the measurements table properly
- Display a question mark next to the measurements that links to the corresponding docs page

This fixes a part of #226

Reviewed-on: https://codeberg.org/freesewing/freesewing/pulls/233
Reviewed-by: Joost De Cock <joostdecock@noreply.codeberg.org>
Co-authored-by: Jonathan Haas <haasjona@gmail.com>
Co-committed-by: Jonathan Haas <haasjona@gmail.com>
This commit is contained in:
Jonathan Haas 2025-04-13 08:57:54 +00:00 committed by Joost De Cock
parent c5b0daf390
commit 36da79afb6
10 changed files with 49 additions and 19 deletions

View file

@ -40,6 +40,7 @@ export const Editor = ({
preload = {},
setTitle = false,
localDesigns = {},
measurementHelpProvider = false,
}) => {
/*
* Bundle all designs
@ -144,6 +145,7 @@ export const Editor = ({
{...extraProps}
{...{ view, update, designs, config: editorConfig }}
state={passDownState}
measurementHelpProvider={measurementHelpProvider}
/>
</LoadingStatusContextProvider>
</ModalContextProvider>