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

isom-1689 polish for component editing panels #920

Merged

Conversation

adriangohjw
Copy link
Contributor

@adriangohjw adriangohjw commented Dec 6, 2024

Problem

Closes https://linear.app/ogp/issue/ISOM-1689/polish-for-component-editing-panels except the tiptap editor changes which will handled in a separate PR due to the complexity of having to overwrite tiptap default settings

Solution

Breaking Changes

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

Improvements:

  • mostly just grouping common fields, changing descriptions
  • adding JsonFormsUnionRootControl which handles empty Control block when using Union type
  • updated links input (JsonFormsLinkControl) to use BaseLinkControl- which was extracted from JsonFormsRefControl - note: this PR does not refactor away this code and there seems to require more work, which isn't the priority at the moment
  • refactoring: adding AltTextSchema and ImageSrcSchema to be reused for consistency of the descriptions and single source of truth

Tests

please check against the list in the notion of the linear ticket (those labelled 1️⃣ )

@adriangohjw adriangohjw added bug Something isn't working enhancement New feature or request labels Dec 6, 2024
@adriangohjw adriangohjw self-assigned this Dec 6, 2024
Copy link

linear bot commented Dec 6, 2024

Copy link

vercel bot commented Dec 6, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
isomer-studio ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 8, 2024 9:54am

@datadog-opengovsg
Copy link

datadog-opengovsg bot commented Dec 6, 2024

Datadog Report

Branch report: adriangohjw/isom-1689-polish-for-component-editing-panels
Commit report: d1b1d10
Test service: isomer-studio

✅ 0 Failed, 232 Passed, 36 Skipped, 40.6s Total Time
🔻 Test Sessions change in coverage: 1 decreased (-0.02%)

🔻 Code Coverage Decreases vs Default Branch (1)

  • vitest run --coverage 3.93% (-0.02%) - Details

@adriangohjw
Copy link
Contributor Author

@jandonyada fixed storybook

Copy link
Contributor

@seaerchin seaerchin left a comment

Choose a reason for hiding this comment

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

some questions! i think we need to be cognisant in tackling the short term fixes like the link editor shift here - could i trouble you to file a ticket?

@adriangohjw
Copy link
Contributor Author

add a link to refactor: https://linear.app/ogp/issue/ISOM-1703/refactor-link-editor

Copy link
Contributor

@seaerchin seaerchin left a comment

Choose a reason for hiding this comment

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

lgtm w hte minor tech debt introduced for links but we should get around to fixing it soon

@adriangohjw adriangohjw merged commit d3f63ec into main Dec 20, 2024
18 of 20 checks passed
@adriangohjw adriangohjw deleted the adriangohjw/isom-1689-polish-for-component-editing-panels branch December 20, 2024 03:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants