Skip to content
This repository has been archived by the owner on Mar 10, 2022. It is now read-only.

(PC-1707) fix stocks manager form with react final form #293

Merged
merged 7 commits into from
Apr 9, 2019

Conversation

Ledoux
Copy link
Contributor

@Ledoux Ledoux commented Mar 28, 2019

  1. Pour enlever le hack du recursiveMap, dans tous les components enfants de Form(shared) (qui decoulait de (PC-1647) parse form child betagouv/pass-culture-shared#92 obligé pour faire la pr du merge event occurrence sur stock): comme là par exemple
    https://github.com/betagouv/pass-culture-pro/blob/master/src/components/pages/Offer/StocksManager/StockItem/EventFields.jsx#L84

  2. Pour réparer grace aux decorators et aux Fields plus compréhensibles de react final form:

l'edition du champ number prix qui voulait pas qu'on lui enleve le zero, meme en voulant le deleter:
caps

l'edition de la endTime qui se refrachit pas parfois meme quand on tape des nombres:
caps3

Empêcher la fusion du beginTime avec le endTime quand on change le beginningDateTime:
caps4

l'edition de la endDateTime qui bug parfois:
caps5

l'edition de la endDateTime qui peut marcher parfois mais apres la valeur disparaît:
caps6

@Ledoux Ledoux force-pushed the pc-1707-react-final-form-stocks-manager branch from b6b133c to a53e700 Compare March 28, 2019 20:36
@Ledoux Ledoux changed the title (PC-1707) fix stocks manager form with react final form [WIP] (PC-1707) fix stocks manager form with react final form Mar 28, 2019
@Ledoux Ledoux force-pushed the pc-1707-react-final-form-stocks-manager branch 4 times, most recently from 3279024 to 794c1d5 Compare March 29, 2019 00:58
@Ledoux Ledoux changed the title [WIP] (PC-1707) fix stocks manager form with react final form (PC-1707) fix stocks manager form with react final form Mar 29, 2019
@Ledoux Ledoux force-pushed the pc-1707-react-final-form-stocks-manager branch 18 times, most recently from f6e8716 to 1bcc280 Compare April 3, 2019 11:01
@Ledoux Ledoux requested review from arnoo and removed request for arnoo April 3, 2019 12:34
@Ledoux Ledoux force-pushed the pc-1707-react-final-form-stocks-manager branch 3 times, most recently from 5cfdf20 to 1173368 Compare April 3, 2019 20:57
@Ledoux Ledoux force-pushed the pc-1707-react-final-form-stocks-manager branch 4 times, most recently from 53ea609 to 172b89a Compare April 3, 2019 21:39
@Ledoux Ledoux requested a review from arnoo April 5, 2019 13:50
@Ledoux Ledoux force-pushed the pc-1707-react-final-form-stocks-manager branch from 3275c75 to f2b8013 Compare April 8, 2019 08:58
@Ledoux Ledoux requested a review from Akhilian April 8, 2019 14:15
@Aliochka Aliochka self-requested a review April 8, 2019 14:38
src/components/hocs/index.js Show resolved Hide resolved
src/components/layout/form/DateField.js Outdated Show resolved Hide resolved
src/components/layout/form/DateField.js Outdated Show resolved Hide resolved
src/components/layout/form/DateField.js Outdated Show resolved Hide resolved
@Ledoux Ledoux force-pushed the pc-1707-react-final-form-stocks-manager branch from 4e98943 to bb402fc Compare April 8, 2019 16:04
@Ledoux Ledoux force-pushed the pc-1707-react-final-form-stocks-manager branch 3 times, most recently from 166e2ad to d352672 Compare April 9, 2019 15:00
@Ledoux Ledoux force-pushed the pc-1707-react-final-form-stocks-manager branch from d352672 to a728f80 Compare April 9, 2019 15:22
@Ledoux Ledoux merged commit f5ad892 into master Apr 9, 2019
@Ledoux Ledoux deleted the pc-1707-react-final-form-stocks-manager branch April 9, 2019 15:42
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
2 participants