Skip to content

Conversation

@GuillaumeRx
Copy link
Contributor

This PR allows the usage of Field in Box to be able to put two field in a row.

@GuillaumeRx GuillaumeRx requested a review from a team as a code owner December 4, 2024 09:38
FrederikBolding
FrederikBolding previously approved these changes Dec 4, 2024
code: -32602,
message:
'Invalid params: At path: ui.props.children -- Expected type to be one of: "Address", "Bold", "Box", "Button", "Copyable", "Divider", "Dropdown", "RadioGroup", "FileInput", "Form", "Heading", "Input", "Image", "Italic", "Link", "Row", "Spinner", "Text", "Tooltip", "Checkbox", "Card", "Icon", "Selector", "Section", "Avatar", but received: "Field".',
'Invalid params: At path: ui.props.children.props.children -- Expected the value to satisfy a union of `tuple | tuple | tuple | object | object | object | object | object | object`, but received: [object Object].',
Copy link
Member

Choose a reason for hiding this comment

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

Damn we should really improve the error messaging for Fields

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It's so annoying to have to deal with these weird error messages

Copy link
Member

Choose a reason for hiding this comment

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

@codecov
Copy link

codecov bot commented Dec 4, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 94.49%. Comparing base (6bd6fd8) to head (285ca65).
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2926      +/-   ##
==========================================
- Coverage   94.49%   94.49%   -0.01%     
==========================================
  Files         487      487              
  Lines       10442    10441       -1     
  Branches     1600     1600              
==========================================
- Hits         9867     9866       -1     
  Misses        575      575              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@FrederikBolding FrederikBolding merged commit 9c826e9 into main Dec 4, 2024
166 checks passed
@FrederikBolding FrederikBolding deleted the gr/add-field-box branch December 4, 2024 10:21
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.

3 participants