Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs(en): merge developer.chrome.com/main into developer.chrome.com/main @ c2bbced8 #370

Open
wants to merge 1,009 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1009 commits
Select commit Hold shift + click to select a range
7319cc6
Small edit (#7252)
jpmedley Sep 7, 2023
655b3b9
Updating "Transitioning from Chrome Apps" article (#7076)
demianrenzulli Sep 8, 2023
21eb4a6
Add use case to debugging part 1 (#7211)
nancymic2 Sep 8, 2023
3f3ad9c
Add platform APIs to the list of supported technologies. (#7264)
jpmedley Sep 8, 2023
5091807
ARA get started Akash's feedback incorporated (#7256)
nancymic2 Sep 11, 2023
ce234db
Revert "Add use case to debugging part 1 (#7211)" (#7261)
nancymic2 Sep 11, 2023
611fe01
Tweak LoAF example to make it more obvious it's two code snippets (#7…
tunetheweb Sep 11, 2023
099604a
Add note about GA and prerender support (#7262)
tunetheweb Sep 11, 2023
6db82c0
Update Soft Navigations post to note new Origin Trial (#7245)
tunetheweb Sep 11, 2023
b0c7cc4
Add FedCM Updates Link to Roadmap (#7267)
JackJey Sep 12, 2023
363d3b6
[JA] Privacy Sandbox Translations (#7281)
ilyaspiridonov Sep 12, 2023
b60ef43
protected audience demo code links (#7260)
nancymic2 Sep 12, 2023
79a1ecb
Update "Override Chrome pages" (#7197)
wizardofdocs Sep 12, 2023
0734724
September 2023 CrUX Release (for August data) (#7284)
tunetheweb Sep 12, 2023
4cbc6fa
network upds (#7144)
sofiayem Sep 12, 2023
5e78e1e
Fix typo in crux API doc (#6728)
isker Sep 12, 2023
988a077
remove use-shared-storage and the one link to it (#6716)
nancymic2 Sep 12, 2023
c8228f0
Fix typo in CrUX Dashboard docs (#4749)
NoahvdAa Sep 12, 2023
153d8ba
Update use cases for ARA debug reports (#7276)
nancymic2 Sep 12, 2023
24e18e3
New in Chrome 1117 (#7279)
tropicadri Sep 12, 2023
ba18753
Updated new in chrome video (#7287)
tropicadri Sep 12, 2023
f68e22f
Fix FAQ's low-hanging fruit (#7265)
jpmedley Sep 12, 2023
3db7b6d
DevTools 117: Local overrides. New workflow and xhr/fetch support (#7…
sofiayem Sep 13, 2023
a1b841f
change remaining links to ARA tips doc (#7290)
nancymic2 Sep 13, 2023
6a57e6a
Update PA status table links (#7288)
kevinkiklee Sep 13, 2023
7bc88ab
add a use shared storage redirect (#7286)
nancymic2 Sep 13, 2023
e6f721c
Beta 118 post (#7293)
rachelandrew Sep 13, 2023
2dea80c
[JA] Privacy Sandbox Translations (#7303)
ilyaspiridonov Sep 15, 2023
4c1e2f4
mv3 promises - changed 'many apis' to 'most apis' (#7308)
rdworth Sep 15, 2023
06d42d3
What's new in DevTools 118 (#7304)
sofiayem Sep 15, 2023
bf8e4eb
Add monitorTypeSurfaces option (#7310)
beaufortfrancois Sep 15, 2023
d3a2406
Fix code sample in GA4 tutorial (#7311)
AmySteam Sep 15, 2023
130d076
Add file scheme changes to 'What's new'. (#7313)
jpmedley Sep 15, 2023
d77afde
DevTools 117: Performance and Sources upds (#7203)
sofiayem Sep 18, 2023
fd63f69
Publish Privacy Regulation FAQs to developer.chrome.com website (#7273)
nancymic2 Sep 18, 2023
7756220
Fix link (#7329)
anusmitaray Sep 18, 2023
84dcfda
Add From WebGL to WebGPU blog post (#7324)
beaufortfrancois Sep 19, 2023
f4be985
typos (#7336)
sofiayem Sep 19, 2023
62e3ff4
Homepage refresh (#7302)
devnook Sep 20, 2023
8190333
chore: update site title to Chrome for Developers
matthiasrohmer Sep 20, 2023
76410aa
add partials for 118 (#7342)
sofiayem Sep 20, 2023
bb551e0
add post (#7338)
rachelandrew Sep 20, 2023
edac90a
add logo (#7344)
rachelandrew Sep 20, 2023
52fd993
update origin trial info (#7305)
nancymic2 Sep 20, 2023
16c42ed
Soft Navs better explanation of LCP time (#7345)
tunetheweb Sep 20, 2023
229069d
Make it more explicit that `effectiveConnectionType` is not supported…
iamakulov Sep 20, 2023
733c4da
update webdriver bidi info (#7346)
rachelandrew Sep 21, 2023
29433d9
Mention Chrome for Testing (#7347)
mathiasbynens Sep 24, 2023
9844fe0
ua reduction changes (#7360)
nancymic2 Sep 25, 2023
6450900
Update video link WNDT 116 (#7380)
jecfish Sep 26, 2023
ea6bc74
Update video link WNDT 117 (#7381)
jecfish Sep 26, 2023
7770349
Add Silvia Eremia and Ioana Forfota (#7359)
silviaeremia7 Sep 26, 2023
ba8885e
Add date that was forgotten before (#7386)
jpmedley Sep 26, 2023
8b9b38c
Remove old extensions samples page and redirect to new one (#7376)
AmySteam Sep 26, 2023
ecb29fe
Refactor 'Improve extension security'. (#7247)
jpmedley Sep 26, 2023
5a06411
Bulk update from '関連性と測定' to '広告関連' (#7368)
agektmr Sep 27, 2023
cb2935b
a few more origin trial mentions (#7352)
nancymic2 Sep 27, 2023
d17a624
Add Protected Audience reporting doc (#7389)
kevinkiklee Sep 27, 2023
893072f
Add documentation on storage partitioning and partitioned cookies (#6…
oliverdunk Sep 27, 2023
19d6354
Fix invalid link (#7366)
NiedziolkaMichal Sep 27, 2023
f1a7db6
Make the definition of site more precise (#7395)
csharrison Sep 27, 2023
3095381
Adding FedCM Change Log of Chrome 116/117 (#7314)
JackJey Sep 28, 2023
2ea8904
Correct shortcut in index.md (#7378)
ar-assad Sep 28, 2023
5ae33dc
Renew Speculation Rules Origin Trial (#7361)
tunetheweb Sep 28, 2023
17c763c
Bump web-vitals to 3.5.0 (#7406)
tunetheweb Sep 28, 2023
6ad11e6
Update deprecation notice for apps. (#6387)
jpmedley Sep 28, 2023
eaef0ae
VT case studies article (#7409)
rachelandrew Sep 29, 2023
a393767
[Deprecating Web SQL article] Update deprecation timeline (#7404)
tomayac Sep 29, 2023
039ac18
Add information about active debugger sessions and SWs. (#7387)
jpmedley Sep 29, 2023
baa9540
Add sample search announcement to 'What's new'. (#7413)
jpmedley Sep 29, 2023
f9e86af
Fixes navigation preload 'after' image size per @tunetheweb. (#7416)
malchata Sep 29, 2023
127e7b2
rename FPS (#7379)
nancymic2 Sep 29, 2023
030d58e
Add Debugging Chrome Extensions video (#7405)
jecfish Sep 29, 2023
99db418
Updated DevTools page (#7307)
wizardofdocs Oct 2, 2023
d4b45e9
Add guidance for Publishing an MV3 extension (#7223)
AmySteam Oct 2, 2023
30a8a62
Fixed typo in Chrome extension reference article (#7420)
mighty-odewumi Oct 2, 2023
0f7b3d8
Update index.md (#7425)
jecfish Oct 3, 2023
1cc799c
What's New in WebGPU (Chrome 118) (#7257)
beaufortfrancois Oct 3, 2023
46b7ea5
Passkeys on iCloud Keychain blog post (#7382)
agektmr Oct 3, 2023
955b757
Update ARA updates index.md (#7393)
nancymic2 Oct 3, 2023
5afe856
ARA dev guide landing page (#7253)
nancymic2 Oct 3, 2023
a6f4ec3
add grant testing faqs (#7415)
nancymic2 Oct 3, 2023
6ecdf93
Update WNDT 118 video link (#7438)
jecfish Oct 4, 2023
c24425c
Update fedcm-developer guide (#7402)
JackJey Oct 4, 2023
9e6488b
Link old popover blogpost to new one (#7429)
bramus Oct 4, 2023
a8c78fd
Bump @mdn/browser-compat-data from 5.3.6 to 5.3.20 (#7437)
dependabot[bot] Oct 4, 2023
025e373
Add @scope article (#7427)
bramus Oct 4, 2023
d6fb028
Update fps.md (#7435)
nancymic2 Oct 4, 2023
6d38e3e
chore: update webdev-infra to 1.0.57
matthiasrohmer Oct 4, 2023
df5f709
DevTools tips 27: Debugging Chrome extensions, promo post (#7433)
sofiayem Oct 5, 2023
667f301
Updated Storage reference page (#7399)
wizardofdocs Oct 5, 2023
feec4b9
Consolidate action material (#7398)
jpmedley Oct 5, 2023
605132d
Update for per-item privacy policy. (#7446)
jpmedley Oct 5, 2023
59986fb
Fix dates on privacy policy updates (#7447)
jpmedley Oct 6, 2023
74b32d4
[JA] Privacy Sandbox translations (#7448)
ilyaspiridonov Oct 6, 2023
8d375e9
[JA] Fix ja localized content for bounce tracking mitigations doc (#7…
aplio Oct 6, 2023
df214d6
Update index.md (#7450)
rajpalsaurabh Oct 6, 2023
d9efb9c
Remove tweets embded pipeline (#7453)
devnook Oct 6, 2023
127afbc
Updated Offscreen page (#7397)
wizardofdocs Oct 6, 2023
95f656f
Make download link more prominent (#7456)
jpmedley Oct 6, 2023
57538ff
Fix naming and linking issues surrounding single purpose policy. (#7452)
jpmedley Oct 6, 2023
cf4c605
post (#7463)
rachelandrew Oct 7, 2023
65970ca
Add error handling to Protected Audience example (#7455)
samdutton Oct 7, 2023
6003c46
Add error handling to Topics example (#7454)
samdutton Oct 7, 2023
2c72733
Update date on storage and cookies article (#7407)
oliverdunk Oct 9, 2023
8b8b475
Add fullscreen popup OT article (#7374)
tomayac Oct 9, 2023
a7c5580
Update index.md (#7457)
JackJey Oct 9, 2023
c74f0cf
Update DevTools Overview panel images (#7445)
alexandrascript Oct 9, 2023
2d5a56a
Add file locking article (#7476)
tomayac Oct 9, 2023
4558b8a
Scope article: Fix className (#7475)
bramus Oct 9, 2023
e88f93b
Use standard heading grammer (#7458)
jpmedley Oct 9, 2023
99e1ca1
Make this tutorial consistent with others. (#7459)
jpmedley Oct 9, 2023
9263d1c
[Chrome beta 119] Add OT link (#7477)
tomayac Oct 9, 2023
5e07a80
Add Storage and Cookies doc to What's New (#7423)
oliverdunk Oct 10, 2023
b33e408
Oct 2023 Chrome-facilitated testing updates (#7485)
rowan-m Oct 10, 2023
4fa4d2b
Update author entry for rowan_m (#7493)
rowan-m Oct 10, 2023
b8468a1
DevTools 118: @property, overrides, search, and workspace (#7337)
sofiayem Oct 10, 2023
abd6117
prefers-reduced-transparency (#7383)
sofiayem Oct 10, 2023
5f9d6bd
October 2023 CrUX Release (for September data) (#7484)
tunetheweb Oct 10, 2023
98a36ab
New in Chrome 118 posts (#7460)
tropicadri Oct 10, 2023
4265a43
What's new in DevTools 119 (#7492)
sofiayem Oct 11, 2023
647b72b
Fix typos in cdp-command-editor blog post (#7222)
wolfib Oct 11, 2023
e262dd2
queueing vs stalled clarification (#7507)
sofiayem Oct 11, 2023
b537dc2
Add isUrlFilterCaseSensitive change to What's New (#7482)
oliverdunk Oct 11, 2023
0d3eb46
Protected Audience worklet caching (#7392)
kevinkiklee Oct 11, 2023
06f806f
Blog post "Preparing for the end of third-party cookies" (#7509)
rowan-m Oct 11, 2023
b24e519
Add callout about percentage rollout and new users (#7508)
oliverdunk Oct 11, 2023
4f949d3
`new post` - CSS relative color syntax (#7483)
argyleink Oct 11, 2023
9b10eeb
Misc updates to 103 early hints article (#7510)
tunetheweb Oct 11, 2023
e6f895a
Update web.dev links to new format (#7513)
tunetheweb Oct 11, 2023
bc9bc2c
Rough in 'Support and feedback' section. (#7263)
jpmedley Oct 11, 2023
f8e06f9
Add missing descriptions to support and feedback. (#7517)
jpmedley Oct 12, 2023
4c3875b
Homepage updates (#7522)
rachelandrew Oct 12, 2023
d07af2b
Report Issues Link Fix (#7519)
nberg79 Oct 12, 2023
3b10444
Replace irrelevant :scope documentation link in New in Chrome 118 (#7…
vkrol Oct 12, 2023
1b0e2cf
Fix list items in file a bug (#7526)
AmySteam Oct 12, 2023
8b26c82
Update index.md (#7518)
jpmedley Oct 12, 2023
00a9203
Add documentation on testing Chrome Extensions (#7479)
oliverdunk Oct 12, 2023
b007fca
Update API features statuses (#7480)
nancymic2 Oct 12, 2023
7d06991
Update Storage Partitioning articles to reflect feature status (#7512)
miketaylr Oct 12, 2023
f3a5515
Update index.md (#7516)
jpmedley Oct 12, 2023
3eddaaa
Move permissions policy to articles (#7523)
anusmitaray Oct 13, 2023
9ebf9cb
Add Serial over Bluetooth blog post (#7531)
beaufortfrancois Oct 13, 2023
6795959
[Manifest ID article] Fix future-looking language and add constraints…
tomayac Oct 13, 2023
0a3b0e8
Passkeys landing page (#7491)
mihajlija Oct 13, 2023
ca1ea22
Update where available section of PS overview (#7525)
nancymic2 Oct 13, 2023
9ff33aa
Add some clarifying text to 'File a bug'. (#7530)
jpmedley Oct 13, 2023
0862d8f
putting feature back on homepage (#7534)
rachelandrew Oct 13, 2023
eda2249
fixes spec typo from color 4 to color 5 (#7536)
argyleink Oct 13, 2023
be1db12
Remove aside from Commands API (#7496)
AmySteam Oct 13, 2023
4df35b3
Fix typo `function` is `func` (#7532)
Oct 13, 2023
80bf478
Fix alignment of search icons on extension samples and fugu pages (#7…
oliverdunk Oct 16, 2023
b992059
DevTools: Refresh overview (#7549)
sofiayem Oct 16, 2023
3d1bc26
Add requires policy tag (#7548)
oliverdunk Oct 16, 2023
040c36b
issue tracker blog post (#7535)
rachelandrew Oct 16, 2023
7e0f5c4
move origin trial concepts in nav
alexandrascript Oct 16, 2023
d2dbc16
Revert "move origin trial concepts in nav"
alexandrascript Oct 16, 2023
4939082
Blog post "Sanitizer API deprecation" (#7521)
JackJey Oct 17, 2023
16970f7
Update broken link (#7557)
jecfish Oct 17, 2023
56d9499
Copyedits to Cookies reference (#7502)
wizardofdocs Oct 17, 2023
6aa6ee1
Update Known issues (#7558)
AmySteam Oct 17, 2023
2a36093
Add remotely-hosted code advice to 'What's New' (#7560)
jpmedley Oct 17, 2023
859a711
Revert "Update Known issues (#7558)" (#7561)
jpmedley Oct 17, 2023
a1fb713
Known issues update (#7562)
jpmedley Oct 17, 2023
4b21104
What's Happening October edition (#7500)
AmySteam Oct 17, 2023
4d76407
Update date of What's happening in extensions (#7566)
oliverdunk Oct 17, 2023
fa7c040
Add What's New (#7567)
oliverdunk Oct 17, 2023
377bed1
Updated History reference and cleaned up navigation type table (#7537)
wizardofdocs Oct 18, 2023
98b1e4e
Add theme categories to web store docs. (#7177)
jpmedley Oct 18, 2023
fbb1eb5
Split CWS publish article (#7559)
AmySteam Oct 18, 2023
5b22445
fix: grammar error in tut-quick-reference/index.md (#7552)
willieho Oct 18, 2023
5088763
Incorporate text that was in the FAQ (#7584)
jpmedley Oct 18, 2023
a8261b8
Fix links (#7585)
AmySteam Oct 18, 2023
055ca78
fix: increase memory limit for external data 11ty build
matthiasrohmer Oct 19, 2023
e31cdcf
Add note on reloading unpacked extensions (#7595)
oliverdunk Oct 19, 2023
beaeb09
Add a new storage procedure to migration guide (#7598)
jpmedley Oct 19, 2023
72e5b94
Use corp standard title. (#7592)
jpmedley Oct 20, 2023
fd63fe7
Change to corp standard title (#7591)
jpmedley Oct 20, 2023
cd2b4f6
Remove superfluous heading (#7589)
jpmedley Oct 20, 2023
1de8673
RWS: minor fixes (#7604)
samdutton Oct 20, 2023
ece66e3
Fix titles. (#7590)
jpmedley Oct 20, 2023
805fc8b
fix screenshot (#7602)
AmySteam Oct 20, 2023
47a45b7
Updated header in UI customization guide (#7564)
wizardofdocs Oct 20, 2023
f5e3e40
Remove an old stray document. (#7608)
jpmedley Oct 20, 2023
0ad5ffa
Added new intent extras to interactivity guide (#7556)
wizardofdocs Oct 20, 2023
beb7225
blog: css-relative-color-syntax typo "complement" (#7528)
dsamarin Oct 21, 2023
343f2d9
Update index.md (#7538)
shhnjk Oct 21, 2023
bcec09f
chore(footer): fix broken case studies and podcasts links (#7577)
theDavidBarton Oct 21, 2023
0c767b1
Correct critical rendering path links (#7630)
tunetheweb Oct 23, 2023
d6953bb
Adds post: hr in select for Chrome 119 (#7609)
una Oct 23, 2023
0a00171
`new post` CSS text-wrap: pretty (#7581)
argyleink Oct 23, 2023
7f9bd2d
Update the k-anonymity section (#7444)
kevinkiklee Oct 23, 2023
35817d6
Add What's New on testing documentation (#7596)
oliverdunk Oct 23, 2023
412205f
What's New in WebGPU (Chrome 119) (#7527)
beaufortfrancois Oct 24, 2023
1951eb4
s/no-focus-change/focus-capturing-application/g (#7326)
beaufortfrancois Oct 24, 2023
5fc9d01
Disable smooth scrolling (#7637)
oliverdunk Oct 24, 2023
16f912e
Update k-anon lookback window (#7639)
kevinkiklee Oct 24, 2023
66c3a22
Updated code examples in interactivity guide (#7631)
wizardofdocs Oct 24, 2023
9150a1f
Set up redirect from examples/ to samples/ (#7632)
jpmedley Oct 24, 2023
2b36114
Added SEND_TO_EXTERNAL_HANDLER to prefetch guide (#7600)
wizardofdocs Oct 24, 2023
dedc27e
Updated declare_permissions (#7249)
wizardofdocs Oct 24, 2023
355bc76
Remove link on known issues page (#7644)
AmySteam Oct 24, 2023
0078cdd
Fix feature detection. (#7643)
jpmedley Oct 24, 2023
6b03a96
Updated Match Patterns (#7215)
wizardofdocs Oct 25, 2023
bcf2b00
Updated Action reference (#7501)
wizardofdocs Oct 25, 2023
e65d737
Update documentation on static ruleset limits (#7636)
oliverdunk Oct 25, 2023
ddf2bbe
Mention Ephemeral mode in minimum_chrome_version docs (#7655)
oliverdunk Oct 25, 2023
fd74c72
Add notRestoredReasons empty case information (#7494)
chrisdavidmills Oct 25, 2023
7057a24
Update index.md (#7436)
vanderhoop Oct 25, 2023
460f622
fixed complext typo (#7400)
nick-w-nick Oct 25, 2023
6eca685
add section with links to other color level 5 posts (#7647)
argyleink Oct 25, 2023
47390aa
migration from docs (#7660)
argyleink Oct 25, 2023
615be88
Update index.md (#7487)
siddharth-sahoo Oct 25, 2023
b00b06f
Add link to WebSQL deprecation trial (#7373)
jecfish Oct 26, 2023
af5de4d
Replace Chrome OS with enterprise in description of ephemeral (#7664)
oliverdunk Oct 26, 2023
ae3bdde
`patch` - adds note about the additive strategy and support timing (#…
argyleink Oct 26, 2023
c2c30b8
Add What's New for Matt Frisbie interview video (#7666)
oliverdunk Oct 26, 2023
392c0a7
Updated Messaging page (#7343)
wizardofdocs Oct 26, 2023
b6b29da
Split CWS Manage Store listing (#7648)
AmySteam Oct 26, 2023
ed445dc
Add missing information (#7670)
jpmedley Oct 26, 2023
a3a45b4
[JA] October translations (#7673)
ilyaspiridonov Oct 27, 2023
7db0c28
Create PS Q3 feedback report (#7667)
nancymic2 Oct 27, 2023
006bf16
Move policy related FAQs to webstore/program-policies/ (#7669)
AmySteam Oct 27, 2023
4a7af47
Updated outdated link to code sample (#7652)
bennycode Oct 29, 2023
78333b3
Correct `first-letter` being pseudo-element and not pseudo-class (#7367)
NiedziolkaMichal Oct 29, 2023
917ca0d
Remove scripting media query from 118 release notes with correction (…
lukewarlow Oct 29, 2023
5050ac4
fix "Privacy State Tokens" typo (#7539)
michaelficarra Oct 29, 2023
1283a4f
Fix syntax error in code examples (#7478)
Markshall Oct 29, 2023
0b43d25
changed the deadlink (#7231)
subhadipbhowmik Oct 29, 2023
dc20874
fix: remove redundant "update" in index.md (#7676)
Luiz-N Oct 29, 2023
21089d8
add https to form-problems.glitch.me link (#6338)
jennschiffer Oct 29, 2023
96d3120
typo fix: The newly supported CSS units have an r prefix (#5231)
simevidas Oct 29, 2023
7cb2ea2
Fix name of strategy (#6655)
chrisbirster Oct 30, 2023
0fface9
Adjust order of linked libraries to fix Ubuntu compilation (#7684)
beaufortfrancois Oct 30, 2023
d794b6c
Update index.md (#7299)
meistudioli Oct 30, 2023
5e4cfcb
Remove a redundant calc() (#6413)
xiaochengh Oct 30, 2023
8a3516d
Update index.md: replace Edge browser version placeholder (#7172)
josephmarkus Oct 30, 2023
f3b2245
Privacy Sandbox feedback article: typos (#7668)
samdutton Oct 30, 2023
03e59bb
Change service worker to content script (#7687)
sebastianbenz Oct 30, 2023
2eb38aa
ES translation for phasing out third party cookies, plus fixing a lin…
tropicadri Oct 30, 2023
928b2af
Minor change (#7597)
konfirmed Oct 30, 2023
43c3e34
Add What's New item on Privacy Policy change (#7691)
oliverdunk Oct 30, 2023
cda1829
CWS internationalize refactor (#7689)
AmySteam Oct 30, 2023
cf9cb23
Updated refs to renamed features (#2091)
LukeScales1 Oct 31, 2023
8f4012c
Syntax Error on line 190 (#4154)
nazar-primac Oct 31, 2023
e3156fd
Add WasmGC article (#7439)
tomayac Oct 31, 2023
afc2049
New in Chrome 119 post (#7671)
tropicadri Oct 31, 2023
c181e43
DevTools 119, @property (#7635)
sofiayem Oct 31, 2023
c2bbced
Add note about Chrome on Android (#4010)
samdutton Oct 31, 2023
e6649c6
docs(en): merging all conflicts
docschina-bot Oct 31, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
4 changes: 0 additions & 4 deletions .cloudbuild/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,6 @@ steps:
env:
- 'NODE_OPTIONS="--max_old_space_size=8192"' # https://github.com/GoogleChrome/developer.chrome.com/issues/2439

- name: node:16.14.2
entrypoint: npm
args: ['run', 'algolia']

- name: 'gcr.io/cloud-builders/gcloud'
entrypoint: 'bash'
args:
Expand Down
19 changes: 14 additions & 5 deletions .cloudbuild/external.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,6 @@ steps:
entrypoint: npm
args: ['ci']

- name: node:16.14.2
id: 'Configure secrets'
entrypoint: npm
args: ['run', 'cloud-secrets']

- name: node:16.14.2
id: 'Build external data'
entrypoint: npm
Expand All @@ -34,6 +29,8 @@ steps:
- name: node:16.14.2
id: 'Build eleventy in dev mode to confirm'
entrypoint: npm
env:
- 'NODE_OPTIONS="--max_old_space_size=8192"'
args: ['run', 'eleventy']
# This does NOT set `NODE_ENV=production`, as we don't need the full build.

Expand All @@ -49,3 +46,15 @@ options:
env:
- 'PROJECT_ID=$PROJECT_ID'
- 'NODE_OPTIONS=--unhandled-rejections=strict'
secretEnv: ['GITHUB_APP_ID', 'GITHUB_APP_KEY', 'GITHUB_APP_INSTALLATION_ID', 'YOUTUBE_API_KEY']

availableSecrets:
secretManager:
- versionName: projects/chrome-apps-doc/secrets/GITHUB_APP_ID/versions/1
env: 'GITHUB_APP_ID'
- versionName: projects/chrome-apps-doc/secrets/GITHUB_APP_KEY/versions/4
env: 'GITHUB_APP_KEY'
- versionName: projects/chrome-apps-doc/secrets/GITHUB_APP_INSTALLATION_ID/versions/1
env: 'GITHUB_APP_INSTALLATION_ID'
- versionName: projects/chrome-apps-doc/secrets/YOUTUBE_API_KEY/versions/1
env: 'YOUTUBE_API_KEY'
8 changes: 4 additions & 4 deletions .cloudbuild/stage.yaml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
timeout: 2700s # Set build timeout to 45 mins
steps:
- id: 'install'
name: node:18
name: node:16
entrypoint: npm
args: ['ci']

- id: 'prepare'
name: node:18
name: node:16
entrypoint: bash
args:
- '-c'
Expand All @@ -15,7 +15,7 @@ steps:
npm run stage:github announceDeploymentStart

- id: 'build'
name: node:18
name: node:16
env:
- 'CI=true'
- 'NODE_OPTIONS="--max_old_space_size=8192"'
Expand Down Expand Up @@ -52,7 +52,7 @@ steps:
fi

- id: 'finalize'
name: node:18
name: node:16
entrypoint: bash
args:
- '-c'
Expand Down
25 changes: 25 additions & 0 deletions .cloudbuild/stagingCleanUp.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# Runs in dcc-staging and cleans up stale instances and bucket items by comparing open
# PRs to currently deployed instances/folders
timeout: 2700s
steps:
- id: 'install'
name: node:18
entrypoint: npm
args: ['ci']

- id: 'clean'
name: node:18
entrypoint: bash
args:
- '-c'
- |
npm run stage:github cleanUpGoogleCloud

availableSecrets:
secretManager:
- versionName: projects/dcc-staging/secrets/GITHUB_APP_ID/versions/1
env: 'GITHUB_APP_ID'
- versionName: projects/dcc-staging/secrets/GITHUB_APP_KEY/versions/1
env: 'GITHUB_APP_KEY'
- versionName: projects/dcc-staging/secrets/GITHUB_APP_INSTALLATION_ID/versions/1
env: 'GITHUB_APP_INSTALLATION_ID'
21 changes: 21 additions & 0 deletions .cloudbuild/updateAlgoliaIndex.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
timeout: 600s # set build timeout to 10 mins
steps:
- name: node:16.14.2
entrypoint: npm
args: ['ci']

- name: node:16.14.2
entrypoint: npm
args: ['run', 'cloud-secrets']

- name: node:16.14.2
entrypoint: npm
args: ['run', 'algolia']

substitutions:
_EXTRA_GCLOUD_ARGS: # default empty

options:
machineType: 'E2_HIGHCPU_32'
env:
- 'PROJECT_ID=$PROJECT_ID'
2 changes: 2 additions & 0 deletions .eleventy.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ const {DetailsSummary} = require('./site/_shortcodes/DetailsSummary');
const {Empty} = require('./site/_shortcodes/Empty');
const {IFrame} = require('./site/_shortcodes/IFrame');
const {Glitch} = require('./site/_shortcodes/Glitch');
const {AndroidBrowserSupportTable} = require('./site/_shortcodes/AndroidBrowserSupportTable');
const {Hreflang} = require('./site/_shortcodes/Hreflang');
const {Img} = require('./site/_shortcodes/Img');
const {Label} = require('./site/_shortcodes/Label');
Expand Down Expand Up @@ -133,6 +134,7 @@ module.exports = eleventyConfig => {
eleventyConfig.addNunjucksAsyncFilter('minifyHtml', minifyHtml);

// Add shortcodes
eleventyConfig.addShortcode('AndroidBrowserSupportTable', AndroidBrowserSupportTable);
eleventyConfig.addShortcode('InlineCss', InlineCss);
eleventyConfig.addShortcode('Codepen', Codepen);
eleventyConfig.addShortcode('IFrame', IFrame);
Expand Down
46 changes: 29 additions & 17 deletions .github/chrome-devrel-bot.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@
"check_name" : "Content team approval",
"teams" : [],
"users" : [
"PaulKinlan",
"malchata",
"rachelandrew",
"heyawhite",
"jpmedley",
"mihajlija",
"sofiayem",
"AaronForinton",
"nancymic2",
"anusmitaray",
"IanStanion-google",
"AmySteam"
],
"paths" : [
Expand All @@ -26,35 +26,38 @@
"users" : [
"PaulKinlan",
"matthiasrohmer",
"devnook"
"devnook",
"tunetheweb"
],
"paths" : [
"*.js",
"*.json",
"*.css",
"*.scss",
"*.html",
"*.htm",
"*.njk",
"*.toml",
"*.sh"
"**/*.js",
"**/*.json",
"**/*.css",
"**/*.scss",
"**/*.html",
"**/*.htm",
"**/*.njk",
"**/*.toml",
"**/*.sh"
]
},
{
"check_name" : "Eng or Content team approval",
"teams" : [],
"users" : [
"PaulKinlan",
"jeffposnick",
"devnook",
"malchata",
"rachelandrew",
"heyawhite",
"jpmedley",
"mihajlija",
"sofiayem",
"AaronForinton",
"matthiasrohmer"
"nancymic2",
"anusmitaray",
"AmySteam",
"matthiasrohmer",
"devnook",
"tunetheweb"
],
"paths" : [
"site/_data/**.yml",
Expand All @@ -64,9 +67,18 @@
]
},
{
"check_name" : "Content (es) team approval",
"check_name" : "Content team or Spanish reader approval",
"teams" : [],
"users" : [
"malchata",
"rachelandrew",
"heyawhite",
"jpmedley",
"mihajlija",
"sofiayem",
"nancymic2",
"anusmitaray",
"AmySteam",
"tropicadri"
],
"paths" : [
Expand Down
2 changes: 1 addition & 1 deletion .huskyrc.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module.exports = {
hooks: {
"pre-push": "npm run lint"
"pre-commit": "npx lint-staged"
}
};
6 changes: 6 additions & 0 deletions .lintstagedrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"*.scss": "npm run lint:scss",
"*.ts": "npm run lint:types",
"*.md": "npm run lint:md",
"*.js": "npm run lint:js"
}
15 changes: 12 additions & 3 deletions algolia.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,13 @@
* limitations under the License.
*/
require('dotenv').config();

const {default: algoliasearch} = require('algoliasearch');
const fs = require('fs');
const {default: fetch} = require('node-fetch');
const {sizeof} = require('sizeof');

const algoliaIndexSource = 'https://developers.chrome.com/algolia.json';

const maxChunkSizeInBytes = 10000000; // 10,000,000

/**
Expand Down Expand Up @@ -53,8 +56,14 @@ async function index() {
return;
}

const raw = fs.readFileSync('dist/algolia.json', 'utf-8');
const algoliaData = JSON.parse(raw);
let algoliaData = [];
try {
const raw = await fetch(algoliaIndexSource);
algoliaData = await raw.json();
} catch (err) {
console.error('Could not load algolia index from prod.', err);
return;
}

// Set date of when object is being added to algolia
algoliaData.map(e => {
Expand Down
Loading
Loading