-
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][HelpDot] Enforce adding of a redirect if an article is rename/moved/deleted. #42954
Conversation
@eVoloshchak 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] NOTE: It looks like |
@eVoloshchak please approve the PR to assign internal |
We did not find an internal engineer to review this PR, trying to assign a random engineer to #42460 as well as to this PR... Please reach out for help on Slack if no one gets assigned! |
@eVoloshchak please approve again 🙏 |
Reviewer Checklist
Screenshots/VideosAndroid: NativeAndroid: mWeb ChromeiOS: NativeiOS: mWeb SafariMacOS: Chrome / SafariMacOS: Desktop |
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
🚀 Deployed to production by https://github.com/mountiny in version: 1.4.83-3 🚀
|
Details
Background: We are moving and renaming articles constantly on helpdot. This causes the old links that are indexed by google to be not working anymore. We have a redirect mechanism, but we can forget to do it in same PR
When an article or hub is moved/renamed/deleted, we should add a PR check to detect it and enforce that a redirect URL is added for the new links.
I've made the check fail softly. i.e. the other steps in the workflow will continue to run even if this check fails.
This is because git can be unpredictable sometimes when renaming/moving/deleting things.
Fixed Issues
$ #42460
PROPOSAL:
Tests
I've tested it in PR #42973
Workflow run - https://github.com/Expensify/App/actions/runs/9341255272/job/25707812878?pr=42973
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
I've tested it in PR #42973
Workflow run - https://github.com/Expensify/App/actions/runs/9341255272/job/25707812878?pr=42973