-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
[No QA] Docs: Add assets versioning with filter #45653
[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/VideosScreen.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 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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 install
bundle exec jekyll build
orbundle exec jekyll serve
cache_bust
filter have additional versioning param that related to its content hash (e.g.?v=7f55796d30b99117f74f37554ab8c697
)Offline tests
QA Steps
PR Author Checklist
### Fixed Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectiontoggleReport
and notonIconClick
)myBool && <MyComponent />
.src/languages/*
files and using the translation methodSTYLE.md
) were followedAvatar
, I verified the components usingAvatar
are working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG)
)Avatar
is modified, I verified thatAvatar
is working as expected in all cases)Design
label and/or tagged@Expensify/design
so the design team can review the changes.ScrollView
component to make it scrollable when more elements are added to the page.main
branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTest
steps.Screenshots/Videos