diff --git a/.all-contributorsrc b/.all-contributorsrc index 7eabd1d839e..f827c7a3159 100644 --- a/.all-contributorsrc +++ b/.all-contributorsrc @@ -867,6 +867,61 @@ "contributions": [ "code" ] + }, + { + "login": "BenJamesBen", + "name": "BenJamesBen", + "avatar_url": "https://avatars.githubusercontent.com/u/109869956?v=4", + "profile": "https://github.com/BenJamesBen", + "contributions": [ + "code", + "doc" + ] + }, + { + "login": "SimonbJohnson", + "name": "SimonbJohnson", + "avatar_url": "https://avatars.githubusercontent.com/u/2110742?v=4", + "profile": "https://github.com/SimonbJohnson", + "contributions": [ + "bug" + ] + }, + { + "login": "joeschofield0", + "name": "Joe Schofield", + "avatar_url": "https://avatars.githubusercontent.com/u/47668691?v=4", + "profile": "https://github.com/joeschofield0", + "contributions": [ + "doc" + ] + }, + { + "login": "gregsadetsky", + "name": "Greg Sadetsky", + "avatar_url": "https://avatars.githubusercontent.com/u/1017304?v=4", + "profile": "https://greg.technology/", + "contributions": [ + "doc" + ] + }, + { + "login": "nchilada", + "name": "Nikhil Chelliah", + "avatar_url": "https://avatars.githubusercontent.com/u/692925?v=4", + "profile": "https://github.com/nchilada", + "contributions": [ + "doc" + ] + }, + { + "login": "OysteinHoiby", + "name": "OysteinHoiby", + "avatar_url": "https://avatars.githubusercontent.com/u/49735055?v=4", + "profile": "https://github.com/OysteinHoiby", + "contributions": [ + "code" + ] } ], "skipCi": true diff --git a/.github/ISSUE_TEMPLATE/01_bug-report.yaml b/.github/ISSUE_TEMPLATE/01_bug-report.yaml new file mode 100644 index 00000000000..7163615fb77 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/01_bug-report.yaml @@ -0,0 +1,135 @@ +--- +name: 🐛 Bug report +description: Report a problem, or something that went wrong +title: "[bug]: " +labels: [ "\U0001F41B bug" ] +body: + - type: markdown + attributes: + value: "Bugs happen :shrug: Please complete the information below so we know what's going on :point_down:" + - type: textarea + id: desc + attributes: + label: "What seems to be the problem? 🤔" + description: Please provide a clear and concise description of the problem you encountered + placeholder: | + When I generate a Simone with my dimensions, the corners of the yoke appear malformed. \ + This happens both in the lab as on freesewing.org. Seems to occur only when the `box pleat` option is enabled. + - type: dropdown + id: pkg + attributes: + label: "Design / Plugin / Package 🧐" + description: Do you know what design/plugin/package the bug is in? + multiple: true + options: + - designs/aaron + - designs/albert + - designs/bee + - designs/bella + - designs/benjamin + - designs/bent + - designs/bob + - designs/breanna + - designs/brian + - designs/bruce + - designs/carlita + - designs/carlton + - designs/cathrin + - designs/charlie + - designs/cornelius + - designs/diana + - designs/examples + - designs/florence + - designs/florent + - designs/hi + - designs/holmes + - designs/hortensia + - designs/huey + - designs/hugo + - designs/jaeger + - designs/legend + - designs/lucy + - designs/lunetius + - designs/noble + - designs/paco + - designs/penelope + - designs/plugintest + - designs/rendertest + - designs/sandy + - designs/shin + - designs/simon + - designs/simone + - designs/sven + - designs/tamiko + - designs/teagan + - designs/theo + - designs/tiberius + - designs/titan + - designs/trayvon + - designs/tutorial + - designs/unice + - designs/ursula + - designs/wahid + - designs/walburga + - designs/waralee + - designs/yuri + - plugins/plugin-banner + - plugins/plugin-bartack + - plugins/plugin-bundle + - plugins/plugin-bust + - plugins/plugin-buttons + - plugins/plugin-cutonfold + - plugins/plugin-dimension + - plugins/plugin-export-dxf + - plugins/plugin-flip + - plugins/plugin-gore + - plugins/plugin-grainline + - plugins/plugin-i18n + - plugins/plugin-logo + - plugins/plugin-measurements + - plugins/plugin-mirror + - plugins/plugin-notches + - plugins/plugin-round + - plugins/plugin-scalebox + - plugins/plugin-sprinkle + - plugins/plugin-svgattr + - plugins/plugin-theme + - plugins/plugin-title + - plugins/plugin-validate + - plugins/plugin-versionfree-svg + - packages/components + - packages/config-helpers + - packages/core + - packages/css-theme + - packages/gatsby-remark-jargon + - packages/i18n + - packages/models + - packages/mui-theme + - packages/new-design + - packages/pattern-info + - packages/prettier-config + - packages/rehype-jargon + - packages/remark-jargon + - packages/utils + - type: dropdown + id: patron + attributes: + label: Are you a FreeSewing patron? 😃 + description: "Patrons support us financially :pray: so they get priority" + options: + - "Yes, I am a tier-2 patron ❤️" + - "Yes, I am a tier-4 patron ❤️ 💙" + - "Yes, I am a tier-8 patron ❤️ 💙 💜" + - "No, I am not 😞" + validations: + required: true + - type: textarea + id: extra + attributes: + label: Additional context + description: Add any other context or screenshots about the issue you are facing here. + - type: markdown + attributes: + value: | + Please keep in mind that **FreeSewing is a community project** that depends on **[your support](https://freesewing.org/community/join/)**. +--- diff --git a/.github/ISSUE_TEMPLATE/02_feature-request.yaml b/.github/ISSUE_TEMPLATE/02_feature-request.yaml new file mode 100644 index 00000000000..51e10143ba5 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/02_feature-request.yaml @@ -0,0 +1,38 @@ +--- +name: 🚀 Feature request +description: Suggest an idea to make FreeSewing better +title: "[feature]: " +labels: [ "\U0001F48E enhancement" ] +body: + - type: markdown + attributes: + value: "You've got a great idea to make FreeSewing better? Tell us all about it :point_down:" + - type: textarea + id: desc + attributes: + label: "What is it that you would like to see happen? 🤔" + description: Please provide a clear and concise description of what you want to happen + placeholder: | + I would like to be able to export patterns as a Gitlab snippet, just like they can be exported as a Github gist + - type: dropdown + id: patron + attributes: + label: Are you a FreeSewing patron? 😃 + description: "Patrons support us financially :pray: so they get priority" + options: + - "Yes, I am a tier-2 patron ❤️" + - "Yes, I am a tier-4 patron ❤️ 💙" + - "Yes, I am a tier-8 patron ❤️ 💙 💜" + - "No, I am not 😞" + validations: + required: true + - type: textarea + id: extra + attributes: + label: Additional context + description: Add any other context or screenshots you think will be helpful here. + - type: markdown + attributes: + value: | + Please keep in mind that **FreeSewing is a community project** that depends on **[your support](https://freesewing.org/community/join/)**. +--- diff --git a/.github/ISSUE_TEMPLATE/03_documentation-update.yaml b/.github/ISSUE_TEMPLATE/03_documentation-update.yaml new file mode 100644 index 00000000000..36920f336fa --- /dev/null +++ b/.github/ISSUE_TEMPLATE/03_documentation-update.yaml @@ -0,0 +1,44 @@ +--- +description: Suggest updates to FreeSewing documentation or site content +labels: [ "\U0001F44D good first issue", "\U0001F4D6 documentation" ] +name: "📝 Documentation or content update" +title: "[docs]: " +body: + - type: markdown + attributes: + value: "Found an issue in our documentation, a blog post, showcase or other content? Please complete the information below so we can fix it :point_down:" + - type: input + id: url + attributes: + label: "Where can we see the problem? 🤔" + description: Provide a link here to the page to be updated. If the page provides an anchor link to the section of interest (indicated by a chain icon next to a heading) please copy that link if possible. + placeholder: "https://freesewing/docs/patterns/aaron/cutting" + - type: dropdown + id: patron + attributes: + label: Are you a FreeSewing patron? 😃 + description: "Patrons support us financially :pray: so they get priority" + options: + - "Yes, I am a tier-2 patron ❤️" + - "Yes, I am a tier-4 patron ❤️ 💙" + - "Yes, I am a tier-8 patron ❤️ 💙 💜" + - "No, I am not 😞" + validations: + required: true + - type: textarea + id: suggestion + attributes: + label: Suggested content + description: Do you have any changes you'd like to suggest to improve the documentation? + - type: textarea + id: extra + attributes: + label: Additional context + description: Add any other context or screenshots about the issue you found here. + - type: markdown + attributes: + value: Looking to tackle this issue? Check out our [markdown guide](https://freesewing.dev/guides/markdown) to learn how to format documentation. + - type: markdown + attributes: + value: Please keep in mind that **FreeSewing is a community project** that depends on **[your support](https://freesewing.org/community/join/)**. +--- diff --git a/.github/ISSUE_TEMPLATE/04_showcase-template.yaml b/.github/ISSUE_TEMPLATE/04_showcase-template.yaml new file mode 100644 index 00000000000..0ffcbd3fd54 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/04_showcase-template.yaml @@ -0,0 +1,89 @@ +--- +name: 📸 (request to) add a new Showcase post +description: Add a new showcase on FreeSewing.org +title: "[showcase]: Found a great project to showcase" +labels: [ "\U0001F44D good first issue, \U0001F4F8 showcase, \U0001F917 community" ] +body: + - type: markdown + attributes: + value: "Found a great project/make to showcase? Awesome :tada: Please complete the information below so we can add it to our showcases :point_down:" + - type: input + id: url + attributes: + label: "Where can we find the awesomeness? 🤔" + description: Provide a link here to where we can find the pictures/description. Like a blog post or Instagram post, or something on Discord or ... + placeholder: "https://www.instagram.com/p/CgRPJCqjgTw/" + - type: dropdown + id: design + attributes: + label: "Do you know what FreeSewing design was used? 🧐" + description: If you know which of our patterns was used, please select one of more from the list below + multiple: true + options: + - Aaron + - Albert + - Bee + - Bella + - Benjamin + - Bent + - Bob + - Breanna + - Brian + - Bruce + - Carlita + - Carlton + - Cathrin + - Charlie + - Cornelius + - Diana + - Florence + - Florent + - Hi + - Holmes + - Hortensia + - Huey + - Hugo + - Jaeger + - Lucy + - Lunetius + - Noble + - Paco + - Penelope + - Sandy + - Shin + - Simon + - Simone + - Sven + - Tamiko + - Teagan + - Theo + - Tiberius + - Titan + - Trayvon + - Unice + - Ursula + - Wahid + - Walburga + - Waralee + - Yuri + - type: dropdown + id: permission + attributes: + label: "Do we have permission to (re)post this? ✅" + description: We only post showcases with permission from the original author. Please indicate whether or not permission was granted by choosing the relevant option in the list below + options: + - ✅ I am the original author, and hereby grant permission to repost this content + - ✅ I am not the original author, but I have asked for permission on behalf of FreeSewing and the original author granted it + - ❌ Please ask permission from the original author + - type: textarea + id: extra + attributes: + label: Additional context + description: If there is any other info or pictures you'd like to add you can do so here + - type: markdown + attributes: + value: Looking to tackle this issue? We have [a how-to that shows how to add a showcase to the site](https://freesewing.dev/editors/howtos/showcase/). + - type: markdown + attributes: + value: Please keep in mind that **FreeSewing is a community project** that depends on **[your support](https://freesewing.org/community/join/)**. +--- diff --git a/.github/ISSUE_TEMPLATE/05_all-contributors.yaml b/.github/ISSUE_TEMPLATE/05_all-contributors.yaml new file mode 100644 index 00000000000..6ccbd069b12 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/05_all-contributors.yaml @@ -0,0 +1,57 @@ +--- +name: 🎖️ All Contributors update +description: Help capture the various contributions to FreeSewing +title: "[all contributors]: Please add (username here)" +labels: [ "\U0001F49C all contributors" ] +assignees: [ 'joostdecock' ] +body: + - type: markdown + attributes: + value: "FreeSewing is an [All Contributors](https://allcontributors.org/) project. Anybody can nominate someone to be added to our contributors list. Fill in the form below to do so :point_down:" + - type: input + id: username + attributes: + label: "Who made the contribution(s)? 🤔" + description: Please enter the Github username of the person who made the contribution(s) + placeholder: "joostdecock" + - type: dropdown + id: design + attributes: + label: "What type(s) of contribution(s) did they make? 🧐" + description: Check the emoji list and descriptions below and select whatever is appropriate + multiple: true + options: + - "♿️ a11y: Reporting or working on accessibility issues" + - "🐛 bug: Reporting or working on bugs" + - "📝 blog: Writing blog posts" + - "💻 code: Writing or improving our code" + - "🖋 content: Showcase posts, newsletters, social media, and so on (not documentation or blog)" + - "📖 doc: Documentation" + - "🎨 design: Pattern design, but also UI/UX" + - "📋 eventOrganizing: Organizing events and meetups" + - "💵 financial: Provding financial support" + - "🚇 infra: Hosting, Servers, SaaS, etc." + - "🚧 maintenance: Reserved for maintainers who do a bit of everything" + - "🧑🏫 mentoring: Mentoring of new contributors" + - "📦 platform: Providing specific platform support (Linux/Mac/Windows)" + - "🔌 plugin: Writing/improving plugins" + - "📆 projectManagement: Coordinating work" + - "💬 question: Answering Questions in Issues, on Discord, etc." + - "👀 review: Reviewing Pull Requests" + - "🛡️ security: Identify and/or reduce security threats, GDPR, Privacy, etc" + - "🔧 tool: Work on tooling" + - "🌍 translation: Providing translations" + - "⚠️ test: People who write tests" + - "✅ tutorial: Creating tutorials" + - "📢 talk: Giving talks or presentations" + - "📓 userTesting: End-to-end testing" + - "📹 video: Making videos" + - type: textarea + id: extra + attributes: + label: Additional context + description: If there is any other info or pictures you'd like to add you can do so here + - type: markdown + attributes: + value: Please keep in mind that **FreeSewing is a community project** that depends on **[your support](https://freesewing.org/community/join/)**. +--- diff --git a/.github/ISSUE_TEMPLATE/1_bug-report.md b/.github/ISSUE_TEMPLATE/1_bug-report.md deleted file mode 100644 index f799e007c73..00000000000 --- a/.github/ISSUE_TEMPLATE/1_bug-report.md +++ /dev/null @@ -1,21 +0,0 @@ ---- -name: 🐛 Bug report -about: Report a problem, or something that went wrong -title: Bug report -labels: "\U0001F41B bug" -assignees: '' - ---- - -**What seems to be the problem?** - -A clear and concise description of the problem you encountered. - -**Are you a FreeSewing patron?** - - - [ ] Yes, I am :hugs: - - [ ] No, I am not :thinking: - -**Additional context** - -Add any other context or screenshots about the problem request here. diff --git a/.github/ISSUE_TEMPLATE/2_feature-request.md b/.github/ISSUE_TEMPLATE/2_feature-request.md deleted file mode 100644 index efb1fcc8dd0..00000000000 --- a/.github/ISSUE_TEMPLATE/2_feature-request.md +++ /dev/null @@ -1,21 +0,0 @@ ---- -name: 🚀 Feature request -about: Suggest an idea to make FreeSewing better -title: Feature request -labels: "\U0001F48E enhancement" -assignees: '' - ---- - -**What is it that you would like to see happen?** - -A clear and concise description of what you want to happen. - -**Are you a FreeSewing patron?** - - - [ ] Yes, I am :hugs: - - [ ] No, I am not :thinking: - -**Additional context** - -Add any other context or screenshots about the feature request here. diff --git a/.github/ISSUE_TEMPLATE/3_documentation-update.md b/.github/ISSUE_TEMPLATE/3_documentation-update.md deleted file mode 100644 index 5ef872f7f4a..00000000000 --- a/.github/ISSUE_TEMPLATE/3_documentation-update.md +++ /dev/null @@ -1,14 +0,0 @@ ---- -name: 📝 Documentation/content update -about: Suggest updates to FreeSewing documentation or site content -title: Documentation/content update -labels: "\U0001F44D good first issue, \U0001F4D6 documentation" -assignees: '' - ---- - -- Page link: Provide a link here to the page (or pages) to be updated. If the page provides an anchor link to the section of interest (indicated by a chain icon next to a heading) please copy that link if possible. -- Relevant section: If a specific section needs to be updated and you are unable to provide an anchor link, what's the heading or area of interest? -- Suggested content: Do you have any changes you'd like to suggest to improve the documentation? - -Looking to tackle this issue? Check out our [documentation for editors](https://freesewing.dev/editors/) to learn how to contribute updates. diff --git a/.github/ISSUE_TEMPLATE/4_showcase-template.md b/.github/ISSUE_TEMPLATE/4_showcase-template.md deleted file mode 100644 index 3b0d736ef19..00000000000 --- a/.github/ISSUE_TEMPLATE/4_showcase-template.md +++ /dev/null @@ -1,16 +0,0 @@ ---- -name: 📸 Showcase template -about: Add a new showcase on freesewing.org -title: Create showcase from this content -labels: "\U0001F44D good first issue, \U0001F4F8 showcase, \U0001F917 community" -assignees: '' - ---- - -- Content: Provide a link here to where we can find the content - - Permission: - - [ ] I am the original author, and hereby grant permission to repost this content - - [ ] I am not the original author, please ask permission from them - - Credit: Please enter the FreeSewing, Instagram, Twitter, or other username of the original author (if you know it and they want to be credited) - -Looking to tackle this issue? We have [a how-to that shows how to add a showcase to the site](https://freesewing.dev/editors/howtos/showcase/). diff --git a/.github/ISSUE_TEMPLATE/5_all-contributors.md b/.github/ISSUE_TEMPLATE/5_all-contributors.md deleted file mode 100644 index 6ac6da1158e..00000000000 --- a/.github/ISSUE_TEMPLATE/5_all-contributors.md +++ /dev/null @@ -1,29 +0,0 @@ ---- -name: 🎖️ All Contributors update -about: Help capture the various contributions to FreeSewing -title: "All Contributors: Please add (username here)" -labels: "\U0001F49C all contributors" -assignees: 'joostdecock' ---- - -### Who made the contribution(s)? - -- GitHub username: - -Please provide the GitHub username of the contributor. -(If it is you, you can skip this part, as your username will be available in the issue) - -### What type(s) of contribution did they make? - -- Contribution type(s): - -The most common contribution types are: - - - `doc` for documentation work - - `translation` for translation work - - `code` for code contributions - - `blog` for blog posts or showcase posts - - `question` for helping others by answering questions (on Discord for example) - - `bug` for reporting bugs - -A complete list of contribution types is available [on the all contributors website](https://allcontributors.org/docs/en/emoji-key). diff --git a/.github/boring-cyborg.yml b/.github/boring-cyborg.yml index d954f574538..3ae4520663f 100644 --- a/.github/boring-cyborg.yml +++ b/.github/boring-cyborg.yml @@ -1,92 +1,109 @@ ##### Labeler ##### labelPRBasedOnFilePath: - # Add 'label1' to any changes within 'example' folder or any subfolders - ":package: aaron": [ packages/aaron/* ] - ":package: albert": [ packages/albert/* ] - ":package: bee": [ packages/bee/* ] - ":package: bella": [ packages/bella/* ] - ":package: benjamin": [ packages/benjamin/* ] - ":package: bent": [ packages/bent/* ] - ":package: breanna": [ packages/breanna/* ] - ":package: brian": [ packages/brian/* ] - ":package: bruce": [ packages/bruce/* ] - ":package: carlita": [ packages/carlita/* ] - ":package: carlton": [ packages/carlton/* ] - ":package: cathrin": [ packages/cathrin/* ] - ":package: charlie": [ packages/charlie/* ] + # "label": [ folder or subfolders ] ":package: components": [ packages/components/* ] + ":package: config-helpers": [ packages/config-helpers/* ] ":package: core": [ packages/core/* ] - ":package: cornelius": [ packages/cornelius/* ] ":package: create-freesewing-pattern": [ packages/create-freesewing-pattern/* ] ":package: css-theme": [ packages/css-theme/* ] - ":package: diana": [ packages/diana/* ] - ":package: examples": [ packages/examples/* ] - ":package: florence": [ packages/florence/* ] - ":package: florent": [ packages/florent/* ] ":package: gatsby-remark-jargon": [ packages/gatsby-remark-jargon/* ] - ":package: holmes": [ packages/holmes/* ] - ":package: hortensia": [ packages/hortensia/* ] - ":package: huey": [ packages/huey/* ] - ":package: hugo": [ packages/hugo/* ] ":package: i18n": [ packages/i18n/* ] - ":package: jaeger": [ packages/jaeger/* ] - ":package: legend": [ packages/legend/* ] - ":package: lunetius": [ packages/lunetius/* ] ":package: models": [ packages/models/* ] ":package: mui-theme": [ packages/mui-theme/* ] - ":package: paco": [ packages/paco/* ] + ":package: new-design": [ packages/new-design/* ] ":package: pattern-info": [ packages/pattern-info/* ] - ":package: penelope": [ packages/penelope/* ] - ":package: plugin-banner": [ packages/plugin-banner/* ] - ":package: plugin-bartack": [ packages/plugin-bartack/* ] - ":package: plugin-bundle": [ packages/plugin-bundle/* ] - ":package: plugin-bust": [ packages/plugin-bust/* ] - ":package: plugin-buttons": [ packages/plugin-buttons/* ] - ":package: plugin-cutonfold": [ packages/plugin-cutonfold/* ] - ":package: plugin-dimension": [ packages/plugin-dimension/* ] - ":package: plugin-export-dxf": [ packages/plugin-export-dxf/* ] - ":package: plugin-flip": [ packages/plugin-flip/* ] - ":package: plugin-gore": [ packages/plugin-gore/* ] - ":package: plugin-grainline": [ packages/plugin-grainline/* ] - ":package: plugin-i18n": [ packages/plugin-i18n/* ] - ":package: plugin-logo": [ packages/plugin-logo/* ] - ":package: plugin-measurements": [ packages/plugin-measurements/* ] - ":package: plugin-mirror": [ packages/plugin-mirror/* ] - ":package: plugin-notches": [ packages/plugin-notches/* ] - ":package: plugin-round": [ packages/plugin-round/* ] - ":package: plugin-scalebox": [ packages/plugin-scalebox/* ] - ":package: plugin-sprinkle": [ packages/plugin-sprinkle/* ] - ":package: plugin-svgattr": [ packages/plugin-svgattr/* ] - ":package: plugin-theme": [ packages/plugin-theme/* ] - ":package: plugin-title": [ packages/plugin-title/* ] - ":package: plugin-validate": [ packages/plugin-validate/* ] - ":package: plugin-versionfree-svg": [ packages/plugin-versionfree-svg/* ] ":package: prettier-config": [ packages/prettier-config/* ] + ":package: rehype-jargon": [ packages/rehype-jargon/* ] ":package: remark-jargon": [ packages/remark-jargon/* ] - ":package: rendertest": [ packages/rendertest/* ] - ":package: sandy": [ packages/sandy/* ] - ":package: shin": [ packages/shin/* ] - ":package: simon": [ packages/simon/* ] - ":package: simone": [ packages/simone/* ] - ":package: snapseries": [ packages/snapseries/* ] - ":package: strapi": [ packages/strapi/* ] - ":package: sven": [ packages/sven/* ] - ":package: tamiko": [ packages/tamiko/* ] - ":package: teagan": [ packages/teagan/* ] - ":package: theo": [ packages/theo/* ] - ":package: tiberius": [ packages/tiberius/* ] - ":package: titan": [ packages/titan/* ] - ":package: trayvon": [ packages/trayvon/* ] - ":package: tutorial": [ packages/tutorial/* ] - ":package: ursula": [ packages/ursula/* ] ":package: utils": [ packages/utils/* ] - ":package: wahid": [ packages/wahid/* ] - ":package: walburga": [ packages/walburga/* ] - ":package: waralee": [ packages/waralee/* ] - ":package: yuri": [ packages/yuri/* ] + ":electric_plug: plugin-banner": [ plugins/plugin-banner/* ] + ":electric_plug: plugin-bartack": [ plugins/plugin-bartack/* ] + ":electric_plug: plugin-bundle": [ plugins/plugin-bundle/* ] + ":electric_plug: plugin-bust": [ plugins/plugin-bust/* ] + ":electric_plug: plugin-buttons": [ plugins/plugin-buttons/* ] + ":electric_plug: plugin-cutonfold": [ plugins/plugin-cutonfold/* ] + ":electric_plug: plugin-dimension": [ plugins/plugin-dimension/* ] + ":electric_plug: plugin-export-dxf": [ plugins/plugin-export-dxf/* ] + ":electric_plug: plugin-flip": [ plugins/plugin-flip/* ] + ":electric_plug: plugin-gore": [ plugins/plugin-gore/* ] + ":electric_plug: plugin-grainline": [ plugins/plugin-grainline/* ] + ":electric_plug: plugin-i18n": [ plugins/plugin-i18n/* ] + ":electric_plug: plugin-logo": [ plugins/plugin-logo/* ] + ":electric_plug: plugin-measurements": [ plugins/plugin-measurements/* ] + ":electric_plug: plugin-mirror": [ plugins/plugin-mirror/* ] + ":electric_plug: plugin-notches": [ plugins/plugin-notches/* ] + ":electric_plug: plugin-round": [ plugins/plugin-round/* ] + ":electric_plug: plugin-scalebox": [ plugins/plugin-scalebox/* ] + ":electric_plug: plugin-sprinkle": [ plugins/plugin-sprinkle/* ] + ":electric_plug: plugin-svgattr": [ plugins/plugin-svgattr/* ] + ":electric_plug: plugin-theme": [ plugins/plugin-theme/* ] + ":electric_plug: plugin-title": [ plugins/plugin-title/* ] + ":electric_plug: plugin-validate": [ plugins/plugin-validate/* ] + ":electric_plug: plugin-versionfree-svg": [ plugins/plugin-versionfree-svg/* ] ":book: documentation": [ markdown/* ] + ":scroll: scripts": [ scripts/* ] + ":computer: backend": [ sites/backend/* ] + ":computer: dev": [ sites/dev/* ] + ":computer: lab": [ sites/lab/* ] + ":computer: org": [ sites/org/* ] + ":computer: shared": [ sites/shared/* ] + ":computer: strapi": [ sites/strapi/* ] + ":computer: svgtopdf": [ sites/svgtopdf/* ] ":test_tube: tests": [ tests/* ] ":gear: configuration": [ "config/*", ".github/*" ] + ":shirt: aaron": [ designs/aaron/* ] + ":shirt: albert": [ designs/albert/* ] + ":shirt: bee": [ designs/bee/* ] + ":shirt: bella": [ designs/bella/* ] + ":shirt: benjamin": [ designs/benjamin/* ] + ":shirt: bent": [ designs/bent/* ] + ":shirt: bob": [ designs/bob/* ] + ":shirt: breanna": [ designs/breanna/* ] + ":shirt: brian": [ designs/brian/* ] + ":shirt: bruce": [ designs/bruce/* ] + ":shirt: carlita": [ designs/carlita/* ] + ":shirt: carlton": [ designs/carlton/* ] + ":shirt: cathrin": [ designs/cathrin/* ] + ":shirt: charlie": [ designs/charlie/* ] + ":shirt: cornelius": [ designs/cornelius/* ] + ":shirt: diana": [ designs/diana/* ] + ":shirt: examples": [ designs/examples/* ] + ":shirt: florence": [ designs/florence/* ] + ":shirt: florent": [ designs/florent/* ] + ":shirt: hi": [ designs/hi/* ] + ":shirt: holmes": [ designs/holmes/* ] + ":shirt: hortensia": [ designs/hortensia/* ] + ":shirt: huey": [ designs/huey/* ] + ":shirt: hugo": [ designs/hugo/* ] + ":shirt: jaeger": [ designs/jaeger/* ] + ":shirt: legend": [ designs/legend/* ] + ":shirt: lucy": [ designs/lucy/* ] + ":shirt: lunetius": [ designs/lunetius/* ] + ":shirt: noble": [ designs/noble/* ] + ":shirt: octoplushy": [ designs/octoplushy/* ] + ":shirt: paco": [ designs/paco/* ] + ":shirt: penelope": [ designs/penelope/* ] + ":shirt: plugintest": [ designs/plugintest/* ] + ":shirt: rendertest": [ designs/rendertest/* ] + ":shirt: sandy": [ designs/sandy/* ] + ":shirt: shin": [ designs/shin/* ] + ":shirt: simon": [ designs/simon/* ] + ":shirt: simone": [ designs/simone/* ] + ":shirt: snapseries": [ designs/snapseries/* ] + ":shirt: sven": [ designs/sven/* ] + ":shirt: tamiko": [ designs/tamiko/* ] + ":shirt: teagan": [ designs/teagan/* ] + ":shirt: theo": [ designs/theo/* ] + ":shirt: tiberius": [ designs/tiberius/* ] + ":shirt: titan": [ designs/titan/* ] + ":shirt: trayvon": [ designs/trayvon/* ] + ":shirt: tutorial": [ designs/tutorial/* ] + ":shirt: unice": [ designs/unice/* ] // New + ":shirt: ursula": [ designs/ursula/* ] + ":shirt: wahid": [ designs/wahid/* ] + ":shirt: walburga": [ designs/walburga/* ] + ":shirt: waralee": [ designs/waralee/* ] + ":shirt: yuri": [ designs/yuri/* ] labelerFlags: labelOnPRUpdates: true diff --git a/.github/workflows/checkdocs.yml b/.github/workflows/checkdocs.yml index 6dd0812d970..689ff52d5c9 100644 --- a/.github/workflows/checkdocs.yml +++ b/.github/workflows/checkdocs.yml @@ -5,12 +5,12 @@ on: branches: - develop paths: - - 'markdown/**' + - 'markdown/**/en.md' pull_request: branches: - develop paths: - - 'markdown/**' + - 'markdown/**/en.md' jobs: test: diff --git a/.github/workflows/nextjs-only.yml b/.github/workflows/nextjs-only.yml new file mode 100644 index 00000000000..c67a6f881fd --- /dev/null +++ b/.github/workflows/nextjs-only.yml @@ -0,0 +1,23 @@ +# This workflow uses actions that are not certified by GitHub. +# They are provided by a third-party and are governed by +# separate terms of service, privacy policy, and support +# documentation. + +name: Add comment for nextjs-only tag +on: + issues: + types: + - labeled +jobs: + add-comment: + if: github.event.label.name == 'nextjs-only' + runs-on: ubuntu-latest + permissions: + issues: write + steps: + - name: Add comment + uses: peter-evans/create-or-update-comment@a35cf36e5301d70b76f316e867e7788a55a31dae + with: + issue-number: ${{ github.event.issue.number }} + body: | + This issue will not be considered for inclusion in the current (Gatbsy-based) freesewing.org website. It will only be considered for inclusion in the future (NextJS-based) freesewing.org website. This is because we want to migrate sooner rather than later, and all work on the legacy site slows that process down. diff --git a/.github/workflows/tests.all.yml b/.github/workflows/tests.all.yml index ce45a233e60..7b3033fc6ed 100644 --- a/.github/workflows/tests.all.yml +++ b/.github/workflows/tests.all.yml @@ -38,4 +38,10 @@ jobs: run: npm run buildall - name: Run all tests run: npm run testall - + - name: Upload to codecov.io + uses: codecov/codecov-action@v3 + with: + files: ./packages/core/coverage/coverage-final.json + flags: core + name: codecov-core + fail_ci_if_error: true diff --git a/.gitignore b/.gitignore index 067df08b64c..dc64b4aff5e 100644 --- a/.gitignore +++ b/.gitignore @@ -60,7 +60,6 @@ packages/utils/tiler packages/utils/validateEmail packages/utils/validateTld - # Any NPM or Yarn lock files designs/*/package-lock.json designs/*/yarn.lock @@ -82,6 +81,10 @@ packages/new-design/shared/public/locales/*/*.json packages/new-design/shared/.gitignore packages/new-design/lib/banner.mjs +# Translation files for NextJS +# Remove this after we move to Node 16 and deprecate pattern-info +#/home/joost/git/freesewing/packages/i18n/src/next/*/*.mjs + # Lab auto-generated pages sites/lab/lib sites/lab/pages @@ -106,6 +109,7 @@ prebuild/*.json sites/*/out sites/*/public/mdx sites/*/prebuild +!sites/shared/prebuild # misc .DS_Store @@ -129,3 +133,7 @@ scripts/verdaccio.sh !markdown/dev/reference/api/point/dist .test-failures.log +core.7268 +.gitignore +sites/lab/package.json +sites/lab/core.873 diff --git a/.gitpod.yml b/.gitpod.yml index e8e1a1af730..283b3c68f89 100644 --- a/.gitpod.yml +++ b/.gitpod.yml @@ -9,8 +9,7 @@ tasks: before: | nvm install lts/fermium nvm use lts/fermium - init: yarn kickstart - command: yarn lab + command: yarn kickstart && yarn lab github: prebuilds: @@ -25,4 +24,4 @@ github: # add a "Review in Gitpod" button as a comment to pull requests (defaults to false) addComment: true # add a "Review in Gitpod" button to the pull request's description (defaults to false) - addBadge: false \ No newline at end of file + addBadge: false diff --git a/.remarkrc.yaml b/.remarkrc.yaml new file mode 100644 index 00000000000..fc2d3b93642 --- /dev/null +++ b/.remarkrc.yaml @@ -0,0 +1,7 @@ +settings: + bullet: "-" +plugins: + # Check that markdown is consistent. + - remark-preset-lint-consistent + # Few recommended rules. + - remark-preset-lint-recommended diff --git a/CHANGELOG.md b/CHANGELOG.md index 9192154b2fb..71fbd8fd934 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,8 +3,89 @@ ## Unreleased +### breanna -## 2.21.3 (2022-07-03) +#### Fixed + + - Fixed bug where a large shoulder slope could cause an error. Fixes [#2516](https://github.com/freesewing/freesewing/issues/2516) + +### brian + +#### Fixed + + - Make s3 options sticky to zero below 10% to avoid path split issues. Fixes [#2249](https://github.com/freesewing/freesewing/issues/2249) + +### aaron + +#### Added + + - Support drafting for high bust + +### cathrin + +#### Fixed + + - Removed seam allowance from Part1a foldline. Fixes [#2545](https://github.com/freesewing/freesewing/issues/2545) + +### charlie + +#### Changed + + - Renamed back pocket jet to back pocket welt + +### hugo + +#### Added + + - Support drafting for high bust Closes [#802](https://github.com/freesewing/freesewing/issues/802) + +### paco + +#### Changed + + - Fix hem allowance. Closes [#2350](https://github.com/freesewing/freesewing/issues/2350) + +### simon + +#### Fixed + + - Fix issue with boxPleat and yoke Fixes [#2400](https://github.com/freesewing/freesewing/issues/2400) + - Removed superfluous notches in button placket, buttonhole placket, and split yoke. Fixes [#2399](https://github.com/freesewing/freesewing/issues/2399) + +### simone + +#### Added + + - Added Bust-aligned buttons option and functionality. Closes [#2154] (https://github.com/freesewing/freesewing/issues/2154) + - Added a notch at the center front bustline. + +#### Fixed + + - Don't do a negative FBA from there's no need for an FBA Fixes [#2121](https://github.com/freesewing/freesewing/issues/2121) + - Duplicate config rather than mutating the imported simon config + +### theo + +#### Changed + + - migrated `waistbandWidth` option from `mm` to snapped `pct` option + +### wahid + +#### Fixed + + - Prevent facing/lining overlap when shoulders get very narrow fixes [#2233](https://github.com/freesewing/freesewing/issues/2233) + - Fixed dependency issue with pocketFacing part + +### plugin-title + +#### Added + + - Added support for removing the title via a macro call + - Added a render timestamp to the title + + +## 2.21.3 (2022-07-02) ### core @@ -555,12 +636,6 @@ - Migrated from Rollup to Esbuild for all builds - The `pctBasedOn()` helper method for pattern config was moved to config-helpers We did not make this a breaking change since it's only used internally. -### create-freesewing-pattern - -#### Deprecated - - - This package is deprecated. Please use `npx @freesewing/new-design` - ### gatsby-remark-jargon #### Changed @@ -738,12 +813,6 @@ ## 2.20.4 (2022-01-28) -### create-freesewing-pattern - -#### Fixed - - - Downgraded back to react-scripts 4 because 5 has a regression bug - ## 2.20.3 (2022-01-28) @@ -761,12 +830,6 @@ - Setting Path.render() no longer raises an info message - Always raise debug, but only store it whend debug is enabled -### create-freesewing-pattern - -#### Fixed - - - Updated to react-scripts 5 to sidestep bug in error-overlay - ## 2.20.2 (2022-01-27) @@ -1431,12 +1494,6 @@ - Added the new attributes.setIfUnset() method - Added the new `scale` setting -### create-freesewing-pattern - -#### Fixed - - - Fix axios version conflict - ## 2.19.5 (2021-11-13) @@ -1895,12 +1952,6 @@ - Fixed edge case in utils.beamsIntersect() when line is almost vertical See [#1206](https://github.com/freesewing/freesewing/issues/1206) -### create-freesewing-pattern - -#### Fixed - - - Updated department to new range of options See [#1207](https://github.com/freesewing/freesewing/pull/1207) - ## 2.17.0 (2021-07-01) @@ -2067,13 +2118,6 @@ - Don't publish ESM modules as it causes issues with react-intl See [#1079](https://github.com/freesewing/freesewing/issues/1079) -### create-freesewing-pattern - -#### Changed - - - Added .gitignore file to the template - - Added eslint for linting - ### i18n #### Changed @@ -2300,12 +2344,6 @@ - Added a new `designs` icon - We now publish .mjs files again for the different components -### create-freesewing-pattern - -#### Fixed - - - Don't list pattern as dependency in the example package.json - ### i18n #### Added @@ -2358,17 +2396,6 @@ - Added rollup sass plugin - Updated for new major version of react-markdown -### create-freesewing-pattern - -#### Changed - - - Migrated to React 17 - - Migrated to create-react-app/react-scripts 4 - - Migrated to Webpack 5 - - Add react-intl as dependency - - Renamed template `default` to `freesewing` - - Use defaults for browserlist - ### css-theme #### Changed @@ -2632,12 +2659,6 @@ - Fixed type in bustsidecode finder code -### create-freesewing-pattern - -#### Fixed - - - Updated chat link from gitter to discord - ### pattern-info #### Fixed @@ -2743,12 +2764,6 @@ ## 2.12.1 (2021-01-27) -### create-freesewing-pattern - -#### Added - - - Fixed missing dependency - ## 2.12.0 (2021-01-19) @@ -2889,12 +2904,6 @@ ## 2.11.1 (2021-01-11) -### create-freesewing-pattern - -#### Fixed - - - Fixed issue with node-sass, see [#778](https://github.com/freesewing/freesewing/issues/778) and [#779](https://github.com/freesewing/freesewing/issues/779) - ## 2.11.0 (2021-01-10) @@ -3078,12 +3087,6 @@ - Added the `info` type to raised events - Added support for conditional loading of plugins -### create-freesewing-pattern - -#### Fixed - - - No longer instantiate a pattern, just to get the config - ### css-theme #### Added @@ -3123,12 +3126,6 @@ - Added Titan as a peer dependency -### create-freesewing-pattern - -#### Fixed - - - Fixed breaking change in execa upgrade in 2.8.0 - ## 2.8.0 (2020-08-10) @@ -3667,12 +3664,6 @@ - utils now includes `Bezier` which holds the bezier-js library so you don't need to re-import it - We no longer set the plugin configuration/data object to fall in `pattern.use()` -### create-freesewing-pattern - -#### Added - - - [#365](https://github.com/freesewing/freesewing/issues/365): Check for node version and raise an error it is too old. - ### css-theme #### Added @@ -4007,12 +3998,6 @@ - Added the `Path.noop()` method - Added the `Path.insop()` methods -### create-freesewing-pattern - -#### Fixed - - - [#257](https://github.com/freesewing/freesewing/issues/257): Explain that pattern names are bound by the constraints of NPM package names - ### css-theme #### Added @@ -4312,12 +4297,6 @@ - Tweaked DraftConfigurator tags to match CSS rules after frontend upgrade to react-intl v3 -### create-freesewing-pattern - -#### Fixed - - - Updated example package.json to use latest tag rather than beta - ### utils #### Fixed @@ -4356,16 +4335,6 @@ - DraftConfigurator now properly styles pattern options 3 levels deep - [#105](https://github.com/freesewing/freesewing.org/issues/105): Moved state change in render loop to useEffect -### create-freesewing-pattern - -#### Changed - - - Updated dependencies - -#### Fixed - - - Added missing `file-saver` dependency - ### css-theme #### Fixed @@ -4665,12 +4634,6 @@ ### core -#### Added - - - Initial release - -### create-freesewing-pattern - #### Added - Initial release diff --git a/CONTRIBUTORS.md b/CONTRIBUTORS.md index 0819dbf2022..4664c1c2cc2 100644 --- a/CONTRIBUTORS.md +++ b/CONTRIBUTORS.md @@ -19,112 +19,118 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d
+ href="https://www.npmjs.com/package/@freesewing/octoplushy"
+ title="@freesewing/octoplushy on NPM"
+ >
+ href="https://github.com/freesewing/freesewing/issues?q=is%3Aissue+is%3Aopen+label%3Apkg%3Aoctoplushy"
+ title="Open issues tagged pkg:octoplushy"
+ >
+ Icon + | + ++ Description + | + +
---|---|
+ |
+
+ + The value is significantly lower + | + +
+ |
+
+ + The value is a good bit lower + | + +
+ |
+
+ + The value is a bit lower + | + +
+ |
+
+ + The value is very close + | + +
+ |
+
+ + The value is very close + | + +
+ |
+
+ + The value is a bit higher + | + +
+ |
+
+ + The value is a good bit higher + | + +
+ |
+
+ + The value is significantly higher + | + +
-
-
-FreeSewing v2
-
A JavaScript library for made-to-measure sewing patterns
- - -# {{name}} example - -This project was bootstrapped with [Create Freesewing Pattern](https://en.freesewing.dev/create-freesewing-pattern): - -```js -npm init freesewing-pattern -``` - -This example folder is part of the local development environment. -It is **not** part of the pattern's source code. - -To run this example, follow these steps: - - - In the folder above this one, run: `yarn start` (or `npm start`) - - Then, in new terminal, run the same command in this folder: `yarn start` (or `npm start`) - -This will spin up the development environment, similar to [our online demo](https://{{name}}.freesewing.dev/). - -## About FreeSewing 🤔 - -Where the world of makers and developers collide, that's where you'll find FreeSewing. - -Our [core library](https://freesewing.dev/en/freesewing) is a *batteries-included* toolbox -for parametric design of sewing patterns. It's a modular system (check our list -of [plugins](https://freesewing.dev/en/plugins) and getting started is as simple as: - -```bash -npm init freesewing-pattern -``` - -The [getting started] section on [freesewing.dev](https://freesewing.dev/) is a good -entrypoint to our documentation, but you'll find a lot more there, including -our [API documentation](https://freesewing.dev/en/freesewing/api), -as well as [examples](https://freesewing.dev/en/freesewing/examples), -and [best practices](https://freesewing.dev/en/do). - -If you're a maker, checkout [freesewing.org](https://freesewing/) where you can generate -our sewing patterns adapted to your measurements. - -## Support FreeSewing: Become a patron 🥰 - -FreeSewing is an open source project run by a community, -and financially supported by our patrons. - -If you feel what we do is worthwhile, you too -should [become a patron](https://freesewing.org/patrons/join). - -## Links 👩💻 - - - 💻 Makers website: [freesewing.org](https://freesewing.org) - - 💻 Developers website: [freesewing.dev](https://freesewing.org) - - 💬 Chat: [gitter.im/freesewing](https://gitter.im/freesewing/freesewing) - - 🐦 Twitter: [@freesewing_org](https://twitter.com/freesewing_org) - - 📷 Instagram: [@freesewing_org](https://instagram.com/freesewing_org) - -## License: MIT 🤓 - -© [Joost De Cock](https://github.com/joostdecock). -See [the license file](https://github.com/freesewing/freesewing/blob/develop/LICENSE) for details. - -## Where to get help 🤯 - -Our [chatroom on Gitter](https://gitter.im) is the best place to ask questions, -share your feedback, or just hang out. - -If you want to report a problem, please [create an issue](https://github.com/freesewing/freesewing/issues/new). - diff --git a/packages/create-freesewing-pattern/template/freesewing/example/netlify.toml b/packages/create-freesewing-pattern/template/freesewing/example/netlify.toml deleted file mode 100644 index baee11614b8..00000000000 --- a/packages/create-freesewing-pattern/template/freesewing/example/netlify.toml +++ /dev/null @@ -1,9 +0,0 @@ -[build] - base = "packages/{{name}}/example" - publish = "build" - command = "npm run build" - -[[redirects]] - from = "/*" - to = "/index.html" - status = 200 diff --git a/packages/create-freesewing-pattern/template/freesewing/example/package.json b/packages/create-freesewing-pattern/template/freesewing/example/package.json deleted file mode 100644 index 0667e24cd15..00000000000 --- a/packages/create-freesewing-pattern/template/freesewing/example/package.json +++ /dev/null @@ -1,56 +0,0 @@ -{ - "name": "{{name}}", - "homepage": "https://{{name}}.freesewing.dev/", - "version": "{{freesewing_version}}", - "private": true, - "dependencies": { - "@fontsource/permanent-marker": "latest", - "@fontsource/roboto-mono": "latest", - "@fontsource/ubuntu": "latest", - "@freesewing/components": "latest", - "@freesewing/core": "latest", - "@freesewing/css-theme": "latest", - "@freesewing/i18n": "latest", - "@freesewing/models": "latest", - "@freesewing/mui-theme": "latest", - "@freesewing/pattern-info": "latest", - "@freesewing/plugin-bundle": "latest", - "@freesewing/plugin-theme": "latest", - "@freesewing/plugin-i18n": "latest", - "@freesewing/plugin-svgattr": "latest", - "@freesewing/utils": "latest", - "@material-ui/core": "^4.11.4", - "@material-ui/icons": "^4.11.2", - "@material-ui/lab": "^v4.0.0-alpha.57", - "prismjs": "1.25.0", - "react": "^17.0.2", - "react-dom": "^17.0.2", - "react-intl": "^5.18.0", - "react-scripts": "^4.0.3", - "react-error-overlay": "6.0.9", - "file-saver": "^2.0.5", - "react-markdown": "6.0.2", - "source-map-explorer": "^2.5.2" - }, - "scripts": { - "analyze": "source-map-explorer 'build/static/js/*.js'", - "size": "source-map-explorer 'build/static/js/*.js' --tsv --no-root", - "start": "react-scripts start", - "build": "react-scripts build", - "test": "react-scripts test", - "eject": "react-scripts eject" - }, - "eslintConfig": { - "extends": "react-app" - }, - "browserslist": [ - "defaults" - ], - "devDependencies": { - "babel-plugin-prismjs": "2.0.1", - "react-error-overlay": "6.0.9" - }, - "resolutions": { - "react-error-overlay": "6.0.9" - } -} diff --git a/packages/create-freesewing-pattern/template/freesewing/example/public/favicon.ico b/packages/create-freesewing-pattern/template/freesewing/example/public/favicon.ico deleted file mode 100644 index 95061a260f1..00000000000 Binary files a/packages/create-freesewing-pattern/template/freesewing/example/public/favicon.ico and /dev/null differ diff --git a/packages/create-freesewing-pattern/template/freesewing/example/public/index.html b/packages/create-freesewing-pattern/template/freesewing/example/public/index.html deleted file mode 100644 index e9b4325fb4a..00000000000 --- a/packages/create-freesewing-pattern/template/freesewing/example/public/index.html +++ /dev/null @@ -1,41 +0,0 @@ - - - - - - - - - - - -{t('patrons:patronLead')}
-{t('patrons:patronPitch')}
+{t('patrons:patronLead')}
+{t('patrons:patronPitch')}
{t('patrons:patronLead')}
-{t('patrons:patronPitch')}
+{t('patrons:patronLead')}
+{t('patrons:patronPitch')}