1
0
Fork 0
Commit graph

906 commits

Author SHA1 Message Date
joostdecock
2eee247676 wip: Extended unit test 2022-08-13 14:38:59 +02:00
joostdecock
6c3208768e wip: Added support for part-level measurments and optionalMeasurements
This adds support for part-level measurements and optional measurements
2022-08-13 14:27:39 +02:00
Joost De Cock
a1a3e1c194 fix(core): Fixes for backwards compatibility 2022-08-10 16:24:25 +02:00
Enoch Riese
58b4d8cd37 Merge branch 'develop' into eriese-layout-buttons 2022-08-09 16:17:28 -05:00
Enoch Riese
1a65a16e56 separate print layout from draft layout. add better buttons 2022-08-09 16:17:17 -05:00
joostdecock
70bd946bdc wip(core/brian/aaron): Support for 2022 style part inheritance
This is very rough around the edges, but it's kinda working, so
I'm committing this now.

What this enabled is the ability to extend a part by importing
only that part and then just saying you want a part `from` the
imported one.

The imported part comes with all options, it does not currently
come with all measurements.

This also *follows* dependencies. For example in Brian, we never
explicitly add the base and sleevecap parts, they are simply
added automatically because other parts are buily *from* them.

Best to look at the source code of designs/brian and designs/aaron
to understand what's going on and how it is different.
2022-08-09 20:17:35 +02:00
joostdecock
ac9b616b99 wip(core): Support for 2022 style Design constructor
This is the first commit to tackle some exploratory work
in the context of discussion #2538 that deals with a number
of things, such as:

- Making it easier to attach parts to designs
- Making it easier to attach parts at run-time
- Simplify part inheritance into other designs
- Find ways to handle dependenices across designs
- Find ways to keep the part-specific config with the part

In this initial commit, I've update the Design constructor to
handle two different ways of calling it:

- legacy: new Design(config, plugins, conditionalPlugins)
- 2022: new Design(config)

I didn't want to call this the `new` way because that doesn't
age well, so I went with `legacy` and `2022` and this is how I
will refer to them from now on.

This is very much a work in progress and while I will create a PR
to keep on eye on the tests, I don't expect to merge this as-is.
2022-08-07 17:29:33 +02:00
joostdecock
6e2a0a33d9 fix(core): Removed debug statement in tests 2022-08-07 15:17:02 +02:00
joostdecock
a359b58229 chore: Reconfigure packages 2022-07-31 16:13:51 +02:00
Joost De Cock
3ac64f9458
Merge branch 'develop' into octoplushie 2022-07-31 15:25:40 +02:00
Joost De Cock
e334a974b5
Merge pull request #2506 from freesewing/cutlist
feat(core): Added pattern.getCutList() method
2022-07-31 15:11:34 +02:00
joostdecock
e5f991241d chore(core): Better naming of test 2022-07-31 15:04:38 +02:00
joostdecock
68c49c64ae chore(core): More unit tests 2022-07-31 14:42:42 +02:00
joostdecock
698fb7d942 chore(core): Syntax change for better test coverage 2022-07-31 14:42:42 +02:00
joostdecock
af89117598 chore(core): Adding unit tests 2022-07-31 14:42:42 +02:00
joostdecock
c67c79af8f chore(core): Tests for path 2022-07-31 14:42:42 +02:00
joostdecock
470e4ccab6 chore(core): Working on test coverage 2022-07-31 14:42:42 +02:00
joostdecock
6acb9f976a feat(core): Added pattern.getCutList() method 2022-07-31 14:32:24 +02:00
joostdecock
8d1bc3c516 feat(core): Add ability to remove cutOnFold 2022-07-31 12:17:51 +02:00
joostdecock
5c486382ec chore(core): Removed duplicate test 2022-07-31 12:01:02 +02:00
joostdecock
4de192835e chore(core): Tweaks to new methods after review 2022-07-31 09:40:40 +02:00
joostdecock
bc567874c1 feat(core): Added new cutting methods. Closes #2470 2022-07-30 20:02:42 +02:00
joostdecock
62ebfa3b73 chore(core): More unit tests 2022-07-30 16:53:07 +02:00
joostdecock
1c87769e87 chore(core): Syntax change for better test coverage 2022-07-30 15:16:17 +02:00
joostdecock
293c6bec09 chore(core): Adding unit tests 2022-07-24 21:34:22 +02:00
joostdecock
a357c2e642 chore(core): Tests for path 2022-07-23 20:21:16 +02:00
joostdecock
785c03d013 chore(core): Working on test coverage 2022-07-23 17:00:48 +02:00
joostdecock
50b37f4cb5 feat(core): Added new utility methods for attrs 2022-07-23 14:52:56 +02:00
joostdecock
21434ed2f6 chore: Added code coverage 2022-07-23 14:50:32 +02:00
Joost De Cock
1807640967 chore: Remove babel from test runners 2022-07-15 12:02:07 +02:00
Enoch Riese
0787d5bf69 fix timezone issue in changelog generation 2022-07-03 18:28:42 -05:00
Enoch Riese
bff5980557 no need for @freesewing/models as dev dependency 2022-07-03 17:39:21 -05:00
Enoch Riese
72c04edb15 isolate pattern-info in its own step 2022-07-02 21:00:53 -05:00
Joost De Cock
f7b9a8d52f chore: Reconfigure after version bump 2022-07-02 20:20:43 +02:00
Joost De Cock
23d62c55d1 pre-release: 2.21.3.-rc.0 2022-07-02 20:07:11 +02:00
Joost De Cock
7a33cf1783 chore(core): Make generatePartTransform a named export 2022-07-02 20:05:31 +02:00
Joost De Cock
aafcedf413 chore: Reconfigure packages 2022-06-30 12:10:37 +02:00
Joost De Cock
8b717197b1
Merge pull request #2316 from eriese/eriese-layout
Layout Thing Improvements
2022-06-29 12:56:33 +02:00
Enoch Riese
404718c776 clean up and document 2022-06-28 16:41:44 -05:00
Enoch Riese
b2fcee3037 consistently set up part transforms 2022-06-28 16:13:21 -05:00
Joost De Cock
9ef103fb64 release: 2.21.1 2022-06-28 08:52:21 +02:00
Joost De Cock
2f50d8f684 chore: Reconfigure packages 2022-06-27 12:52:09 +02:00
Joost De Cock
943be591cb chore: Reconfigure packages 2022-06-27 11:44:16 +02:00
Joost De Cock
9bd8f5abd3 chore: Reconfigure packages 2022-06-27 11:26:03 +02:00
Joost De Cock
457a139d25 chore: Reconfigure packages 2022-06-25 16:02:19 +02:00
Joost De Cock
074361ccee chore: Version bump 2.21.0-rc.2 2022-06-24 20:26:29 +02:00
Joost De Cock
4cba6f1804 chore: Reconfigure packages 2022-06-22 16:00:00 +02:00
Joost De Cock
0d429af2dd chore: Reconfigure packages 2022-06-22 15:59:13 +02:00
Joost De Cock
e89d3db315 chore(core): Keep exporting pctBasedOn for backwards compatibility 2022-06-22 13:23:31 +02:00
Joost De Cock
caf3494393 chore: Don't minify test builds 2022-06-22 09:37:23 +02:00