Details
-
Epic
-
Status: Closed
-
Critical
-
Resolution: Completed
-
None
-
None
Description
Epic Information
Currently, the following clay card tags depends on the legacy soy version of those components:
The goal of this epic is to remove the Soy dependency from all clay:-card tags* and rewrite them as a combination of Java+React
Acceptance Criteria:
- New *CardTag.java classes that don't depend on Soy replaces the old ones
- Use Java to render minimal markup server-side
- Use the React component if necessary to render client-side
- The legacy *CardTag classes are deprecated
- All usages of clay:*-card keep working as expected
- The APIs of the new clay:*-card tags follow other migrated tags
Considerations
Based on a quick initial analysis, we currently have 62 usages of different card tags (not counting sample usage)
- clay:file-card: 0 usages (3 samples)
- clay:horizontal-card: 6 usages (2 in samples)
- clay:image-card: 0 usages (9 in sampless)
- clay:user-card: 7 usages (2 in samples)
- clay:vertical-card: 49 usages
To simplify the epic, we propose the following action:
- Create temporary clay:*-card-v2 tags for those tags with current usages outside of samples
- Move all usages from clay:-card to clay:-card-v2
- Create the new clay:*-card tags
- Start migrating one module at a time until the confidence level is high enough to do a mass replacement
Test Information
Requirement | Test Scenarios | Test Priority (business impact) | Covered by frontend/backend Unit Test? | Chrome Pass/Fail |
Edge Pass/Fail |
---|---|---|---|---|---|
Given logged in When I navigate to Global Apps Menu/Asset Libraries AND add Library. Then I can see the card with the Library AND can Edit,change Permissions, Delete |
3 | no | |||
Given I have created collection AND I am in Design/Fragments When I match any of the Card. Then I can open it AND make a copy to the collection |
3 | no | |||
Given ** copied card into the collection When I click on the options Then I can Edit/Rename/Move/Make a copy/Change Thumbnail/Remove Thumbnail/Export/Delete the card |
3 | no | |||
Given logged in When I navigate to Content & Data/ Documents and Media AND add Folder. ** Then the Folder is added AND I can Download, Edit, Move, Add Folder, Access from Desktop, Permissions, Move to Recycle bin |
3 | no | |||
|
Given logged in AND navigated to Content and Data/Web Content When I add Web Content. Then I can Edit,Move, Permissions, Subscribe, Preview, Translate, Export for Translation, Import Translation, View history, View Usages, Copy, Expire, Move to Recycle Bin |
3 | no | ||
Given logged in AND navigated to Site Builder/Pages. When I publish a Page Then I can View, Edit, Configure, Copy Page, Orphan Widget, Permissions, Delete |
3 | no | |||
Given I am on People/Segments When I create User Segment AND drag and drop Segment from the Segment tab*.* Then after clicking on te Actions button, I can see the Segment card, can copy, remove, select Entry |
3 | no | |||
Given I am on People/Membership AND have created Site When I click on the Actions button Then I can Assigne roles, Remove Membership |
3 | no | |||
Given I am on People/Teams AND have created New Tem When I click on the Actions button Then I can Edit, Permissions, Delete |
3 | no | |||
|
Given portal bundle master 7.4 When I use command: grep -r "clay:horizontal-card-v2" Then no results are returned |
3 | no | ||
Given portal bundle master 7.4 When I use command: grep -r "clay:file-card-v2" Then no results are returned |
5 | no | n/a | ||
Given portal bundle master 7.4 When I use command: grep -r "clay:image-card-v2" Then no results are returned |
5 | no | n/a | ||
Given portal bundle master 7.4 When I use command: grep -r "clay:user-card-v2" Then no results are returned" Given portal bundle master 7.4 |
5 | no | n/a | ||
Given portal bundle master 7.4 When I use command: grep -r "clay:vertical-card-v2" Then no results are returned |
5 | no | n/a |
Other tests
Test Scenario | Test Priority (business impact) |
---|---|
Given: All changes done (tickets complete) When: CI: test relevant Then: Poshi tests passed |
3 |
Given: Test Card When: Use keyboard only Then: Able to access all options on the card |
3 |
Attachments
Issue Links
- links to