Repository navigation
Conversation
Accessibility Violations Found
|
4 similar comments
Accessibility Violations Found
|
Accessibility Violations Found
|
Accessibility Violations Found
|
Accessibility Violations Found
|
Accessibility Violations Found
|
Accessibility Violations Found
|
akshayvas
force-pushed
the
enable-comps
branch
from
October 26, 2026 15:24
f9e113a to
79438e7
Compare
Accessibility Violations Found
|
1 similar comment
Accessibility Violations Found
|
Codecov Report❌ Patch coverage is
📢 Thoughts on this report? Let us know! |
akshayvas
force-pushed
the
enable-comps
branch
from
November 2, 2026 11:30
79438e7 to
7fc7752
Compare
Accessibility Violations Found
|
2 similar comments
Accessibility Violations Found
|
Accessibility Violations Found
|
akshayvas
force-pushed
the
enable-comps
branch
from
November 3, 2026 11:20
7fc7752 to
83b17fc
Compare
Accessibility Violations Found
|
Accessibility Violations Found
|
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Enables the hidden core components (switch, review, table, image choice) by fixing the
ui.af.apps/pom.xmlreplacements, and fixes the issues found while enabling the review component and its tests.Enablement
ui.af.apps/pom.xml: corrected the.core-adaptiveformreplacement paths forswitchandreview(pointed at the version folder, now at the component node), and added or re-enabledtableandimagechoice..spec.jsto.cy.jsso CI runs them (they never ran before).Product fixes
fd:linkedPanelsheld the panelid(tab1_id), butreviewview.js#getLinkedPanelsmatches onname. Test content now uses the panelname.focusToFirstVisibleField, whosesetTimeout(0)overrode the correct focus with the first field of the tab (instance 1).FormPanel.jsnow skips this when focus is already inside the active tab.ReviewImpl.getEditModeAction()returnednullwhenfd:editModeActionwas not authored (a Review dropped on a form and never saved from its dialog), so the model exported a null action andreviewview.jsrendered no Edit buttons. It now falls back to"field".value="field"on the select does not mark an option as selected. Thefieldoption is nowselected="{Boolean}true"and the select-levelvalueis removed, so the dialog matches the Java default.editkey added to the 10 runtime i18n files) instead ofGranite.I18n, which is not available at publish.Test fixes
review.repeatability.runtime.cy.js(checkSecondPanel, used by the 2nd and 4th tests):hideTitle) checked, so its model exportslabel.visible = falseandreviewview.jsremoves its label container, and with it the Edit button. The component works as designed. The test expectation was wrong.cy.root().children(...)), asserts its content wrapper exists, and checks the label and Edit button on the nested repeatable "Address" panel, which does have a visible label.review.authoring.cy.js:reviewPathwas wrong, nowtabsPath + "/review";:last.ReviewImplTest: two new tests and fixtures (reviewDefaultAction,reviewPanelAction) cover the default and authoredfd:editModeAction.Related Issue
FORMS-26972
Motivation and Context
Some core components were hidden in the authoring UI and the review component tests were never executed. Enabling them exposed real runtime and test bugs, listed above.
How Has This Been Tested?
mvn test -pl bundles/af-core -Dtest=ReviewImplTest: 7 tests, 0 failures.telephoneinput.authoringfailure ("Recursion limit reached") was unrelated and passed on re-run.FormPanel.jschange) run in the CI Cypress jobs, which pass.Screenshots (if appropriate):
Types of changes
Checklist: