-
Notifications
You must be signed in to change notification settings - Fork 87
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #6254 from opengovsg/release_v6.46.0
* fix: only return previous payment id (#6210) * fix: return payment id string instead of payment doc in controller * fix: update payment route method and comment * fix: update FE service * chore: fix name of test files * chore(deps-dev): bump @typescript-eslint/eslint-plugin from 5.59.0 to 5.59.1 in /shared (#6185) chore(deps-dev): bump @typescript-eslint/eslint-plugin in /shared Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 5.59.0 to 5.59.1. - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases) - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md) - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v5.59.1/packages/eslint-plugin) --- updated-dependencies: - dependency-name: "@typescript-eslint/eslint-plugin" dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * fix: add payout pending section to individual response page (#6214) * ci: use different payments secrets for separate staging environments (#6181) * ci: add new ENV_NAME to create .env file script * docs: update env vars used in aws systems manager * fix: update ENV_NAME conditional * ref: use ENV_SITE_NAME instead of ACTUAL_ENV_NAME * fix: rename variable * docs: add example for SSM_PREFIX * chore(deps-dev): bump @typescript-eslint/parser from 5.59.1 to 5.59.2 in /shared (#6225) chore(deps-dev): bump @typescript-eslint/parser in /shared Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 5.59.1 to 5.59.2. - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases) - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md) - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v5.59.2/packages/parser) --- updated-dependencies: - dependency-name: "@typescript-eslint/parser" dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps-dev): bump @typescript-eslint/eslint-plugin from 5.59.1 to 5.59.2 in /shared (#6224) chore(deps-dev): bump @typescript-eslint/eslint-plugin in /shared Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 5.59.1 to 5.59.2. - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases) - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md) - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v5.59.2/packages/eslint-plugin) --- updated-dependencies: - dependency-name: "@typescript-eslint/eslint-plugin" dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * fix(deps): bump date-fns from 2.29.3 to 2.30.0 in /shared (#6220) Bumps [date-fns](https://github.com/date-fns/date-fns) from 2.29.3 to 2.30.0. - [Release notes](https://github.com/date-fns/date-fns/releases) - [Changelog](https://github.com/date-fns/date-fns/blob/v2.30.0/CHANGELOG.md) - [Commits](date-fns/date-fns@v2.29.3...v2.30.0) --- updated-dependencies: - dependency-name: date-fns dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * fix: move payment drawer to Payments tab within builder drawer (#6213) * fix: move payment drawer into builder drawer * fix: open payment drawer when payment preview box is clicked * chore: move FormPaymentPreview into PaymentPreview in frontend templates * chore: update width of payment preview box in builder * fix: add dirty modal functionality for payment editing holding state * fix: add check for email mode when rendering payment input drawer * fix: update payment modal to be fullpage on mobile (#6219) * Update FormPaymentModal to be fullpage on mobile * Update FormPaymentResumeModal and DuplicatePaymentModal to be fullpage on mobile * add new <ButtonGroup /> that supports full width display * refactor: remove redundant justifycontent styling * fix: missing paymentReceiptEmail for fetch fallback submissions (#6252) * chore: bump version to v6.46.0 --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: Lin Huiqing <[email protected]> Co-authored-by: Foo Chi Fa <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Justyn Oh <[email protected]> Co-authored-by: Ken Lee Shu Ming <[email protected]> Co-authored-by: tshuli <[email protected]>
- Loading branch information
Showing
44 changed files
with
964 additions
and
984 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
import { | ||
ButtonGroup as CharkaButtonGroup, | ||
ButtonGroupProps as ChakraButtonGroupProps, | ||
} from '@chakra-ui/react' | ||
|
||
export interface ButtonGroupProps extends ChakraButtonGroupProps { | ||
/** | ||
* If `true`, the button group will take up the full width of its container, | ||
* and its children (<Button />) will be arranged in the reverse order | ||
*/ | ||
isFullWidth: boolean | ||
} | ||
|
||
export const ButtonGroup = ({ | ||
isFullWidth, | ||
children, | ||
...rest | ||
}: ButtonGroupProps) => { | ||
const buttonGrpResponsiveLayoutProps = isFullWidth | ||
? ({ | ||
flexDir: 'column-reverse', | ||
w: '100%', | ||
spacing: 0, | ||
pt: '2rem', | ||
rowGap: '0.75rem', | ||
} as const) | ||
: ({} as const) | ||
return ( | ||
<CharkaButtonGroup {...buttonGrpResponsiveLayoutProps} {...rest}> | ||
{children} | ||
</CharkaButtonGroup> | ||
) | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
export { ButtonGroup as default } from './ButtonGroup' |
89 changes: 41 additions & 48 deletions
89
frontend/src/features/admin-form/common/components/DirtyModal/DirtyModal.tsx
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.