✨ Workbench now also lets you preload a set of 'withBreasts' measurements
This commit is contained in:
parent
0b4df34a6b
commit
93e82d70ed
2 changed files with 18 additions and 264 deletions
|
@ -1,275 +1,19 @@
|
|||
Unreleased:
|
||||
date:
|
||||
Added:
|
||||
aaron:
|
||||
benjamin:
|
||||
bent:
|
||||
brian:
|
||||
bruce:
|
||||
carlita:
|
||||
carlton:
|
||||
cathrin:
|
||||
components:
|
||||
core:
|
||||
create-freesewing-pattern:
|
||||
css-theme:
|
||||
examples:
|
||||
florent:
|
||||
huey:
|
||||
hugo:
|
||||
i18n:
|
||||
jaeger:
|
||||
models:
|
||||
mui-theme:
|
||||
pattern-info:
|
||||
patterns:
|
||||
plugin-banner:
|
||||
plugin-bundle:
|
||||
plugin-bust:
|
||||
plugin-buttons:
|
||||
plugin-cutonfold:
|
||||
plugin-debug:
|
||||
plugin-designer:
|
||||
plugin-dimension:
|
||||
plugin-flip:
|
||||
plugin-grainline:
|
||||
plugin-i18n:
|
||||
plugin-logo:
|
||||
plugin-round:
|
||||
plugin-scalebox:
|
||||
plugin-sprinkle:
|
||||
plugin-svgattr:
|
||||
plugin-theme:
|
||||
plugin-title:
|
||||
plugin-validate:
|
||||
prettier-config:
|
||||
rendertest:
|
||||
sandy:
|
||||
shin:
|
||||
simon:
|
||||
sven:
|
||||
tamiko:
|
||||
theo:
|
||||
trayvon:
|
||||
tutorial:
|
||||
utils:
|
||||
wahid:
|
||||
Changed:
|
||||
aaron:
|
||||
benjamin:
|
||||
bent:
|
||||
brian:
|
||||
bruce:
|
||||
carlita:
|
||||
carlton:
|
||||
cathrin:
|
||||
components:
|
||||
core:
|
||||
create-freesewing-pattern:
|
||||
css-theme:
|
||||
examples:
|
||||
florent:
|
||||
huey:
|
||||
hugo:
|
||||
i18n:
|
||||
jaeger:
|
||||
models:
|
||||
mui-theme:
|
||||
pattern-info:
|
||||
patterns:
|
||||
plugin-banner:
|
||||
plugin-bundle:
|
||||
plugin-bust:
|
||||
plugin-buttons:
|
||||
plugin-cutonfold:
|
||||
plugin-debug:
|
||||
plugin-designer:
|
||||
plugin-dimension:
|
||||
plugin-flip:
|
||||
plugin-grainline:
|
||||
plugin-i18n:
|
||||
plugin-logo:
|
||||
plugin-round:
|
||||
plugin-scalebox:
|
||||
plugin-sprinkle:
|
||||
plugin-svgattr:
|
||||
plugin-theme:
|
||||
plugin-title:
|
||||
plugin-validate:
|
||||
prettier-config:
|
||||
rendertest:
|
||||
sandy:
|
||||
shin:
|
||||
simon:
|
||||
sven:
|
||||
tamiko:
|
||||
theo:
|
||||
trayvon:
|
||||
tutorial:
|
||||
utils:
|
||||
wahid:
|
||||
- Updated dependencies
|
||||
Deprecated:
|
||||
aaron:
|
||||
benjamin:
|
||||
bent:
|
||||
brian:
|
||||
bruce:
|
||||
carlita:
|
||||
carlton:
|
||||
cathrin:
|
||||
components:
|
||||
core:
|
||||
create-freesewing-pattern:
|
||||
css-theme:
|
||||
examples:
|
||||
florent:
|
||||
huey:
|
||||
hugo:
|
||||
i18n:
|
||||
jaeger:
|
||||
models:
|
||||
mui-theme:
|
||||
pattern-info:
|
||||
patterns:
|
||||
plugin-banner:
|
||||
plugin-bundle:
|
||||
plugin-bust:
|
||||
plugin-buttons:
|
||||
plugin-cutonfold:
|
||||
plugin-debug:
|
||||
plugin-designer:
|
||||
plugin-dimension:
|
||||
plugin-flip:
|
||||
plugin-grainline:
|
||||
plugin-i18n:
|
||||
plugin-logo:
|
||||
plugin-round:
|
||||
plugin-scalebox:
|
||||
plugin-sprinkle:
|
||||
plugin-svgattr:
|
||||
plugin-theme:
|
||||
plugin-title:
|
||||
plugin-validate:
|
||||
prettier-config:
|
||||
rendertest:
|
||||
sandy:
|
||||
shin:
|
||||
simon:
|
||||
sven:
|
||||
tamiko:
|
||||
theo:
|
||||
trayvon:
|
||||
tutorial:
|
||||
utils:
|
||||
wahid:
|
||||
Removed:
|
||||
aaron:
|
||||
benjamin:
|
||||
bent:
|
||||
brian:
|
||||
bruce:
|
||||
carlita:
|
||||
carlton:
|
||||
cathrin:
|
||||
components:
|
||||
core:
|
||||
create-freesewing-pattern:
|
||||
css-theme:
|
||||
examples:
|
||||
florent:
|
||||
huey:
|
||||
hugo:
|
||||
i18n:
|
||||
jaeger:
|
||||
models:
|
||||
mui-theme:
|
||||
pattern-info:
|
||||
patterns:
|
||||
plugin-banner:
|
||||
plugin-bundle:
|
||||
plugin-bust:
|
||||
plugin-buttons:
|
||||
plugin-cutonfold:
|
||||
plugin-debug:
|
||||
plugin-designer:
|
||||
plugin-dimension:
|
||||
plugin-flip:
|
||||
plugin-grainline:
|
||||
plugin-i18n:
|
||||
plugin-logo:
|
||||
plugin-round:
|
||||
plugin-scalebox:
|
||||
plugin-sprinkle:
|
||||
plugin-svgattr:
|
||||
plugin-theme:
|
||||
plugin-title:
|
||||
plugin-validate:
|
||||
prettier-config:
|
||||
rendertest:
|
||||
sandy:
|
||||
shin:
|
||||
simon:
|
||||
sven:
|
||||
tamiko:
|
||||
theo:
|
||||
trayvon:
|
||||
tutorial:
|
||||
utils:
|
||||
wahid:
|
||||
Fixed:
|
||||
aaron:
|
||||
benjamin:
|
||||
bent:
|
||||
brian:
|
||||
bruce:
|
||||
carlita:
|
||||
carlton:
|
||||
cathrin:
|
||||
components:
|
||||
core:
|
||||
- "[#104](https://github.com/freesewing/freesewing.org/issues/104):
|
||||
Changed `onDragEnd` to `onChangeCommitted` in slider element
|
||||
(change in material-ui API when slider came out of beta)"
|
||||
- Workbench now also lets you preload a `withBreasts` set of measurements
|
||||
create-freesewing-pattern:
|
||||
css-theme:
|
||||
examples:
|
||||
florent:
|
||||
huey:
|
||||
hugo:
|
||||
i18n:
|
||||
jaeger:
|
||||
models:
|
||||
mui-theme:
|
||||
pattern-info:
|
||||
patterns:
|
||||
plugin-banner:
|
||||
plugin-bundle:
|
||||
plugin-bust:
|
||||
plugin-buttons:
|
||||
plugin-cutonfold:
|
||||
plugin-debug:
|
||||
plugin-designer:
|
||||
plugin-dimension:
|
||||
plugin-flip:
|
||||
plugin-grainline:
|
||||
plugin-i18n:
|
||||
plugin-logo:
|
||||
plugin-round:
|
||||
plugin-scalebox:
|
||||
plugin-sprinkle:
|
||||
plugin-svgattr:
|
||||
plugin-theme:
|
||||
plugin-title:
|
||||
plugin-validate:
|
||||
prettier-config:
|
||||
rendertest:
|
||||
sandy:
|
||||
shin:
|
||||
simon:
|
||||
sven:
|
||||
tamiko:
|
||||
theo:
|
||||
trayvon:
|
||||
tutorial:
|
||||
utils:
|
||||
wahid:
|
||||
- Added missing `file-saver` dependency
|
||||
Security:
|
||||
|
||||
2.0.1:
|
||||
|
|
|
@ -3,7 +3,7 @@ import PropTypes from "prop-types";
|
|||
import Button from "@material-ui/core/Button";
|
||||
import { FormattedMessage, FormattedHTMLMessage } from "react-intl";
|
||||
import FormFieldMeasurement from "../../.form/FormFieldMeasurement";
|
||||
import { withoutBreasts } from "@freesewing/models";
|
||||
import { withBreasts, withoutBreasts } from "@freesewing/models";
|
||||
|
||||
const Measurements = props => {
|
||||
const styles = {
|
||||
|
@ -111,7 +111,17 @@ const Measurements = props => {
|
|||
<h4>
|
||||
<FormattedMessage id="app.withBreasts" />
|
||||
</h4>
|
||||
<p>FIXME</p>
|
||||
<ul>
|
||||
{Object.keys(withBreasts).map(m => (
|
||||
<li key={m}>
|
||||
<Button onClick={() => props.preloadMeasurements(withBreasts[m])}>
|
||||
<FormattedMessage id="cfp.size" />
|
||||
|
||||
{m.slice(-2)}
|
||||
</Button>
|
||||
</li>
|
||||
))}
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue