forked from thoughtworks/HeartBeat
-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* [ADM-887][frontend]: chore: roughly build up the form context. * [ADM-887][frontend]: feat: reconstruct the config step forms. * [ADM-887][frontend]: feat: make <ProjectName /> controlled. * [ADM-887][frontend]: feat: useDefaultValues to make projectName accept imports. * [ADM-887][frontend]: chore: refine code. * [ADM-887][frontend]: feat: integrate <CalendarType /> & <RequiredMetrics />. * [ADM-887][frontend]: feat: integrate <BoardConfig /> form with pre-submit validations. * [ADM-887][frontend]: feat: apply `verify` disabled state with form centralized `isValid`. * [ADM-887][frontend]: feat: refactor the useVerifyBaordEffect * [ADM-887][frontend]: chore: refine code. * [ADM-887][frontend]: feat: integrate <PipelineTool /> with RHF. * [ADM-887][frontend]: feat: integrate <SourceControl /> with RHF. * [ADM-887][frontend]: feat: reset form's validation state when submittion succeeds. * [ADM-887][frontend]: feat: roughly integrate the `next` button state with RHF. * [ADM-887][frontend]: feat: make form re-submit anytime when user change fields. * [ADM-887][frontend]: feat: correct Labels && fix some test. * [ADM-887][frontend]: feat: add <RHFFormProvider /> to facilitate testing. * [ADM-887][frontend]: test: fix <PipelineTool /> test because of aria-label change. * i[ADM-887][frontend]: chore: refine code. * [ADM-887][frontend]: chore: refine code. * [ADM-887][frontend]: feat: refine naming. * [ADM-887][frontend]: test: fix broken test. * [ADM-887][frontend]: test: fix the test of useVerifyBoardEffect. * [ADM-887][frontend]: test: fix the test of useVerifyPipelineToolEffect. * [ADM-887][frontend]: test: refine test. * [ADM-887][frontend]: test: add FormProvider for <BasicInfo /> * [ADM-887][frontend]: feat: remove sourceControl.isVerified since no longer use it to compute the `next` state. * [ADM-887][frontend]: feat: remove board.isVerified since no longer use it to compute the `next` state. * [ADM-887][frontend]: feat: remove `isVerified`, use `isValid` & `isSubmitSuccessful` instead. * [ADM-887][frontend]: feat: complete the schemas of basicInfo except for `dateRange` * [ADM-887][frontend]: feat: manually control the error state when date-range error detected. * [ADM-887][frontend]: feat: integrate the date range with RHF. * [ADM-887][frontend]: feat: persist token in redux when onchange. * [ADM-887][frontend]: feat: persist sourceControl token in redux when onchange. * [ADM-887][frontend]: feat: persist board config in redux when onchange. * [ADM-887][frontend]: feat: customize validation rule for date ranges to synchronise form & UI. * [ADM-887][frontend]: test: fix test. * [ADM-887][frontend]: chore: restore fixture consts. * [ADM-887][frontend]: test: improve testing coverage. * [ADM-887][frontend]: test: improve coverage. * [ADM-887][frontend]: test: cover every scenario to match 100% coverage for date range. * [ADM-887][frontend]: feat: fix lint errors. * [ADM-887][frontend]: feat: no need to give default sort type in useState. * [ADM-887][frontend]: chore: refine code. * [ADM-887][frontend]: feat: move form initialization to MetricsStepper to persist the form submition state while jumping pages. * [ADM-887][frontend]: feat: trigger form validation while adding & removing range. * [ADM-887][frontend]: test: fix ConfigStep test and reduce duplicates of test runner. * [ADM-887][frontend]: chore: abstract CONST for reused labels.
- Loading branch information
1 parent
f37b455
commit 00adc1f
Showing
55 changed files
with
2,141 additions
and
1,435 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.