Skip to content
This repository has been archived by the owner on Nov 13, 2023. It is now read-only.

13. Pricing Page Alignment from sheet #952

Closed
wants to merge 434 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
434 commits
Select commit Hold shift + click to select a range
e3df77c
Merge branch 'mwpw-133248-branch' of https://github.com/adobecom/expr…
qiyundai Jul 19, 2023
8be2739
Merge pull request #77 from adobecom/mwpw-133248-branch
vhargrave Jul 19, 2023
c809bae
Merge branch 'stage' into mwpw-128656
qiyundai Jul 19, 2023
90b3f15
Merge branch 'stage' into mwpw-133515
qiyundai Jul 19, 2023
4418989
adding back in logic for fallback query template count
qiyundai Jul 19, 2023
a78202a
Merge branch 'mwpw-133515' of https://github.com/adobecom/express int…
qiyundai Jul 19, 2023
bbdc437
Merge pull request #78 from adobecom/mwpw-133250-branch
JingleH Jul 19, 2023
93758a9
Mwpw 133909 and 133231 video use rendition link (#93)
JingleH Jul 19, 2023
e3ee33d
[MWPW-133253] Feature Grid Desktop - V3X (#91)
toka1300 Jul 19, 2023
8b1587e
Pricing summary block (#92)
redvelvet511 Jul 19, 2023
6d4ed97
Merge pull request #94 from adobecom/stage
apganapa Jul 19, 2023
e394049
toolbar fix
qiyundai Jul 19, 2023
c0ed0f0
change comment format
qiyundai Jul 19, 2023
5d72e18
Merging existing repo changes to new repo (#95)
apganapa Jul 19, 2023
30d4456
Merge pull request #96 from adobecom/main-receiver
apganapa Jul 20, 2023
7f17d3f
Merge pull request #97 from adobecom/main
vhargrave Jul 20, 2023
dda571d
toolbar filter params fix
qiyundai Jul 20, 2023
88e8cf8
reenable cross toolbar filter sync
qiyundai Jul 20, 2023
612e787
gen ai add-on wip
qiyundai Jul 20, 2023
eb7c721
gen-ai variant finished
qiyundai Jul 20, 2023
9be3718
limit to 56 char to prevent layout break
qiyundai Jul 20, 2023
a381fa8
sanitize user input
qiyundai Jul 20, 2023
33bd107
refactor with flexible context input
qiyundai Jul 21, 2023
d2197be
block gen ai input hover effect condition
qiyundai Jul 21, 2023
0c42b52
href fix
qiyundai Jul 21, 2023
0cd8e37
href fix 2
qiyundai Jul 21, 2023
2d9a161
MWPW-134028 | Adding pricing relation icons (#102)
apganapa Jul 21, 2023
f3e067e
Merge pull request #946 from adobe/stage
JingleH Jul 21, 2023
1e2c46f
more optional features for genAI
qiyundai Jul 21, 2023
cd2be81
pipeline fail fix
qiyundai Jul 21, 2023
a26dd30
vertical layout issue fix
qiyundai Jul 21, 2023
0ebe8eb
MWPW-134028 | Adding pricing relation icons (#102) (#104)
apganapa Jul 21, 2023
ef3bd23
use relative path for logSearch
qiyundai Jul 21, 2023
7e3927b
Delete Mismatching Sections by Data Device (#100)
JingleH Jul 22, 2023
2d14b21
Merge pull request #101 from adobecom/mwpw-133250-branch
vhargrave Jul 24, 2023
9b3a966
Merge remote-tracking branch 'upstream/stage' into stage
JingleH Jul 24, 2023
e836d7e
fix template-x tabs
JingleH Jul 24, 2023
33d8f6d
Merge pull request #109 from adobecom/fix-template-x-tabs
JingleH Jul 24, 2023
06bac24
ut
redvelvet511 Jul 24, 2023
206e995
[Homepage V3X] QA fixes (#108)
qiyundai Jul 24, 2023
56ee345
Homepage v3x qa follow (#111)
qiyundai Jul 24, 2023
429e7c5
Merge remote-tracking branch 'upstream/main' into sync-main
JingleH Jul 24, 2023
2d7e1c5
Merge pull request #113 from adobecom/sync-main
apganapa Jul 24, 2023
aab4891
remove the extra line:
redvelvet511 Jul 25, 2023
8e53b58
Merge pull request #112 from adobecom/stage
vhargrave Jul 25, 2023
0589cdf
[MWPW 133779] Project X GNav Update (#103)
toka1300 Jul 25, 2023
f4accc4
PR comment fix
qiyundai Jul 25, 2023
b8e0076
refactored autocomplete file structure
qiyundai Jul 25, 2023
c4cfc8a
Merge branch 'stage' into mwpw-128656
qiyundai Jul 25, 2023
2651ce5
dynamic importing of blockMediator
qiyundai Jul 25, 2023
acdc298
dynamic import take 2
qiyundai Jul 25, 2023
fbdda41
add missing space between function
redvelvet511 Jul 25, 2023
cb171d9
MWPW-133847 | Pricing Page Look Enhancement (#105)
apganapa Jul 25, 2023
feac749
rm bad api returned templates (#115)
JingleH Jul 25, 2023
6ada309
Mwpw 132061 library (#98)
vhargrave Jul 25, 2023
b050f6d
button container z-index fix
qiyundai Jul 26, 2023
ed03c5b
[MWPW-133515] [Template X]: Enhance/replace {{heading_placholder}} lo…
qiyundai Jul 26, 2023
e9a5143
search bar agnostic url params
qiyundai Jul 26, 2023
5f097e5
lint
qiyundai Jul 26, 2023
3c1f7ec
update template x param expectation
qiyundai Jul 26, 2023
06d232a
Merge branch 'stage' into mwpw-133515
qiyundai Jul 26, 2023
e3cf427
added folder structure and missing /
redvelvet511 Jul 27, 2023
a48eab9
MWPW-134028 | Updating sprite sheet and removing unwated svgs (#118)
apganapa Jul 27, 2023
712de16
removed empty path files
redvelvet511 Jul 27, 2023
7d6a604
keep the blocks folder
redvelvet511 Jul 27, 2023
ce658fc
removed directory
redvelvet511 Jul 27, 2023
89ad6d6
Merge pull request #119 from adobecom/mwpw-134316
apganapa Jul 27, 2023
a91584d
branch link standardization update
qiyundai Jul 27, 2023
64ff37b
typo fix
qiyundai Jul 27, 2023
851d69d
point to new sort icon row from placeholders (#116)
qiyundai Jul 27, 2023
ec58203
Merge pull request #121 from adobecom/mwpw-134319
apganapa Jul 27, 2023
fd3484e
better word detection
qiyundai Jul 27, 2023
dd4e836
icon-list css fix / update
qiyundai Jul 27, 2023
7688154
fix breadcrumbs
JingleH Jul 27, 2023
85090cd
Merge branch 'stage' into template-x-fix-breadcrumbs
JingleH Jul 27, 2023
241f71d
small image only app positioning tweak
qiyundai Jul 27, 2023
c31e007
Update fullscreen-marquee-desktop.css
qiyundai Jul 27, 2023
df0a82a
search-marquee search redirect based on devices
JingleH Jul 27, 2023
46bc13f
adapt to new search scheme
JingleH Jul 27, 2023
71c2b9d
handles empty short-title
JingleH Jul 27, 2023
f2653b7
breadcrumbs inside template-x block
JingleH Jul 27, 2023
2794377
MWPW-134395 | Adding icons for make a project page
apganapa-adobe Jul 28, 2023
4400f40
Merge pull request #126 from adobecom/MWPW-134395
apganapa Jul 28, 2023
9240325
Merge pull request #122 from adobecom/mwpw-134330
apganapa Jul 28, 2023
2a1e8cf
Merge pull request #124 from adobecom/mwpw-133439
apganapa Jul 28, 2023
b8c32a3
fix mobile layout issue
qiyundai Jul 28, 2023
8c33858
add conditional translatedTasks logic
qiyundai Jul 28, 2023
3754387
typo fix
qiyundai Jul 28, 2023
fbf76a4
Merge pull request #117 from adobecom/mwpw-133515
JingleH Jul 28, 2023
ee64e30
Merge branch 'stage' into template-x-fix-breadcrumbs
JingleH Jul 28, 2023
d565996
Merge pull request #123 from adobecom/template-x-fix-breadcrumbs
JingleH Jul 29, 2023
a730b14
template-x 2 fallback strategies (#129)
JingleH Jul 29, 2023
3c5004f
[MWPW 133847] Pricing Page Follow-Up Items (#120)
toka1300 Jul 29, 2023
fde918b
Merge pull request #127 from adobecom/mwpw-134405
apganapa Jul 31, 2023
a7c9bea
Merge branch 'stage' into mwpw-128656
qiyundai Jul 31, 2023
3bfb3c9
Fixed bug that prevented block from loading when missing gradient
toka1300 Jul 31, 2023
462dfe6
added mocha in env
redvelvet511 Jul 31, 2023
2abcda1
added comment to disable no-used expression
redvelvet511 Jul 31, 2023
64a7798
added no-used-expression in lint
redvelvet511 Jul 31, 2023
36fbd89
add back missing import
qiyundai Jul 31, 2023
fbefb25
Visual bug on template-x fix
qiyundai Jul 31, 2023
885596b
Hid linear gradient on expanded view
toka1300 Jul 31, 2023
55259a7
Merge pull request #80 from adobecom/mwpw-128656
JingleH Jul 31, 2023
1b736b3
[MWPW-134396] Homepage v3x QA items round 2 (#130)
qiyundai Jul 31, 2023
78dcc28
Merge pull request #114 from adobecom/mwpw-133254-2
vhargrave Jul 31, 2023
c6c93f6
Refactor JS
toka1300 Jul 31, 2023
d274b68
Stage to Main Syncup (#128)
apganapa Jul 31, 2023
b133aa3
quick LCP layout fixes
qiyundai Jul 31, 2023
fd6d35b
Merge pull request #132 from adobecom/homepage-v3x-qa-3
apganapa Jul 31, 2023
2f4eacc
[MWPW-134404] Relevant Rows Regression Bug Fix (#125)
qiyundai Jul 31, 2023
b27f5e6
avoid reflow
JingleH Aug 1, 2023
198485e
Removed background gradient from 'load-more' on expansion
toka1300 Aug 1, 2023
be49396
Merge branch 'stage' into feature-grid-images
toka1300 Aug 1, 2023
40fd754
template-x multiple bug fixes
qiyundai Aug 1, 2023
3132617
Load more button authorable
toka1300 Aug 1, 2023
566455f
separate pricing
JingleH Aug 1, 2023
5aba7ef
separate free-plan
JingleH Aug 1, 2023
d735196
separate instruments
JingleH Aug 1, 2023
ef615b2
lint
qiyundai Aug 1, 2023
5cf9d4b
subtle active effect for dropdown
qiyundai Aug 1, 2023
90ab370
q fix
qiyundai Aug 1, 2023
9663915
category list tweak and cleanup
qiyundai Aug 1, 2023
48fad4c
Merge pull request #135 from adobecom/mwpw-134484
JingleH Aug 1, 2023
58f2a02
Merge pull request #137 from adobecom/mwpw-134535
JingleH Aug 1, 2023
05554d3
Merge pull request #134 from adobecom/fix-template-search-flash
JingleH Aug 1, 2023
e6babbc
fix typo
JingleH Aug 1, 2023
a7f9f5b
MWPW-134395 | Updating icons
apganapa-adobe Aug 1, 2023
8fa9816
Merge pull request #139 from adobecom/fix-template-mobile
JingleH Aug 1, 2023
42946f0
hover clipping fix
qiyundai Aug 2, 2023
b542f10
ckg linklist search url fix
qiyundai Aug 2, 2023
102400d
test tooltip remove fix
qiyundai Aug 2, 2023
8c10513
quick action variant tooltip fix
qiyundai Aug 2, 2023
e6eb0b7
fallback empty string for content replacing tasksx
qiyundai Aug 2, 2023
946904b
fix seo linklist carousel missing bug
qiyundai Aug 2, 2023
0064588
small viewport fixes
qiyundai Aug 2, 2023
75e718e
Added bolding to load-more
toka1300 Aug 2, 2023
0bd1e16
remove duplicate code
qiyundai Aug 2, 2023
db1af09
update base url
JingleH Aug 2, 2023
4dda806
Merge pull request #141 from adobecom/template-x-media-fix
JingleH Aug 2, 2023
69c9e04
Merge pull request #142 from adobecom/template-x-api-behind-cdn
JingleH Aug 2, 2023
c832b9b
Merge pull request #136 from adobecom/reduce-scriptsjs-size
JingleH Aug 2, 2023
900a119
Merge pull request #140 from adobecom/MWPW-134395
JingleH Aug 2, 2023
e5defc6
Merge pull request #131 from adobecom/feature-grid-images
JingleH Aug 2, 2023
2c0df6f
[MWPW 133847] Pricing Page - Follow-up Spacing Adjustments (#143)
toka1300 Aug 2, 2023
48024a7
[TRACKING FIX] CTA Carousel: branch link tracking param update (#138)
qiyundai Aug 2, 2023
800b13a
content-search undo replacing space (#145)
JingleH Aug 2, 2023
85d64a3
Merge branch 'main' into sync-main
JingleH Aug 2, 2023
c07e4b6
Merge pull request #146 from adobecom/sync-main
JingleH Aug 2, 2023
5347306
Merge remote-tracking branch 'origin/main' into sync-main
qiyundai Aug 2, 2023
71eec00
link tracking fix for CTA
qiyundai Aug 2, 2023
6bd2a31
branch link fix 2
qiyundai Aug 2, 2023
77f6285
Merge pull request #147 from adobecom/sync-main
JingleH Aug 2, 2023
635915f
fix still rendering after redirects
JingleH Aug 2, 2023
7bfd749
Merge pull request #148 from adobecom/last-fixes
JingleH Aug 2, 2023
29b156a
MWPW-134590 | Batch 2 icons for audience pages (#149)
apganapa Aug 2, 2023
808e972
Merge pull request #144 from adobecom/stage
apganapa Aug 2, 2023
f4b4235
wait for ckg replacement
JingleH Aug 3, 2023
872773e
updated custom symbols list for currency format
qiyundai Aug 3, 2023
ef6358c
Autocomplete only for EFGJ
JingleH Aug 3, 2023
703ce3b
Merge pull request #152 from adobecom/ac-only-to-efgj
JingleH Aug 3, 2023
bc9cac8
Merge pull request #150 from adobecom/hide-mobile-ckg-defaults
JingleH Aug 3, 2023
a0a83e4
Merge pull request #151 from adobecom/currency-name-update
JingleH Aug 3, 2023
a85b312
added some handlers (#154)
JingleH Aug 3, 2023
c783b2a
Template Blocks CSS cleanup (#153)
qiyundai Aug 3, 2023
d913237
hiding (#156)
JingleH Aug 3, 2023
376aa73
fix (#157)
JingleH Aug 3, 2023
55bba13
Merge pull request #155 from adobecom/stage
apganapa Aug 3, 2023
b732691
LCP on relevant rows page + promotion after blocks
qiyundai Aug 4, 2023
95ffb41
Merge pull request #159 from adobecom/mwpw-134688
JingleH Aug 7, 2023
831ed52
explicitly wait for content replace
JingleH Aug 7, 2023
c372c1d
Merge pull request #161 from adobecom/await-content-replace
JingleH Aug 7, 2023
51916bf
better querySelector() to unhide carousel
qiyundai Aug 7, 2023
74a742e
Merge pull request #162 from adobecom/seo-nav-fix
JingleH Aug 7, 2023
0a59d0f
category list height fix
qiyundai Aug 7, 2023
028306e
Merge pull request #163 from adobecom/category-list-hover-fix
JingleH Aug 7, 2023
d5af02c
Changed text max-width + Added Stretch
redvelvet511 Aug 9, 2023
2b2d100
No more CKG search pills
qiyundai Aug 9, 2023
c154af3
wide variant alignment fix
qiyundai Aug 9, 2023
616aeac
PUF percentage styling fix
qiyundai Aug 9, 2023
c3673ad
MWPW-134869 add checks if placeholders do not exist (#166)
vhargrave Aug 9, 2023
0cbe35d
MWPW-133779 | Adding IN condition to load EN Gnav (#173)
apganapa Aug 9, 2023
1810c5b
Merge pull request #169 from adobecom/mwpw-134814
JingleH Aug 9, 2023
ed8a4bd
hide block when 0 template exists
JingleH Aug 8, 2023
4ed9499
handle tab changing when 0 template
JingleH Aug 8, 2023
6441a08
still show toolbar with 0 templates
JingleH Aug 8, 2023
088f890
added ultimate fallback
JingleH Aug 10, 2023
c0a6337
Merge pull request #170 from adobecom/no-search-ckg-pill
vhargrave Aug 10, 2023
ebbd66c
Merge pull request #172 from adobecom/puf-percentage-no-highlight
vhargrave Aug 10, 2023
b10bd26
MWPW-134948 update way to generate template metadata
vhargrave Aug 10, 2023
c0123fa
added fallback icons
JingleH Aug 10, 2023
136cd97
Merge pull request #164 from adobecom/enhance-error-handle-it-templates
vhargrave Aug 10, 2023
a778382
MWPW-134948 simplify sitemap generation
vhargrave Aug 10, 2023
e7214fc
MWPW-134948 use path
vhargrave Aug 10, 2023
fa82ff1
MWPW-134948 fix source
vhargrave Aug 10, 2023
8f885f1
MWPW-134948 use url
vhargrave Aug 10, 2023
562524f
MWPW-134948 use path
vhargrave Aug 10, 2023
7849989
MWPW-134948 fix urls
vhargrave Aug 10, 2023
2fce771
MWPW-134948 use path
vhargrave Aug 10, 2023
2af3457
Merge pull request #174 from adobecom/stage
vhargrave Aug 10, 2023
042a8f7
consider tasksx for post pageload redirect check
qiyundai Aug 10, 2023
f8bd9f6
check props equal before redraw
qiyundai Aug 10, 2023
98f59a4
add free/premium after image loaded
JingleH Aug 10, 2023
8268649
CTA room fix for FR
qiyundai Aug 10, 2023
5b20f6f
early exit
qiyundai Aug 10, 2023
c0e9279
image loading phase used enum
JingleH Aug 10, 2023
f5d9dea
careful during reloading
JingleH Aug 10, 2023
588e59f
update tracking config id
qiyundai Aug 10, 2023
7f6d696
optional getIcon call
JingleH Aug 10, 2023
bdffcc7
fixed sort issue in localized template pages (#167)
qiyundai Aug 11, 2023
705d1d8
PUF Free Plan Link Update (#179)
toka1300 Aug 12, 2023
1c16109
MWPW-134948 use placeholder for toast message
vhargrave Aug 14, 2023
536870b
MWPW-134948 remove unnecessary prop param
vhargrave Aug 14, 2023
c0125e3
Merge pull request #182 from adobecom/stage
apganapa Aug 14, 2023
3ef998c
Updated the viewbox of the gen-ai svg
toka1300 Aug 14, 2023
b6bd769
Merge pull request #178 from adobecom/mwpw-134928
apganapa Aug 14, 2023
f2b0b78
avoid regenrating funcs
JingleH Aug 14, 2023
00a0453
Merge pull request #184 from adobecom/gen-ai-icon-cutoff-2
JingleH Aug 14, 2023
3fc9624
Merge pull request #177 from adobecom/mwpw-134980
apganapa Aug 14, 2023
4acb618
also delay video/multi icons
JingleH Aug 14, 2023
d8d8f70
Merge pull request #171 from adobecom/pricing-summary-fix
JingleH Aug 14, 2023
54f8c5d
Merge pull request #175 from adobecom/mwpw-134982
vhargrave Aug 14, 2023
fd2d82c
MWPW-135067 set free text to also come from placeholder
vhargrave Aug 14, 2023
a118539
fix french free-plan wrapping
qiyundai Aug 14, 2023
219f8bc
[MWPW-134813] Template X & Template List Different From Scratch Link …
qiyundai Aug 14, 2023
0257432
Merge pull request #185 from adobecom/marquee-cta-longtext-fix-2
apganapa Aug 14, 2023
33ee911
Merge pull request #176 from adobecom/template-x-hide-icons-until-ima…
apganapa Aug 14, 2023
b3a1ec4
Merge remote-tracking branch 'origin/main' into MWPW-135067-template-…
JingleH Aug 14, 2023
5747984
dispatch event to trigger arrow load
qiyundai Aug 14, 2023
8e100ea
Merge pull request #181 from adobecom/MWPW-135067-template-toast-text…
JingleH Aug 14, 2023
deb465f
fix from toggle-bar perspective
qiyundai Aug 14, 2023
880ac80
Merge pull request #186 from adobecom/carousel-arrow-not-loading-fix
JingleH Aug 14, 2023
9990bc6
gradient H1 different layout for jp
qiyundai Aug 14, 2023
5e5f724
Merge pull request #187 from adobecom/jp-fullscreen-marquee-fix
apganapa Aug 14, 2023
d242c62
MWPW-135103 add NL sitemap config for templates
vhargrave Aug 15, 2023
f42970a
Merge pull request #188 from adobecom/MWPW-135103-nl-sitemap-templates
vhargrave Aug 15, 2023
471d26a
Added branch list to free plan link whitelist
toka1300 Aug 15, 2023
bc6dc85
Merge pull request #189 from adobecom/puf-free-button-fix-2
vhargrave Aug 15, 2023
e5a1c37
adding a new api-required localization header
JingleH Aug 16, 2023
c38fdfa
uppercase header value?
JingleH Aug 16, 2023
486900f
Merge pull request #191 from adobecom/hot-localize-content-api
JingleH Aug 16, 2023
3aa252d
Fixed z-index on play/pause to fall behind nav dropdown
toka1300 Aug 16, 2023
f6e039e
columns block picture column determining logic enhancement
qiyundai Aug 16, 2023
dfb5ec7
Merge pull request #195 from adobecom/column-picture-fix
JingleH Aug 16, 2023
76eda94
Merge pull request #192 from adobecom/marquee-play-button-overlap
JingleH Aug 16, 2023
47509ce
Floating Button: Overflow Issue (#194)
toka1300 Aug 16, 2023
7fdb346
hide ckg default when mismatch
JingleH Aug 16, 2023
b2be259
all other usage of replaceLinkPill
JingleH Aug 16, 2023
e03c19f
use regex
JingleH Aug 16, 2023
1cd2c9f
Merge pull request #196 from adobecom/hide-ckg-default
JingleH Aug 16, 2023
c042bfa
Added alignment
redvelvet511 Aug 17, 2023
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
9 changes: 9 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ module.exports = {
extends: '@adobe/helix',
env: {
browser: true,
mocha: true,
},
rules: {
// allow reassigning param
Expand All @@ -23,6 +24,14 @@ module.exports = {
'import/extensions': ['error', {
js: 'always',
}],
'no-unused-expressions': 0,
},
settings: {
'import/resolver': {
node: {
extensions: ['.js', '.jsx', '.ts', '.tsx'],
},
},
},
parser: '@babel/eslint-parser',
parserOptions: {
Expand Down
4 changes: 4 additions & 0 deletions .github/codeql/codeql-config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
name: "Express CodeQL Config"

paths-ignore:
- node_modules
8 changes: 4 additions & 4 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Please always provide the [JIRA issue(s)](https://jira.corp.adobe.com/secure/RapidBoard.jspa?rapidView=34618) your PR is for, as well as test URLs where your change can be observed (before and after):
Describe your specific features or fixes

Fix <jira-issue-id>
Resolves: [MWPW-NUMBER](https://jira.corp.adobe.com/browse/MWPW-NUMBER)

Test URLs:
- Before: https://main--express-website--adobe.hlx.page/express/
- After: https://<branch>--express-website--adobe.hlx.page/express/
- Before: https://main--express--adobecom.hlx.page/express/
- After: https://<branch>--express--adobecom.hlx.page/express/
66 changes: 66 additions & 0 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
# For most projects, this workflow file will not need changing; you simply need
# to commit it to your repository.
#
# You may wish to alter this file to override the set of languages analyzed,
# or to provide custom queries or build logic.
#
# ******** NOTE ********
# We have attempted to detect the languages in your repository. Please check
# the `language` matrix defined below to confirm you have the correct set of
# supported CodeQL languages.
#
name: "CodeQL"

on:
push:
branches: [ "main", "stage" ]
pull_request:
# The branches below must be a subset of the branches above
branches: [ "main", "stage" ]
schedule:
- cron: '18 6 * * 5'

jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
security-events: write

strategy:
fail-fast: false
matrix:
language: [ 'javascript' ]

steps:
- name: Checkout repository
uses: actions/checkout@v3

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
with:
languages: ${{ matrix.language }}
config-file: ./.github/codeql/codeql-config.yml

# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
# If this step fails, then you should remove it and run the build manually (see below)
- name: Autobuild
uses: github/codeql-action/autobuild@v2

# ℹ️ Command-line programs to run using the OS shell.
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun

# If the Autobuild fails above, remove it and uncomment the following three lines.
# modify them (or add more) to build your code if your project, please refer to the EXAMPLE below for guidance.

# - run: |
# echo "Run, Build Application using script"
# ./location_of_script_within_repo/buildscript.sh

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
with:
category: "/language:${{matrix.language}}"
48 changes: 35 additions & 13 deletions .github/workflows/run-tests.yaml
Original file line number Diff line number Diff line change
@@ -1,18 +1,40 @@
name: Tests and Linting

on: [pull_request]

on:
push:
branches: [ "main", "stage" ]
pull_request:
types: [opened, synchronize, reopened, edited]
branches: [ "main", "stage" ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [14.x]
steps:
- uses: actions/checkout@v3
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: '14'
- run: npm install
- run: npm run lint
- run: npm test
env:
CI: true
- name: Checkout repository
uses: actions/checkout@v3
with:
fetch-depth: 2

- name: Set up Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}

- name: Install XVFB
run: sudo apt-get install xvfb

- name: Install dependencies
run: npm ci

- name: Run linters
run: npm run lint

- name: Run the tests
run: xvfb-run -a npm test

- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
with:
files: coverage/lcov.info
6 changes: 6 additions & 0 deletions express/blocks/app-banner/app-banner.js
Original file line number Diff line number Diff line change
Expand Up @@ -202,5 +202,11 @@ export default async function decorate($block) {
watchFloatingButtonState($block);
}, 1000);
}

const blockLinks = $block.querySelectorAll('a');
if (blockLinks && blockLinks.length > 0) {
const linksPopulated = new CustomEvent('linkspopulated', { detail: blockLinks });
document.dispatchEvent(linksPopulated);
}
}
}
11 changes: 10 additions & 1 deletion express/blocks/app-store-blade/app-store-blade.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,11 @@

import {
createOptimizedPicture,
createTag, fetchPlaceholders, getIcon, getIconElement, getMetadata,
createTag,
fetchPlaceholders,
getIcon,
getIconElement,
getMetadata,
} from '../../scripts/scripts.js';

/**
Expand Down Expand Up @@ -233,4 +237,9 @@ export default async function decorate($block) {
$block.innerHTML = '';

decorateBlade($block, payload);
const blockLinks = $block.querySelectorAll('a');
if (blockLinks && blockLinks.length > 0) {
const linksPopulated = new CustomEvent('linkspopulated', { detail: blockLinks });
document.dispatchEvent(linksPopulated);
}
}
6 changes: 6 additions & 0 deletions express/blocks/app-store-highlight/app-store-highlight.js
Original file line number Diff line number Diff line change
Expand Up @@ -273,4 +273,10 @@ export default async function decorate($block) {
decorateGallery($block, payload);
decorateAppStoreIcon($block, payload);
initScrollAnimation($block);

const blockLinks = $block.querySelectorAll('a');
if (blockLinks && blockLinks.length > 0) {
const linksPopulated = new CustomEvent('linkspopulated', { detail: blockLinks });
document.dispatchEvent(linksPopulated);
}
}
Loading