Skip to content

feat(mcd-renaissanceranch): add option for enable get more points but…#134

Merged
mas-iota merged 4 commits intomasterfrom
mcd-renaissanceranch
Aug 8, 2024
Merged

feat(mcd-renaissanceranch): add option for enable get more points but…#134
mas-iota merged 4 commits intomasterfrom
mcd-renaissanceranch

Conversation

@AliAlaqrabawi3
Copy link
Copy Markdown
Contributor

…ton + enhancements

@AliAlaqrabawi3 AliAlaqrabawi3 force-pushed the mcd-renaissanceranch branch 14 times, most recently from 835efec to d09a31e Compare August 1, 2024 11:55
var startSkeleton = function (){
const currentLayout = WidgetHome.data.design.listLayout;
if (currentLayout=== "List_Layout_1"){
WidgetHome.skeleton.currentPoints = new buildfire.components.skeleton('.current-points-skeleton', { type: 'image' });
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reduce lines of code

WidgetHome.data.design = {};
if (!WidgetHome.data.settings)
WidgetHome.data.settings = {
enableGetMorePointsButton: true,
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove this line

Comment thread widget/index.html Outdated
<meta name="buildfire" content="enableMDTheme" />
<meta name="buildfire" content="disableBootstrap" />
<!-- CSS -->
<meta name="viewport" content="width=device-width, initial-scale=1.0">
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fix indentation

Comment thread widget/index.html Outdated
</div>

<!--<h3>Loyalty Plugin App has been Loaded</h3>-->
<div ng-if="WidgetHome.data.design.listLayout && WidgetHome.skeleton.currentPoints === null" ng-include="'templates/' + WidgetHome.data.design.listLayout + '.html'">
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

To be removed

@mas-iota mas-iota merged commit 4f51776 into master Aug 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants