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(dynamic-layout): add no-field case spec to Dynamic Layout(item-type) #5243

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

sulmoJ
Copy link
Member

@sulmoJ sulmoJ commented Dec 18, 2024

To Reviewers

  • Self-reviewed (coding conventions, bug-free, functionality verified, tests checked, documentation updated)
  • Minor change, review optional (style, chore, ci, straightforward changes, etc.)
  • Previously reviewed in feature branch, no further review needed
  • Need review or discussion

Description (optional)

A new specification has been added to the Item Dynamic Layout, which previously did not function without the existing field option.
If the field option does not exist and the root data is in the form of an object, the object itself is displayed to fit the Item layout.


기존 field 옵션이 없으면 작동하지 않는 Item Dynamic Layout에 스펙이 추가되었습니다. field 옵션이 존재하지 않으면서 root data가 객체 형태로 존재하게 되면, 객체 자체를 Item 레이아웃에 맞게 보여줍니다.

Things to Talk About (optional)

- Corrected the table entry for `fields` to reflect accurate options
- Added detailed explanation and example for item type using `p-definition-table` component

Signed-off-by: sulmo <[email protected]>
- Add computed property to check if fields are empty
- Add computed property to check if root data is empty
- Update fields computation based on new properties

Signed-off-by: sulmo <[email protected]>
Copy link

vercel bot commented Dec 18, 2024

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

Name Status Preview Comments Updated (UTC)
console ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 18, 2024 1:39am
2 Skipped Deployments
Name Status Preview Comments Updated (UTC)
dashboard ⬜️ Ignored (Inspect) Visit Preview Dec 18, 2024 1:39am
hotfix2 ⬜️ Ignored (Inspect) Visit Preview Dec 18, 2024 1:39am

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.

1 participant