Repository navigation
Description
If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!
Version Number: 1.4.7-0
Reproducible in staging?: Y
Reproducible in production?: Y
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by: Applause - Internal Team
Slack conversation:
Issue found when executing PR #32063
Action Performed:
- Go to URL https://staging.new.expensify.com/
- Login with any account
- Add the following snippet to the render function of Expensify.js
useEffect(() => {
let theme = 'dark';
setInterval(() => {
const newTheme = theme === 'dark' ? 'light' : 'dark';
theme = newTheme;
// eslint-disable-next-line rulesdir/prefer-actions-set-data
Onyx.set(ONYXKEYS.PREFERRED_THEME, newTheme);
}, 3000);
}, []);
Expected Result:
No error message when adding the following snippet in consol
Actual Result:
Error message when adding the following snippet in consol
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
- Android: Native
- Android: mWeb Chrome
- iOS: Native
- iOS: mWeb Safari
- MacOS: Chrome / Safari
- MacOS: Desktop
Screenshots/Videos
Add any screenshot/video evidence
Upwork Automation - Do Not Edit
- Upwork Job URL: https://www.upwork.com/jobs/~0199201fc753179511
- Upwork Job ID: 1730730531051917312
- Last Price Increase: 2023-12-01
Activity
[-] Web - Error message when adding the following snippet in consol[/-][+][$500] Web - Error message when adding the following snippet in consol[/+]melvin-bot commentedon Dec 1, 2023
Job added to Upwork: https://www.upwork.com/jobs/~0199201fc753179511
melvin-bot commentedon Dec 1, 2023
Triggered auto assignment to @muttmuure (
Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details.melvin-bot commentedon Dec 1, 2023
Bug0 Triage Checklist (Main S/O)
Platformsin OP are ✅)melvin-bot commentedon Dec 1, 2023
Triggered auto assignment to Contributor-plus team member for initial proposal review - @burczu (
External)neonbhai commentedon Dec 1, 2023
The original testing steps ask the snippet to be added to the file Expensify.js. PR might not be testable on staging yet as no way to do this from console.
grgia commentedon Dec 2, 2023
Not a bug, the code was not a console snippet.