-
Notifications
You must be signed in to change notification settings - Fork 58
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
FORMS-16446 Add isWrapData property on panel #1412
base: dev
Are you sure you want to change the base?
Conversation
6d37faf
to
019d22e
Compare
@Override | ||
@JsonInclude(JsonInclude.Include.NON_NULL) | ||
@Nullable | ||
public boolean isWrapData() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why do you want to expose this property ? Please link the JIRA id in the comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This property is needed to check if panel is marked as wrapped. This is needed to create bindRefMap required in adobe sign submission.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is not part of crispr spec. Even if this property is required, it should be a custom property specific to AEM implementation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I will add JsonIgnore on it
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
add test cases
Accessibility Violations Found
|
Lighthouse scores (desktop)
|
Lighthouse scores (mobile)
|
Accessibility Violations Found
|
2 similar comments
Accessibility Violations Found
|
Accessibility Violations Found
|
* @return {@code true} if the container is wrap data, {@code false} otherwise | ||
* @since com.adobe.cq.forms.core.components.models.form 5.3.0 | ||
*/ | ||
default boolean isWrapData() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We need to consume this on server, so its not required to expose this in json
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I will add jsonIgnore
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
019d22e
to
b24b589
Compare
b24b589
to
7180a24
Compare
Accessibility Violations Found
|
Lighthouse scores (mobile)
|
Lighthouse scores (desktop)
|
Accessibility Violations Found
|
2 similar comments
Accessibility Violations Found
|
Accessibility Violations Found
|
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## dev #1412 +/- ##
============================================
- Coverage 82.27% 82.24% -0.03%
- Complexity 923 924 +1
============================================
Files 103 103
Lines 2369 2371 +2
Branches 321 321
============================================
+ Hits 1949 1950 +1
- Misses 257 258 +1
Partials 163 163 ☔ View full report in Codecov by Sentry. |
Description
Related Issue
Motivation and Context
How Has This Been Tested?
Screenshots (if appropriate):
Types of changes
Checklist: