Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build: release v6.0.0 #5036

Merged
merged 549 commits into from
Oct 5, 2022
Merged

build: release v6.0.0 #5036

merged 549 commits into from
Oct 5, 2022

Conversation

justynoh
Copy link
Contributor

@justynoh justynoh commented Oct 5, 2022

New

  • build: merge 5.59.0 into v2/develop #3929
  • build: merge develop into form-v2/develop to sync the two branches #3471
  • build: merge release 5.56.0 into v2 develop and fix merge conflicts #3665
  • build: merge release 5.58.0 into v2 develop #3849
  • build: merge release 5.60.0 back to v2/develop #3946
  • build: merge release 5.61.0 into v2/develop #3962
  • build: merge release 5.63.2 into v2/develop #4105
  • build: merge release 5.65.0 to v2 develop #4250
  • build: merge release 5.67.0 into v2/develop #4560
  • build: merge release 5.70.0 into v2/develop #4797
  • build: merge release 5.73.0 into v2/develop #4967
  • build: merge release 5.74.0 into develop #4998
  • build: merge release 5.74.0 into v2/develop #4999
  • build: merge release v5.64.0 into form-v2/develop #4143
  • build: merge release-al2 into form-v2/develop and fix merge conflicts #3592
  • build: Merge remote-tracking branch 'origin/form-v2/develop' into form-v2/merge-5.73.0 aae31eb
  • build: port v5.71.0 into form-v2/develop #4879
  • build: release v5.74.0 #4996
  • build(react): set up Docker image for prod and dev #2675
  • chore:  merge release v5.62.0 into form-v2/develop #4010
  • chore: add a11y checks to test pipeline #1937
  • chore: add postinstall step for including shared folder in frontend #2892
  • chore: add root-level scripts for frontend #2502
  • chore: copy changes #4664
  • chore: correct typo in PublicHeader jsdocs #4057
  • chore: enable chromatic to build on pushes to form-v2/develop branch #2705
  • chore: enable Chromatic Turbosnap #2557
  • chore: merge 5.66.0 into form-v2/develop #4467
  • chore: merge develop to form-v2/develop #2533
  • chore: merge release v5.69.0 into form-v2/develop #4775
  • chore: merge release v5.72.0 (from develop) to v2 #4914
  • chore: only run Travis on staging-alt branch #2808
  • chore: remove .travis.yml #2247
  • chore: remove dependabot triggers for react /frontend directory #5031
  • chore: remove unused settings end page builder #4158
  • chore: run npx browserslist@latest --update-db #3913
  • chore: ts-essentials should stay a dep (not dev-dep) #4212
  • chore: update docker tooling for local dev #4611
  • chore: update package-lock 84b640c
  • chore: Update README file for Mac OS Monterey and Apple Silicon Macs #3485
  • chore: update Storybook to v6.5 #3909
  • chore: upgrade chromium #4608
  • chore(deps-dev): bump core-js from 3.25.3 to 3.25.4 #4995
  • chore(docker-compose): use bitnami mongo image #3752
  • chore(eslint): update unused vars rule to warn instead of error #3379
  • chore(form-v2): add dependabot, run npm audit, move some packages to devDependencies #2313
  • chore(package.json): add --poll to tsnd so backend changes are watched #3632
  • chore(react): update chakra-ui, tests package version and strengthen types #3166
  • chore(v2): migrate from react-app-rewired to craco, update packages #3006
  • chore(v2): misc build pipeline updates in preparation for merging into main branch #5010
  • chore(v2): remove partytown #4816
  • chore(v2): update Github actions for form-v2 branches #2666
  • chore(v2): update npm packages to their latest versions (except storybook) #3168
  • chore(v2): update to zustand 4 #4885
  • copy(form-v2): multiple edits  #4318
  • doc: Add a newline about giving docker more RAM on Mac OS #3532
  • feat: add a priority UI selector cookie for react rollout QA #3894
  • feat: add error middlewares for /api namespace #3874
  • feat: add extra aria text to denote the end of the form #4977
  • feat: add feature tour views without pagination component #3921
  • feat: add functionality for question fields in builder tool to reflect selected colortheme. #4419
  • feat: add info banner to admin form builder when webhooks are enabled #4551
  • feat: add logout to public form header on submission end page (if auth'd), pass colorscheme to endpage #4698
  • feat: add myinfo error toast #4874
  • feat: add navigation confirmation when builder fields are dirty #4670
  • feat: add pagination component and logic #3992
  • feat: add patch-package to remove required prop in useFormControl #4916
  • feat: add progress indicator styles #4019
  • feat: add question numbers in form builder #3692
  • feat: add question numbers to show in form builder tool #4020
  • feat: add question titles to delete form modal, conditional logic #4705
  • feat: add rate limit to verification endpoints too #5020
  • feat: add swipe gestures for rollout announcement mobile view #4061
  • feat: add tag input component  #4509
  • feat: add tooltip description to field actions #4789
  • feat: add What's New epic feature #4591
  • feat: always enable save in fields. #4462
  • feat: append new field to form on click #3691
  • feat: attempt to reduce the flakiness of 403 and 404 page stories #4524
  • feat: build angularjs app and host in /old #2928
  • feat: bunch of table field (a11y) improvements, misc public form fixes #4980
  • feat: call feedback download endpoint #4677
  • feat: centre toasts used in app #3757
  • feat: clear user query cache on logout #4556
  • feat: conditional react routing #3750
  • feat: correct set routes for AdminFormPage stories #3038
  • feat: create country field story #3705
  • feat: create form builder mobile view #3693
  • feat: disable field creation on useAdminForm error #3513
  • feat: ensure users click confirmation button in SmsCountsModal #4513
  • feat: form-v2/develop branch into develop #5018
  • feat: handle old style urls in react (redirects) #3873
  • feat: implement delete form from dashboard feature #4481
  • feat: implement email field editing #3697
  • feat: implement field deletion confirmation modal #3694
  • feat: implement mobile field editing #3698
  • feat: implement number field editing #3699
  • feat: implement paragraph field editing #3696
  • feat: improve a11y of SwitchEnvMessage, add inline flow to button #4959
  • feat: link React FE to new feedback API #4152
  • feat: load SwitchEnvModal conditionally #4606
  • feat: lock individual response navbar, fix mobile view for individual responses, add verified label to verified question labels #4812
  • feat: preload inter fonts from app directory in storybook preview-head #4458
  • feat: read out submission confirmation for screen readers on success #4917
  • feat: remove default value on Mobile field admin form preview #4684
  • feat: remove refresh changes banner #4526
  • feat: remove special touch handling on Tooltip component #4769
  • feat: rename client /workspace route to /dashboard #4549
  • feat: render govt masthead component #3644
  • feat: replace all links in app with constants #4499
  • feat: trim email when logging in #3915
  • feat: update react-testing-library to v14.4.3 #4782
  • feat: update color scheme for builder background and builder end page view. #4426
  • feat: use current location as href instead of empty string #4331
  • feat: use new TagInput component for email respondents input #4510
  • feat(a11y): improvements to attachment field #4873
  • feat(a11y): update aria-labels for icons used in public forms #4894
  • feat(builder): add radio field preview when editing field in form builder #3560
  • feat(builder/0): add initial form builder layout #3126
  • feat(builder/1): add initial field preview (only SectionField) when editing field in form builder  #3130
  • feat(builder/2): add checkbox field preview when editing field in form builder #3131
  • feat(builder/3): allow form fields reordering in form builder #3134
  • feat(builder/4): add form field creation feature in form builder, extend create field API with positional arg #3135
  • feat(ci/chromatic): fix node to v14 for turbosnap to work correctly #3763
  • feat(CreatePageSidebarContext): store current field list tab #4515
  • feat(design-system): add avatar component and stories #2761
  • feat(design-system): add Banner component and stories #2256
  • feat(design-system): add Checkbox and Radio components #2669
  • feat(design-system): add CloseButton, Modal theme #2725
  • feat(design-system): add dropdown menu component and stories #2522
  • feat(design-system): add Field/YesNo component and stories, update react-hook-form, add more breakpoints #2210
  • feat(design-system): add Footer component #2576
  • feat(design-system): add FormFieldMessage, FormErrorMessage component and stories #2188
  • feat(design-system): add FormLabel component and stories #2240
  • feat(design-system): add inline message component and stories, fix banner component icon #2453
  • feat(design-system): add Input, Textarea component and stories #2246
  • feat(design-system): add Inter font, Typography & Shadow primitives (and story) #2121
  • feat(design-system): add Link component, stories; enable standard fonts across app #2242
  • feat(design-system): add NumberInput component and stories #2267
  • feat(design-system): add Pagination component and stories #2454
  • feat(design-system): add PhoneNumberInput (intl) component and stories #2279
  • feat(design-system): add Rating field component #2233
  • feat(design-system): Add Searchbar component, stories (and relevant hook) #2478
  • feat(design-system): add single country phone number input render variant #2704
  • feat(design-system): add Storybook welcome screens #2863
  • feat(design-system): add tabs style and stories #2304
  • feat(design-system): add Toggle component and stories #2648
  • feat(design-system): add Tooltip component, styles and stories #2444
  • feat(design-system): add vertical line variant to Tabs #2806
  • feat(design-system): allow colorScheme prop to be passed into Link components #2574
  • feat(design-system): complete Button, add IconButtons and update stories #2148
  • feat(design-system): theme Storybook, add Colour foundation (and story) #2134
  • feat(design-system): update Button to be closer to design #3213
  • feat(design-system): update theme colours to include 100-700 range #2232
  • feat(design-system): use FormHelperText for label description so SRs are aware #2712
  • feat(form-v2): add /client/env route for sending client env vars as JSON #2878
  • feat(form-v2): add billing page for admins to see their SPCP billing history #4063
  • feat(form-v2): add builder start page hover and editing states #4523
  • feat(form-v2): add collaborator modal to form row actions and refactor to use context #4542
  • feat(form-v2): add error handling for deleted logic fields #4440
  • feat(form-v2): add MyInfo badge to form builder for MyInfo fields #4538
  • feat(form-v2): add myInfo types and constants #3919
  • feat(form-v2): add option for admins to switch from AngularJS to React #4230
  • feat(form-v2): add section sidebar for mobile #4095
  • feat(form-v2): add switch-to-react url for admins #4577
  • feat(form-v2): add tooltips for auth settings page #4266
  • feat(form-v2): admin navbar feature #4129
  • feat(form-v2): badge component #2384
  • feat(form-v2): copy paste emails into tags #4833
  • feat(form-v2): email/storage mode respondent rollout #4432
  • feat(form-v2): ensure view-only collaborators can only see results screen #4495
  • feat(form-v2): guide button in builder #4519
  • feat(form-v2): hide headers in section sidebar if they are hidden by logic #4528
  • feat(form-v2): implement AttachmentField component #2649
  • feat(form-v2): instantiate emergency contact modal in AdminNavBar #4381
  • feat(form-v2): percentage-based react rollout for admins #4429
  • feat(form-v2): preview form as admin user #4045
  • feat(form-v2): redesign general settings page #4552
  • feat(form-v2): replace icon with BiHomeCircle #4280
  • feat(form-v2): set opacity for fields hidden by logic in builder #4482
  • feat(form-v2): show emergency contact popup in workspace page #4125
  • feat(form-v2): tiles component #2380
  • feat(form-v2): toast component #2255
  • feat(form-v2): update storage form activation modal UI #4485
  • feat(form-v2/design-1): add design drawer, enable users to edit estimated time and form instructions #4155
  • feat(form-v2/design-2): logo radio buttons and form color theme selection #4271
  • feat(form-v2/form-instructions): add form instructions to views #4392
  • feat(form-v2/react-to-angular/1): add switch to angular option #4263
  • feat(form-v2/react-to-angular/2): add feedback modal #4352
  • feat(form-v2/react-to-angular/3): remove infoboxes when rollout percentages hit thresholds #4514
  • feat(FormSettings/0): add admin form route and layout scaffolding #2762
  • feat(FormSettings/1): create initial FormSettingsPage #2889
  • feat(FormSettings/2): add remaining general settings toggles #2890
  • feat(FormSettings/3): add email-form specific email setting input  #2891
  • feat(FormSettings/4): add storage mode form activation modal #2939
  • feat(FormSettings/5): add responsive views #2972
  • feat(PublicFormPage/1): set up initial route to load public form data #2864
  • feat(PublicFormPage/2): add FormStartPage component #2885
  • feat(PublicFormPage/3): add FormSections rendering and scroll handling #2888
  • feat(react): add base react app directory in root of the application #1819
  • feat(react): add Form's YesNoField component, update testing pipeline #2631
  • feat(react): add FormSG icons, title and description #2042
  • feat(react): add loading state to toggle #2765
  • feat(react): add NricField component #2715
  • feat(react): add Public and Private Route components #2641
  • feat(react): add rating field schema component #2807
  • feat(react): add UenField component #2714
  • feat(react): allow markdown in FormLabel description, allow as prop in custom Link component #2794
  • feat(react): allow markdown usage, other useToast functions in toasts #2764
  • feat(react): sign in feature #2683
  • feat(sgid): enable sgid for storage mode on frontend #4501
  • feat(storage-responses/1): render storage mode responses metadata in table #4000
  • feat(storage-responses/2): render individual storage mode form response #4001
  • feat(storage-responses/3): allow searching of individual using full submission id #4043
  • feat(v2): [Date0] add single date DatePicker component #3185
  • feat(v2): [Date1] add DateRangePicker/Input component #3199
  • feat(v2): [Date2] add a11y improvements to DatePicker components #3200
  • feat(v2): add "proper" loading screens when switching React bundles #4412
  • feat(v2): add (and render) public form date field #3393
  • feat(v2): add (partial) Privacy Policy Page #3667
  • feat(v2): add (partial) Terms of Use Page #3666
  • feat(v2): add 404 screens for the application, update login page design #3871
  • feat(v2): add ability to pre-fill public forms fields #4267
  • feat(v2): add ability to update form title in settings #3027
  • feat(v2): add admin form collaborator modal #3771
  • feat(v2): add admin form feedback tab #3684
  • feat(v2): add and render form footer in PublicFormPage #3609
  • feat(v2): add and use NavigationTabs template components for admin form tab navigation #4601
  • feat(v2): add better error messages for submission and network errors  #4615
  • feat(v2): add clearer a11y help text to verifiable fields, add verified styling #4973
  • feat(v2): add clearer error messages when updating collaborators #3864
  • feat(v2): add Dropdown/SingleSelect (Combobox variant) component #3421
  • feat(v2): add DropdownField component, update SingleSelect component #3440
  • feat(v2): add duplicate form feature #4464
  • feat(v2): add edit admin form logic functionality #3764
  • feat(v2): add editors for Yes/No, NRIC, UEN #3585
  • feat(v2): add env var banners to admin and public form pages #4610
  • feat(v2): add field deletion, duplication, set inactive functionality #3584
  • feat(v2): add form authentication settings (sub)page #3036
  • feat(v2): add FormEndPage component #3680
  • feat(v2): add GovtMasthead to PublicElement component, update PP and TOU routes #3861
  • feat(v2): add handling of prefill for authed public forms, show fields correctly when logged in #4275
  • feat(v2): add image field component, enable esm handling in jest #2990
  • feat(v2): add initial layout for AdminFormResults pages #3517
  • feat(v2): add initial public form authentication feature #3210
  • feat(v2): add initial screens for responses and feedback tab #3918
  • feat(v2): add loading screens for logic tab and results page #4579
  • feat(v2): add logic to show feature tour only once to admins #3936
  • feat(v2): add MultiSelect (Combobox variant) component #3424
  • feat(v2): add navigation prompt modal when navigating away during submission download #4794
  • feat(v2): add NumberField component for use when rendering forms #2684
  • feat(v2): add options placeholder text for EditRadio/Checkbox, add stories #4807
  • feat(v2): add public header template #3679
  • feat(v2): add react-i18next and associated boilerplate for interface … #3823
  • feat(v2): add renderers for all form fields (except verified fields variant, Date and Dropdown) #3262
  • feat(v2): add Settings Webhooks tab #3716
  • feat(v2): add share form feature #3828
  • feat(v2): add ShortTextField component for use when rendering forms #2665
  • feat(v2): add single quote to CSV output #4950
  • feat(v2): add stronger validation for esrvcId and Twilio credential inputs #4430
  • feat(v2): add table field creation and preview in admin form builder #3922
  • feat(v2): add twilio settings page #3225
  • feat(v2): add update user emergency contact number feature #2915
  • feat(v2): add verifiable form fields feature #3457
  • feat(v2): add WorkspacePage (only layout, no business logic yet) #3045
  • feat(v2): admin builder style fixes #3753
  • feat(v2): allow creation of attachment fields in admin form builder #3837
  • feat(v2): allow creation of date fields in admin form builder #3844
  • feat(v2): allow creation of decimal fields in admin form builder #3805
  • feat(v2): allow creation of dropdown fields in admin form builder  #3817
  • feat(v2): allow creation of homeno fields in admin form builder #3804
  • feat(v2): allow creation of image fields in admin form builder #3825
  • feat(v2): allow creation of long and short answer fields in admin form builder  #3806
  • feat(v2): allow creation of rating fields in admin form builder, fix nested updates #3834
  • feat(v2): always enable e-service id box in auth settings #4576
  • feat(v2): builder design review; stories for Empty, AllFields builders #3695
  • feat(v2): create droppable empty form placeholder #3502
  • feat(v2): download attachments as ZIP from individual response page #4672
  • feat(v2): edit checkbox field in form builder #3581
  • feat(v2): enable Google Analytics (with partytown and react-helmet) #3650
  • feat(v2): enable refetch on mount for storage responses #4821
  • feat(v2): hide react switch banner on AngularJS #4805
  • feat(v2): highlight response table row on hover #4808
  • feat(v2): i18n - add storage of user preferred language and test string interpolations #3872
  • feat(v2): impl initial create form modal feature, update Tile component #3048
  • feat(v2): implement admin form delete logic feature #3612
  • feat(v2): Implement AttachmentField component, update behaviour of Attachment #2998
  • feat(v2): Implement CheckBoxField component #3013
  • feat(v2): Implement EmailField (non-verified) component #3019
  • feat(v2): Implement GovtMasthead component #3092
  • feat(v2): Implement HomeNoField component #2999
  • feat(v2): Implement ParagraphField component, extend markdown components #3000
  • feat(v2): Implement RadioField component #3012
  • feat(v2): Implement TableField component #2945
  • feat(v2): landing page #3857
  • feat(v2): login page redesign again, add AppGrid template #3978
  • feat(v2): migrate remaining Google Analytics 4 events #4665
  • feat(v2): move settings tabs for mobile to left side #4815
  • feat(v2): prevent attachment field duplication if size limit exceeded, add toasts for duplication #4699
  • feat(v2): prevent submission and show message on public form when logic is triggered #3813
  • feat(v2): render EmptyWorkspace page when admin has no forms #3515
  • feat(v2): rollout announcement #3916
  • feat(v2): Set up web workers on React #3125
  • feat(v2): show submission confirmation page, fix recaptcha handling #3773
  • feat(v2): snap to start page when user focuses on design input #4564
  • feat(v2): update admin form builder mobile views #3789
  • feat(v2): update ChakraUI and Storybook packages, fix all lint warnings #3637
  • feat(v2): update create form modal design #3514
  • feat(v2): update create storage mode form modal to new design #4493
  • feat(v2): update footer component to new design #3881
  • feat(v2): update form mode display in settings to conform to design #3209
  • feat(v2): update landing page copy #4814
  • feat(v2): update Menu styling to better fit design #3178
  • feat(v2): update styling of admin logic content page #3611
  • feat(v2): update Tile and Badge styling to better fit design  #3179
  • feat(v2): use react-router v6 #3037
  • feat(v2): use webkit-fill-available fallback on instead of 100vh (on browsers that support it) #4860
  • feat(v2): warn public form filler when form has changed on server-side #3569
  • feat(v2/avatar): update theme for Avatar and AvatarMenu to fit design #4235
  • feat(v2/collab): Add transfer ownership feature #3788
  • feat(v2/collab): allow removal of self from form collaborators #3802
  • feat(v2/collab): render viewer-only collaborator modal #3793
  • feat(v2/date): correct transform ISO strings in DTOs to Date objects in certain APIs #3571
  • feat(v2/design-system): add custom Tags theme and components #3386
  • feat(v2/end-page-builder-1) end page builder from settings #3983
  • feat(v2/end-page-builder-2) edit end page from builder #4047
  • feat(v2/epic): implement (partial) public form submission feature  #3738
  • feat(v2/logic): add admin form logic creation feature #3556
  • feat(v2/logic): render empty and populated logic page, add mobile variant of builder sidebar #3390
  • feat(v2/public): improve a11y of section sidebar and field in public form page #4264
  • feat(v2/PublicForm): add handling of form color theme, update design #3774
  • feat(v2/SingleSelect): prevent clearing of selected item when isClearable is true, prevent clearing of EditRating select fields #3942
  • feat(v2/storage-1): add storage mode decryption utils #3949
  • feat(v2/storage-2): implement decryption web worker and related hook #3950
  • feat(v2/storage-3): allow form admins to download storage mode responses #3953
  • feat(v2/storage-4): add storage mode response download modals #3965
  • feat(v2/storage-5): allow download of responses with date range #3999
  • feat(v2/storage): add download completion/cancelation modal screen #4142
  • feat(v2/storage): add tests for CsvGenerator classes #3975
  • feat(v2/submit): design and squash fixes #3739
  • feat(v2/TableField): render Table field dropdown column variant #3577
  • feat(WorkspacePage): remove pagination #4537
  • fix: add 'self' to workerSrc to allow storage mode downloads #4294
  • fix: add aria-label to select combobox chevron icon #4065
  • fix: add check that there is at least 1 option for split text areas #4422
  • fix: add double negation to fix react displaying 0 #4475
  • fix: add isClearable to attachment size dropdown #4529
  • fix: add navbar to billing page, fix misc css issues, modal popout conditionals #4685
  • fix: add numerical comparison for decimal equality in logic #4802
  • fix: augment myinfo data only after admin field state is added #4447
  • fix: automatically return to field selection after creating/saving field #4042
  • fix: copy update for create-form modal #4394
  • fix: correct shape of location state in PublicRoute #2793
  • fix: correct ts-essentials dependency specifications #4199
  • fix: correct URL of billing page in AngularJS #5007
  • fix: diallow dragging fields before creation #4032
  • fix: do not require eservice id for sgid form #4671
  • fix: downgrade @babel/preset-env package to 7.17.10 #3935
  • fix: ensure admin builder page has overflow auto style for proper drawer scroll, update form view layout #4451
  • fix: ensure clicking field opens to field editor #3583
  • fix: local mongo replicaset host mismatch #4603
  • fix: make emergency contact modal phone number editable again #4686
  • fix: make svg strokes thicker #4527
  • fix: make table question display format in storage mode responses consistent with AngularJS #4410
  • fix: minor copy updates to share and empty responses. #4428
  • fix: mock logo data in design drawer for custom logos, add key to colortheme radio selection #4452
  • fix: newline rendering for form field description and end page view #4406
  • fix: non-existent dates and open ended date range #4832
  • fix: react/angular routing and lighter docker image #3779
  • fix: redirect to NotFoundErrorPage on admin form 410s too #4511
  • fix: reload form on logout #4682
  • fix: remove flaky unit test #4578
  • fix: remove invalid HomeRouter usage #4109
  • fix: remove overflow prop to allow for correct drag and drop actions #4695
  • fix: reset with empty string on deletion of twilio credentials. #4958
  • fix: restore copyfiles #3858
  • fix: run npm audit fix --production #5035
  • fix: scroll to top of window on submission #4512
  • fix: set addMoreFields derived value so useEffect is stable #4669
  • fix: set cookie expiration to 12 months #4788
  • fix: set default behavior for NumberInput to not focus on clicking steppers #4840
  • fix: set list forms position to relative #4989
  • fix: singpass decryption bug #4888
  • fix: trim secret key before validating it #4390
  • fix: typo in theme bottom prop #4241
  • fix: update admin logic OTP to not resend immediately and update copy of verified fields to show correct time of 30 minute validity #4405
  • fix: update copy #4844
  • fix: update copy for empty logic page #4396
  • fix: update form footer padding and margins #4817
  • fix: Update TROUBLESHOOTING.md with MongoDB not primary error #3791
  • fix: updated validation for others input in radio and checkbox to only validate on blur #4402
  • fix(a11y): add better aria labels for yes/no components #4876
  • fix(a11y): improve section and form instructions focus a11y #4857
  • fix(a11y): improvements to radio, checkbox and form labels, refactor rating to reduce screen reader garbage #4908
  • fix(a11y): start page, inline message and public switch message #4850
  • fix(AdminFormSettingsPage): update msw handler import #3751
  • fix(authTypes): disable changing of authtype with MyInfo, remove esrvcId box from SGID option #4325
  • fix(AvatarMenu): show correct chevron icon when state is open #4242
  • fix(Button): prevent buttons from being stuck at certain width #2917
  • fix(CalendarHeader): use non-esm variant of date-fns function #3359
  • fix(chromatic): remove storybookBaseDir, update autoAccept #3427
  • fix(contrastUtils): remove errant console.log statement #3422
  • fix(CreatePage): use column flex in mobile view so content renders #3610
  • fix(deps): bump @aws-sdk/client-cloudwatch-logs from 3.180.0 to 3.181.0 #4994
  • fix(deps): bump @sentry/browser from 7.14.0 to 7.14.1 #5001
  • fix(deps): update browserlist #3658
  • fix(EditLogicBlock): unregister inputs when logic inputs change #3847
  • fix(form-v2) : add condition to change to plain background when form empty #4399
  • fix(form-v2) : remove invalid conditional #4320
  • fix(form-v2): add correct html titles to feature tour tooltip buttons #4388
  • fix(form-v2): add default values to field templates to ensure optional fields can be submitted #4546
  • fix(form-v2): add http protocol #4779
  • fix(form-v2): add loading state for form builder, misc improvements #4525
  • fix(form-v2): add prop to disable date select #4700
  • fix(form-v2): added handler so date field auto closes #4413
  • fix(form-v2): added handler to return to builder after save #4433
  • fix(form-v2): change sign out to log out #4679
  • fix(form-v2): change toast copy for storage mode form activation #4849
  • fix(form-v2): correct misspelling of marital #4367
  • fix(form-v2): dependabot config #2323
  • fix(form-v2): disable sgid auth option in settings for non-beta users #4274
  • fix(form-v2): form footer follows form's colour scheme #4463
  • fix(form-v2): form preview should open in new tab #4400
  • fix(form-v2): implement full list numbering for TOU and PP pages #4424
  • fix(form-v2): make height of customize endpage bar fit design spec #4262
  • fix(form-v2): perform input validation for field validation options in text, number, table and checkbox fields #4030
  • fix(form-v2): refactor to avoid repopulating design store when cache is invalidated #4554
  • fix(form-v2): remove additional log in step when switching from AngularJS to React #4459
  • fix(form-v2): remove last 2 slides in rollout announcement #4484
  • fix(form-v2): set document title on dismount #4319
  • fix(form-v2): submit another form now returns to form page #4434
  • fix(form-v2): update AdminService test #4253
  • fix(form-v2): update CSP and image URL computation to use the correct URL #4483
  • fix(form-v2): update input validation rules for number and decimals in logical conditions #4466
  • fix(form-v2): use publicform context to selectively render components in form end page #4455
  • fix(form-v2/form-fields): disable field creation when field is disabled #4233
  • fix(FormLabel): remove extra height when optional indicator is shown #2632
  • fix(IntlPhoneNumberInput): disable country selector when read only #2924
  • fix(logic): use correct import path for LogicableFields #3756
  • fix(PublicSwitchEnvMessage): remove nested <p/> tags #4895
  • fix(shared/logic): move and import LogicCondition type into /shared #3755
  • fix(v2): add 'Others' to radio field in logic creation #4830
  • fix(v2): add better a11y to dropdown fields #4922
  • fix(v2): add leading zero validation to decimal fields #4697
  • fix(v2): add link to form guide in form builder #4960
  • fix(v2): add padding between form fields #4965
  • fix(v2): align delete column button with label in table edit drawer, make Twilio credential delete a button #4990
  • fix(v2): allow maximum rows for table fields to be optional #4945
  • fix(v2): bunch of fixes in admin builder styling #4605
  • fix(v2): change verification copy for email and mobile #4918
  • fix(v2): close modal when removing self as collaborator #4957
  • fix(v2): correctly copy html files to /dist build folder #2784
  • fix(v2): correctly wrap overflowing text in AdminNavbar and FormStartPage #4517
  • fix(v2): enable previewing of authenticated forms #4411
  • fix(v2): extend empty workspace flexbox to fill screen #4964
  • fix(v2): filter email recipients in settings page before mutation #4827
  • fix(v2): fix discrepancies in handling individual responses navigation #4407
  • fix(v2): fix if/then show fields logic for number/decimal fields #4674
  • fix(v2): fix overflow in workspace row #4069
  • fix(v2): fix padding between log in page buttons #4831
  • fix(v2): fix radio aria-required inconsistency #4925
  • fix(v2): fix redirection between React and Angular apps #4801
  • fix(v2): fix render bug in delete field modal, misc builder improvements #4791
  • fix(v2): fix some uncaught a11y issues in public form, login page #3875
  • fix(v2): handle null errors for table fields #4798
  • fix(v2): improve copy for collaborator error and webhook retry toasts, remove public form desync #4829
  • fix(v2): incorrect dropdown options positioning on iOS Safari when the keyboard is open #4778
  • fix(v2): misc ui fixes when drawer is narrow #4835
  • fix(v2): prevent everchanging snapshots from triggering chromatic regressions #4004
  • fix(v2): re-enable backend tests #4590
  • fix(v2): Recaptcha double submission loading loop, single checkbox error bugfixes #3803
  • fix(v2): redesign edit attachment drawer bar #4565
  • fix(v2): remove accordion from end page to make response ID more discoverable #4596
  • fix(v2): remove invalid regex route path for public forms #3046
  • fix(v2): responsive layouts based on width of drawer #4836
  • fix(v2): update hashbang routing #4843
  • fix(v2): update react dev proxy port to port 5001, fix invalid dom tag nesting  #4976
  • fix(v2): update some buttons' colorSchemes in public form, prevent preview from triggering logout #4518
  • fix(v2): update workspace design #4673
  • fix(v2): upgrade chromium to 102.0.5005.182-r0 #4988
  • fix(v2): use Portals instead of setting arbitrary zIndices #4777
  • fix(v2/Dropdown): allow controlled selectedItems, render icon in MultiSelectItem #3561
  • fix(v2/EditCheckbox): validate numbers and set types correctly #3702
  • fix(v2/shared): update type shape for TableFieldDto #3593
  • Instrumentation with DD in react branch #3887
  • Merge pull request chore: update readme for monterey #4668 from opengovsg/form-v2/update-readme a2376e4
  • perf(v2): improve responsiveness of public form when filling inputs (again) #3911
  • perf(v2): massively optimize public form filling responsiveness #3576
  • perf(v2): narrow slice selection and remove memo #4926
  • perf(v2): virtualize Select and MultiSelect components to reduce sluggish loads and filters #4064
  • ref(v2): refactor state management in Create Tab #3547
  • refactor: add useCallback to design store calls to avoid calling on every render. #4421
  • refactor: rename admin page variables in line with UI #3481
  • refactor: rename BuilderAndDesignStore to FieldBuilderStore to better reflect use #4563
  • refactor: reuse public end page component in builder #4562
  • refactor: use FIELDS_TO_CREATE_META for edit title #3500
  • refactor(form-v2): update searchbar to match design system specification #4120
  • refactor(v2): move ResendOtpButton to template and add timer prop, add link button stories #2923
  • refactor(v2): re-arrange form builder module directories #3367
  • refactor(v2/submit-1): pass input types to react-hook-form generics for better validation #3736
  • Revert "feat: preload inter fonts from app directory in storybook preview-head (perf: preload inter fonts from app directory in storybook preview-head #4458)" #4859
  • style: fix padding for form fields #4810
  • style: reduce modal's default margin-y to 4rem from 8rem #4826
  • style(Tabs): update Tabs component style #2941
  • style(v2): update line heights of various text styles #2967
  • test: extend test timeout to 15s #4852

Dependencies

Dev-Dependencies

hanstirtaputra and others added 30 commits July 13, 2022 13:57
* feat: create MenuAltLeft icon

* feat: add mobile sectionsidebar

* feat: update start page stories

* feat: add section sidebar to preview

* fix: remove unused param

* fix: remove time icon display setting

* fix: adjust formheader styling

* ref: remove redundant params

* test: update FormStartPage story

* fix: adjust header styling

* fix: update story

* fix: adjust styling

* feat: use Chakra's useDisclosure

* fix: conditionally render section sidebar icon

* ref: move FormSectionsProvider out to parent

* test: update FormStartPage stories

* ref: rename useDisclosure props

* fix: remove PublicFormWithHeaderWrapper

* test: update Mini Header stories

* fix: add FormSectionsProvider to PreviewFormPage

* test: update mini header without sections story

Co-authored-by: wanlingt <[email protected]>
…#4235)

* feat: remove custom Avatar component

not needed, should only need to update theme

* feat: update theme for avatar and avatarmenu components

* feat: update AvatarMenu props and styling

* feat: update Avatar theming to support multiple sizes and colorSchemes

* fix(AvatarMenu): add default colorScheme to template component
* fix(AvatarMenu): show correct chevron icon when state is open

* ref: use rem instead of px
…velop

build: merge release 5.65.0 to v2 develop
#4230)

* feat: add switch to react banner

* ref: move UiCookieValues to shared types

* fix: update admin env route param

* feat: add info icon

* test: AdminService test

* style: fix react-switch-banner css

* fix: update window reload function

* fix: remove

* test: add switch-env e2e test, omdify AdminService test

* test: remove switch-env e2e test

* fix: update AdminService

* fix: update test
* build: run angular tests in form-v2

* test: fix broken AdminService test

* build: remove angular tests
…ed (#4233)

* fix(fieldlistoption): disable creation for fieldlistoption

* chore(adminform.stories): add loading stories for admin form creation

* chore(fieldlistoption): add brace for clarity

* chore(adminformcreatepage.stories): update stories to use helpers for viewports
…ated time and form instructions (#4155)

* feat: added design drawer, allow user to edit estimated completion time and form instructions

* refactor: some code refactoring, updated FormBuilder to reuse code from public header for computation of design constants

* refactor: updated builder start page view and public start page view to reuse the same FormHeader and FormBannerLogo components.

* chore: added fake SPCP id in builder.

* chore: resolve merge conflicts with v2/develop

* chore: updated MiniHeader tests

* fix: update design padding for empty form builder placeholder.

* fix: update design padding for empty form builder placeholder... again.

* chore: fix nits

* refactor: consolidate form header and miniheader into dumb components so they can be easily reused.

* chore: added some comments for clarity.

* chore: update stories

* chore: updates to miniheader story args

* fix: update form query upon page mutations
* feat: tooltips for auth settings

* refactor: moved tooltip strings into constants.ts
* feat: add prefilled fields to default field values if they exist

* feat: pass isPrefilled prop down to each field component

but only short text field is using it for now.

* feat: add prefilled field banner if any fields are prefilled

* feat: add prefilled public form story

* fix: append instead of recreating prefill form field

* feat: add mobile prefilled field story

* ref: retrieve from searchParams directly instead
…#4274)

* feat: disable sgid auth option if betaFlags.sgid is false

* fix: get user settings from useUser
* feat: add switch env endpoint for respondents

* feat: add switchEnvMessage for respondents

* feat: add AdminSwitchEnvMessage

* fix: adjust styling

* fix: adjust PublicSwitchEnvMessage margin

* ref: hardcode angular in params

* feat: add react-query env mutations

* fix: amend cookie expiry date

* fix: update cookie expiry

* fix: navigate to old workspace page

* fix: add window reload

* fix: mutations

* chore: add removal TODOs

* fix: underline inline links
…4262)

* fix: height of customize thank you page bar

* fix: update hover color for thank you bar

* chore: move changes to other file after resolving merge conflicts
…s correctly when logged in (#4275)

* feat: add initial useStorePrefillQuery hook

nfi whether it actually works lol

* ref: rename hook to useFetchPrefillQuery

might create a new hook to store query...

* feat: add and useStorePrefillQuery hook when logging in

* feat: reset default form values to new values if changed

* fix: correctly parse stored query in sessionStorage

* feat: modify and use useSessionStorage hook

* fix: correctly show public auth only if spcpSession is not defined

* fix: wrap FormStartPage stories with MemoryRouter

PublicFormProvider now uses useSearchParams hook, which requires memory router
…tion (#4271)

* feat: added design drawer, allow user to edit estimated completion time and form instructions

* refactor: some code refactoring, updated FormBuilder to reuse code from public header for computation of design constants

* refactor: updated builder start page view and public start page view to reuse the same FormHeader and FormBannerLogo components.

* chore: added fake SPCP id in builder.

* chore: resolve merge conflicts with v2/develop

* chore: updated MiniHeader tests

* fix: update design padding for empty form builder placeholder.

* fix: update design padding for empty form builder placeholder... again.

* chore: fix nits

* refactor: consolidate form header and miniheader into dumb components so they can be easily reused.

* chore: added some comments for clarity.

* chore: update stories

* chore: updates to miniheader story args

* chore: merge with v2/feat/builder-startpage

* chore: updates to files due to merge with new v2/feat/builder-startpage

* fix: update form query upon page mutations

* chore: clean up codebase of excess comments and console logs

* fix: use previous custom logo meta if logo was not changed.

* chore: rename customlogometa

* chore: rename start page data input in design store

* chore: fix nits
it directs users to root instead of the same page as should be expected
…cId box from SGID option (#4325)

* feat: disable changing of authtype when MyInfo fields are in the form, and do not display esrvcid box for SGID

* feat: added stories, fixed some nits
justynoh and others added 20 commits September 30, 2022 10:57
build: merge release 5.74.0 into develop
build: merge release 5.74.0 into v2/develop
Bumps [core-js](https://github.com/zloirock/core-js) from 3.25.3 to 3.25.4.
- [Release notes](https://github.com/zloirock/core-js/releases)
- [Changelog](https://github.com/zloirock/core-js/blob/master/CHANGELOG.md)
- [Commits](zloirock/core-js@v3.25.3...v3.25.4)

---
updated-dependencies:
- dependency-name: core-js
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
….0 (#4994)

Bumps [@aws-sdk/client-cloudwatch-logs](https://github.com/aws/aws-sdk-js-v3/tree/HEAD/clients/client-cloudwatch-logs) from 3.180.0 to 3.181.0.
- [Release notes](https://github.com/aws/aws-sdk-js-v3/releases)
- [Changelog](https://github.com/aws/aws-sdk-js-v3/blob/main/clients/client-cloudwatch-logs/CHANGELOG.md)
- [Commits](https://github.com/aws/aws-sdk-js-v3/commits/v3.181.0/clients/client-cloudwatch-logs)

---
updated-dependencies:
- dependency-name: "@aws-sdk/client-cloudwatch-logs"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…ed styling (#4973)

* feat: add additional screen reader help text for verifiable fields

* feat: add more descriptive aria labels for vfn buttons

* feat: add a11y text handling for when field has been verified

* feat: add success state to input on verification success

also fix margins due to usage of stack

* fix: attempt to ignore resend button OTP countdown on chromatic

* feat: add mobile viewport story for verifiable fields

* fix: correct field type a11y help text, increase brevity
…make Twilio credential delete a button (#4990)

* fix(v2): vertically center delete column button with Column label

* fix(v2): make image description optional, which it is in angular

* fix: change twilio delete credentials to button instead of link

* Revert "fix(v2): make image description optional, which it is in angular"

This reverts commit 0a1cd34.
Bumps [@sentry/browser](https://github.com/getsentry/sentry-javascript) from 7.14.0 to 7.14.1.
- [Release notes](https://github.com/getsentry/sentry-javascript/releases)
- [Changelog](https://github.com/getsentry/sentry-javascript/blob/master/CHANGELOG.md)
- [Commits](getsentry/sentry-javascript@7.14.0...7.14.1)

---
updated-dependencies:
- dependency-name: "@sentry/browser"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* feat: add help button to side nav

* feat: add tooltip

* fix: replace question mark icon

* style: increase icon size

* feat: remove help button from AdminFormNavbar

* fix: use custom IconButton component

* fix: change iconbutton size

* style: update with subtle color theme

* ref: refactor color

* style: add disabledColor for button

* test: add subtle button story

* feat: use custom tooltip
should be /billing instead of /api/v3/billings
…o main branch (#5010)

* fix(test): update AngularJS's feedback generator quote check

should not have any quotes prefix since AngularJS's generator had no changes

* chore: run correct AngularJS test script in GitHub Actions

* fix: update test-e2e-build command

* feat: update validator package to v13.7.0

* chore: update github actions workflows to work on any branch

* chore: update chromatic to run on all branches
previously only had rate limits on auth.

Verification endpoints won't invoke the super expensive hash comparisons since the verification document will not exist in the first place, but verification endpoints also invoke some database queries, might as well rate limit those too.
feat: form-v2/develop branch into develop
* feat: remove target-branch for react client

* feat: remove dependabot alerts for react
* fix: run npm audit fix --production

* fix: run npm audit fix --production in /frontend

* fix: update ci-angularjs dependencies

e2e should depend on build to finish first
@justynoh
Copy link
Contributor Author

justynoh commented Oct 5, 2022

Tests

fix: correct URL of billing page in AngularJS #5007

@wanlingt

  • Billing route for angular is /billing instead of /api/v3/billing

Copy link
Contributor

@karrui karrui left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LETS GO TO MERLION

Copy link
Collaborator

@LoneRifle LoneRifle left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LETS GO TO MERLION

Sounds like you're saying let's go to throw up

@qin-guan
Copy link
Contributor

qin-guan commented Oct 5, 2022

LGTM

@karrui karrui merged commit eec9368 into release-al2 Oct 5, 2022
@karrui karrui deleted the release-v6.0.0 branch October 5, 2022 09:16
@justynoh justynoh mentioned this pull request Oct 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.