joostdecock
fe61e85fa9
Merge branch 'develop' into i18n3
2023-06-26 18:50:52 +02:00
dependabot[bot]
c6dd447d07
chore(deps-dev): bump eslint from 8.42.0 to 8.43.0
...
Bumps [eslint](https://github.com/eslint/eslint ) from 8.42.0 to 8.43.0.
- [Release notes](https://github.com/eslint/eslint/releases )
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md )
- [Commits](https://github.com/eslint/eslint/compare/v8.42.0...v8.43.0 )
---
updated-dependencies:
- dependency-name: eslint
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-06-26 05:10:58 +00:00
joostdecock
9863ac21d8
fix(react-components): Bug in how defs is added
2023-06-24 10:39:09 +02:00
joostdecock
714c4ae368
feat(core): Added snippet.scale() and snippet.rotate() methods
2023-06-21 11:46:35 +02:00
Enoch Riese
64bffa5ff9
fix (designs) add missing measurements to design configs
2023-06-20 18:18:39 -05:00
joostdecock
73dc20e1d2
fix(core): Make mergeI18n options optional
2023-06-17 20:15:33 +02:00
Joost De Cock
1264a07afe
Merge branch 'develop' into i18n3
2023-06-17 20:11:44 +02:00
joostdecock
e8613c4e89
fix: linter warning
2023-06-17 13:47:37 +02:00
joostdecock
e35136e755
fix: Linter warnings
2023-06-17 13:44:08 +02:00
joostdecock
8450385602
fix(new-design): Don't rely on reconfigure for build
2023-06-17 13:40:48 +02:00
joostdecock
783e1fa683
chore: Linter warings
2023-06-17 13:28:17 +02:00
joostdecock
6da48ce4aa
feat(react-components): Added PatternXray component
2023-06-17 13:20:05 +02:00
joostdecock
26f937db9d
chore: Don't run reconfigure prior to build
2023-06-16 20:08:58 +02:00
Joost De Cock
fa2dee585c
Merge pull request #4293 from trentonTrama/fix/issue-4290/support-windows-paths-in-new-design
...
fix(new-design): Import using absolute identifier
2023-06-15 20:29:25 +02:00
Trenton Trama
141ed19a8f
fix(new-design): Import using absolute identifier
...
Fixes #4290
Prepends `file://` schema during the import of template data to support
windows paths.
2023-06-15 11:07:40 -05:00
joostdecock
01e2d4e41a
Merge branch 'develop' into joost
2023-06-12 18:22:14 +02:00
joostdecock
c5753abdc0
feat(core): Allow toAbs for non-snapped values too
2023-06-11 18:04:49 +02:00
joostdecock
264a441c35
fix(shared): Check for text attributes before using them
2023-06-11 18:04:28 +02:00
joostdecock
631ea8a50d
feat(core): New mergeOptions method and passing mergedOtions to toAbs
...
When using toAbs for all but the most trivial cases, one needs access to
the options. Unlike measurements which are always there, options aren't
always set since they are only set when they differ from the default.
This would shift a lot of responsibility on the pattern designer who
would have to check whether an option is set, and if it's not use the
default which in turn depends on what type of an option it is (and it's
pct for example you have to remember to divide it by 100 and so on).
This feels footgun-y so instead I've added a `mergeOptions` method that
merges the options passed by the user with the defaults from the pattern
config so that you have a simple object with all option values.
This should get passed to `toAbs()` as the 3rd parameter.
2023-06-11 14:16:07 +02:00
joostdecock
c1fdf83088
feat(core): Consistent debug output style
2023-06-11 09:41:32 +02:00
joostdecock
46f547eb14
feat(core): Log message formatting improvements
2023-06-11 09:36:16 +02:00
joostdecock
88f74a4e5e
feat(core): better log message formatting
2023-06-11 09:30:53 +02:00
joostdecock
66841b6a7f
feat(core): Added new translation proposal for designs
2023-06-09 20:44:19 +02:00
Joost De Cock
fa0f643e4a
Merge branch 'develop' into undanger-defs
2023-06-09 18:20:26 +02:00
joostdecock
a99f14e7ac
chore(react-components): Fix linter warning
2023-06-09 18:19:00 +02:00
joostdecock
f2bfcf81f2
fix(react-component): Removed backed up code
2023-06-08 20:38:02 +02:00
joostdecock
50f7df93bb
fix(react-components): Avoid use of dangerouslySetInnerHTML in Defs
2023-06-08 20:29:52 +02:00
Joost De Cock
62c7978e26
Merge pull request #4201 from freesewing/joost
...
wip(shared): Adding the pattern inspector
2023-06-08 19:21:06 +02:00
Enoch Riese
3503d97fae
lint fixes for react-components
2023-06-07 10:06:30 -05:00
Joost De Cock
b7eae016ac
Merge branch 'joost' into eriese-export-view
2023-06-07 14:49:53 +02:00
Joost De Cock
7a77051b97
Merge branch 'joost' into eriese-edit-view
2023-06-07 14:47:18 +02:00
Enoch Riese
84687fbf3e
yaml edit view in new ui
2023-06-06 16:58:59 -05:00
Enoch Riese
7210cc60cc
implement export view in new UI
2023-06-06 15:20:07 -05:00
Enoch Riese
7988aa9b31
measurements sampling menu
2023-06-06 14:31:27 -05:00
Enoch Riese
5905e999a1
remove opinionated changes from react-components
2023-06-06 13:24:20 -05:00
Enoch Riese
15c4201906
cutting layout view
2023-06-06 11:17:14 -05:00
Enoch Riese
b879e23018
movable pattern for print layout
2023-06-05 16:08:58 -05:00
joostdecock
b174eff5f8
fix(core): Allow paperless to be truthy
2023-06-05 18:39:50 +02:00
dependabot[bot]
4ab92710ed
chore(deps-dev): bump eslint from 8.41.0 to 8.42.0
...
Bumps [eslint](https://github.com/eslint/eslint ) from 8.41.0 to 8.42.0.
- [Release notes](https://github.com/eslint/eslint/releases )
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md )
- [Commits](https://github.com/eslint/eslint/compare/v8.41.0...v8.42.0 )
---
updated-dependencies:
- dependency-name: eslint
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-06-05 05:01:14 +00:00
joostdecock
17725ff941
fix(react-components): Paperless grid in Pattern
2023-06-04 17:28:02 +02:00
joostdecock
57457ee841
chore(react-components): Tweaks to pattern
2023-06-04 16:52:20 +02:00
joostdecock
ab6511f4b9
chore(core): Cleaned up renderprops
2023-06-04 16:52:02 +02:00
joostdecock
982b3984b8
feat(core): Added support for renderProps in defs
2023-06-04 16:44:38 +02:00
joostdecock
4075e35641
wip(shared): Points support in Inspector
2023-06-02 18:21:40 +02:00
Joost De Cock
bd50aae150
Merge pull request #4202 from freesewing/serialize
...
feat(core): Added Pattern.getLogs() and updated Pattern.getRenderProps()
2023-06-02 14:25:24 +02:00
Joost De Cock
b829883674
Merge pull request #4203 from freesewing/react-components
...
feat(react-components): Added Pattern component
2023-06-01 18:34:00 +02:00
joostdecock
e146e55c69
feat(react-components): Added Pattern component
2023-06-01 18:28:22 +02:00
joostdecock
a2800dddda
feat(core): Added Pattern.getLogs() and updated Pattern.getRenderProps()
...
The data returned by `Pattern.getRenderProps()` was not serializable as
we were returning `this` all over the place, thereby including marcors,
log methods, cyclic object references, and so on.
This commit changes that by implementing a `.asRenderProp()` method on
all of the various objects (stack, part, path, point, snippet,
attributes, svg) and only including data that can be serialized.
In addition, we no longer include the logs in the renderProps because
they are not related to rendering the pattern.
Instead, the new method `Pattern.getLogs()` gives you the logs.
2023-06-01 16:45:13 +02:00
Joost De Cock
874d896aa2
Merge pull request #4160 from BenJamesBen/design-name-characters
...
fix(new-design): Changed design name acceptable characters
2023-05-30 19:26:41 +02:00
Benjamin Fan
9c91cef752
fix(new-design): Remove hyphen as a valid design name character
2023-05-27 10:14:30 -07:00