Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
43 commits
Select commit Hold shift + click to select a range
7a27bc2
[Release] Stage to Main (#5757)
milo-pr-merge[bot] Apr 7, 2026
0b31688
[Release] Stage to Main (#5780)
milo-pr-merge[bot] Apr 9, 2026
dc133e4
[Release] Stage to Main (#5795)
milo-pr-merge[bot] Apr 13, 2026
ee2935b
[Release] Stage to Main (#5802)
milo-pr-merge[bot] Apr 15, 2026
5783a3f
Adds logic for the webClientVersion and susi success logging (#5805)
JasonHowellSlavin Apr 14, 2026
2948fbe
MWPW-192232: Remove resizing logic from BC modal (#5804)
JasonHowellSlavin Apr 14, 2026
fd4f971
Add meeting types, add early return
JasonHowellSlavin Apr 15, 2026
5ad7a15
C2
JasonHowellSlavin Apr 15, 2026
699295c
Remove has and add includes
JasonHowellSlavin Apr 15, 2026
026bb94
Adding text
JasonHowellSlavin Apr 15, 2026
b8d0020
Text updates
JasonHowellSlavin Apr 16, 2026
2c2d2f4
Text changes
JasonHowellSlavin Apr 16, 2026
0a3d94c
Additional bam items
JasonHowellSlavin Apr 16, 2026
d0b1d04
[Release] Stage to Main (#5813)
milo-pr-merge[bot] Apr 16, 2026
72d192b
MWPW-176456: Brand Concierge, testing updates, sizing issues, book a …
robert-bogos Apr 16, 2026
0b32f7e
[Release] Stage to Main (#5843)
milo-pr-merge[bot] Apr 23, 2026
9888c8b
[Release] Stage to Main (#5850)
milo-pr-merge[bot] Apr 27, 2026
2af6ea6
[Release] Stage to Main (#5856)
milo-pr-merge[bot] Apr 28, 2026
cd751cb
[Release] Stage to Main (#5864)
milo-pr-merge[bot] Apr 30, 2026
fd806c4
[Release] Stage to Main (#5878)
milo-pr-merge[bot] May 5, 2026
92969c6
[Release] Stage to Main (#5889)
milo-pr-merge[bot] May 7, 2026
3644db1
[Release] Stage to Main (#5910)
milo-pr-merge[bot] May 11, 2026
af8d3ea
[Release] Stage to Main (#5918)
milo-pr-merge[bot] May 12, 2026
899a6ae
[Release] Stage to Main (#5927)
milo-pr-merge[bot] May 18, 2026
93a440f
[Release] Stage to Main (#5944)
milo-pr-merge[bot] May 21, 2026
7598c58
initial commit all all changes
cmiqueo Jun 1, 2026
585525b
Merge branch 'stage' into MWPW-173596-full
cmiqueo Jun 1, 2026
7663d36
More updates to configurator UI
cmiqueo Jun 3, 2026
282f72c
Minor ces update
cmiqueo Jun 3, 2026
36e87c5
Moved customCard field input
cmiqueo Jun 4, 2026
ec2be33
Implements Claude code review fixes
cmiqueo Jun 11, 2026
89476ad
removes console logs
cmiqueo Jun 22, 2026
cb79942
implements QAi findins
cmiqueo Jun 23, 2026
70d7160
fixes tests
cmiqueo Jun 23, 2026
cf25288
More linting and tests fixes
cmiqueo Jun 23, 2026
a0e2076
Updates tag search logic
cmiqueo Jul 6, 2026
b0130c5
changes return array to object
cmiqueo Jul 8, 2026
cc21278
merge stage into current branch
cmiqueo Jul 8, 2026
98bfdc2
implements linting errors
cmiqueo Jul 8, 2026
1304acf
code cleanup
cmiqueo Jul 8, 2026
186e647
MWPW-195996: Flex card updates
cmiqueo Jul 15, 2026
345cebe
implements PR review comments
cmiqueo Jul 21, 2026
cfdf352
sync stage
cmiqueo Jul 21, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions libs/blocks/caas-config/caas-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,8 @@ const defaultOptions = {
'image-small-left': 'Small Left',
},
flexCardTextAlign: {
'text-left': 'Default',
default: 'Default',
'text-left': 'Left',
'text-center': 'Center',
'text-justify': 'Justify',
'text-right': 'Right',
Expand Down Expand Up @@ -240,6 +241,7 @@ const defaultOptions = {
},
detailsTextOption: {
default: 'Default',
hidden: 'Hidden',
createdDate: 'Created Date',
modifiedDate: 'Modified Date',
staticDate: 'Static Date',
Expand Down Expand Up @@ -437,7 +439,7 @@ const UiPanel = () => {
<${Input} label="Hide Details Text" prop="flexCardHideDetails" type="checkbox" />
<${Input} label="Hide Title" prop="flexCardHideTitle" type="checkbox" />
<${Input} label="Hide Description" prop="flexCardHideDescription" type="checkbox" />
<${Input} label="Hide Footer (CTA)" prop="flexCardHideFooter" type="checkbox" />
<${Input} label="Show Date on Footer" prop="flexCardShowDateOnFooter" type="checkbox" />
</div>
`;

Expand Down
6 changes: 3 additions & 3 deletions libs/blocks/caas/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -1126,7 +1126,7 @@ export const getConfig = async (originalState, strs = {}) => {
|| state.flexCardHideDetails
|| state.flexCardHideTitle
|| state.flexCardHideDescription
|| state.flexCardHideFooter))
|| state.flexCardShowDateOnFooter))
&& {
flexCard: {
imageOption: state.flexCardImageOptions,
Expand All @@ -1135,7 +1135,7 @@ export const getConfig = async (originalState, strs = {}) => {
hideDetails: !!state.flexCardHideDetails,
hideTitle: !!state.flexCardHideTitle,
hideDescription: !!state.flexCardHideDescription,
hideFooter: !!state.flexCardHideFooter,
showDateOnFooter: !!state.flexCardShowDateOnFooter,
},
}
),
Expand Down Expand Up @@ -1394,7 +1394,7 @@ export const defaultState = {
flexCardHideDetails: false,
flexCardHideTitle: false,
flexCardHideDescription: false,
flexCardHideFooter: false,
flexCardShowDateOnFooter: false,
detailsTextOption: 'default',
titleHeadingLevel: 'h3',
totalCardsToShow: 10,
Expand Down
42 changes: 42 additions & 0 deletions test/blocks/caas/utils.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import { expect } from '@esm-bundle/chai';
import { stub } from 'sinon';
import { setConfig } from '../../../libs/utils/utils.js';
import { getLingoActive } from '../../../libs/utils/lingo-active.js';
import caasTags from '../../../libs/blocks/caas-config/caas-tags.js';
import {
defaultState,
getConfig,
Expand Down Expand Up @@ -999,6 +1000,47 @@ describe('getCountryAndLang', () => {
expect(config.collection).to.not.have.property('editorialOpenVariant');
});

it('should include flexCard.showDateOnFooter in the config when enabled', async () => {
const state = {
...defaultState,
cardStyle: 'flex-card',
flexCardShowDateOnFooter: true,
};
const config = await getConfig(state, strings);
expect(config.collection.flexCard).to.deep.equal({
imageOption: 'default',
textAlign: 'text-left',
textSize: 'default',
hideDetails: false,
hideTitle: false,
hideDescription: false,
showDateOnFooter: true,
});
});

it('should NOT include flexCard in the config when flexCardShowDateOnFooter is disabled and all other flexCard options are default', async () => {
const state = {
...defaultState,
cardStyle: 'flex-card',
flexCardShowDateOnFooter: false,
};
const config = await getConfig(state, strings);
expect(config.collection).to.not.have.property('flexCard');
});

it('should populate products from getProducts when detailsTextOption is productName', async () => {
const state = { ...defaultState, detailsTextOption: 'productName' };
const config = await getConfig(state, strings);
expect(config.products).to.deep.equal(caasTags.namespaces.caas.tags.mnemonics.tags);
expect(config.products).to.not.be.empty;
});

it('should NOT call getProducts when detailsTextOption is not productName', async () => {
const state = { ...defaultState, detailsTextOption: 'default' };
const config = await getConfig(state, strings);
expect(config.products).to.deep.equal({});
});

it('should include localFirst sort option when sortLocalFirst is enabled', async () => {
const state = { ...defaultState, sortLocalFirst: true };
const config = await getConfig(state, strings);
Expand Down
Loading