[No QA] Docs: Add assets versioning with filter#45653
Conversation
…x/29209-add-asset-versioning-with-filter
…l, add specific case for main css
|
@rushatgabhane Please copy/paste the Reviewer Checklist from here into a new comment on this PR and complete it. If you have the K2 extension, you can simply click: [this button] |
|
There is a modification in the solution proposed. Previously, site.destination was used to obtain the content hash, but now site.source is used instead. This change was made because the assets are not available during the initial clean build. To address this issue, there are two options:
Currently, the second option is applied. If the referenced asset is |
|
I think the 2nd option you mentioned makes sense. Thanks 👍🏼 |
|
@rushatgabhane bump |
Reviewer Checklist
Screenshots/Videos
Screen.Recording.2024-07-26.at.06.47.53.movScreen.Recording.2024-07-26.at.06.42.27.mov |
|
@wildan-m are you able to build the site?
error:
|
|
@rushatgabhane I could but Kapture.2024-07-26.at.07.32.44.mp4 |
|
https://github.com/wildan-m/App/tree/main/docs#steps
|
|
@rushatgabhane or you might need to re-execute this step? |
|
@wildan-m you should be able to run But @roryabraham other than this issue, PR tests well! |
|
@rushatgabhane The code has been updated, I've added |
rushatgabhane
left a comment
There was a problem hiding this comment.
Thank you! This is looking great 👍😸
|
@roryabraham No need to QA this one, right? |
|
🚀 Cherry-picked to staging by https://github.com/roryabraham in version: 9.0.14-1 🚀
@Expensify/applauseleads please QA this PR and check it off on the deploy checklist if it passes. |
|
🚀 Deployed to production by https://github.com/roryabraham in version: 9.0.14-6 🚀
|


Details
The PR aims to add a cache-busting mechanism based on content hash to load the recent asset files on the help site.
Fixed Issues
$ #28209
PROPOSAL: #28209 (comment) (Alternative 3)
Tests
bundle installbundle exec jekyll buildorbundle exec jekyll servecache_bustfilter have additional versioning param that related to its content hash (e.g.?v=7f55796d30b99117f74f37554ab8c697)Offline tests
QA Steps
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)myBool && <MyComponent />.src/languages/*files and using the translation methodSTYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))Avataris modified, I verified thatAvataris working as expected in all cases)Designlabel and/or tagged@Expensify/designso the design team can review the changes.ScrollViewcomponent to make it scrollable when more elements are added to the page.mainbranch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTeststeps.Screenshots/Videos