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

feat: use ogp design system #7308

Draft
wants to merge 122 commits into
base: develop
Choose a base branch
from
Draft

Conversation

karrui
Copy link
Contributor

@karrui karrui commented May 3, 2024

Problem

Closes [insert issue #]

Solution

Breaking Changes

  • Yes - this PR contains breaking changes
    • Details ...
  • No - this PR is backwards compatible

Features:

  • Details ...

Improvements:

  • Details ...

Bug Fixes:

  • Details ...

Before & After Screenshots

BEFORE:

AFTER:

Tests

Deploy Notes

New environment variables:

  • env var : env var details

New scripts:

  • script : script details

New dependencies:

  • dependency : dependency details

New dev dependencies:

  • dependency : dependency details

karrui added 30 commits May 2, 2024 12:30
not v9 for now since lots of breaking changes
plugin prettier also v4 for now, v5 breaks due to
so react-email templates has no type errors when rendering on the server
v2 requires more changes, not worth it for now
actually good to snapshot full page instead of just fixed pages
Copy link
Contributor Author

karrui commented May 3, 2024

@SeanChinJunKai
Copy link
Contributor

@karrui Hi, i was trying to incorporate the ogp design system's Attachment component for #7339 however I think that the current Attachment component is an overkill for the above mentioned issue. One suggestion I have is to make some changes to the ogp design system's Attachment component to allow customisation of size (for example to include height and width props). What do you think?

Screenshot 2024-06-06 at 11 32 44 AM

@karrui
Copy link
Contributor Author

karrui commented Jun 6, 2024

@karrui Hi, i was trying to incorporate the ogp design system's Attachment component for #7339 however I think that the current Attachment component is an overkill for the above mentioned issue. One suggestion I have is to make some changes to the ogp design system's Attachment component to allow customisation of size (for example to include height and width props). What do you think?

Screenshot 2024-06-06 at 11 32 44 AM

Don't think that needs to be in the design system explicitly, since expected behaviour is pretty specific to FormSG (drag and drop the file, then set the file content as an input). I think we could just wrap the current file input with some drag event handlers to read the file contents and set the input instead.

@KenLSM KenLSM force-pushed the 04-30-feat_upgrade_typescript_to_5.4.5_across_app branch from 6f20922 to cacf238 Compare June 11, 2024 15:39
Base automatically changed from 04-30-feat_upgrade_typescript_to_5.4.5_across_app to 04-23-feat_add_initial_vite_config_and_new_eslint_rules July 30, 2024 05:41
@KenLSM KenLSM force-pushed the 04-23-feat_add_initial_vite_config_and_new_eslint_rules branch 10 times, most recently from 7fba8d0 to dabcfa1 Compare September 18, 2024 12:41
Base automatically changed from 04-23-feat_add_initial_vite_config_and_new_eslint_rules to develop October 7, 2024 07:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants