[Payment due @situchan] [No QA] Victory Chart: Support horizontal bars#91659
Conversation
|
|
|
🎯 @situchan, thanks for reviewing and testing this PR! 🎉 A payment issue will be created for your review once this PR is deployed to production. If payment is not needed (e.g., regression PR review fix etc), react with 👎 to this comment to prevent the payment issue from being created. |
Regression Analysis1.
|
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 14cab875af
ℹ️ About Codex in GitHub
Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".
|
Please check bot reviews and address valid ones |
|
@s77rt can you look at the AI review comments? |
Yeah I noticed this. it seems that the Victory Chart |
|
@roryabraham @luacmartins Should be good to merge |
|
Merging since @roryabraham had already approved |
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
|
🚧 @luacmartins has triggered a test Expensify/App build. You can view the workflow run here. |
|
🧪🧪 Use the links below to test this adhoc build on Android, iOS, and Web. Happy testing! 🧪🧪
|
|
🚀 Deployed to staging by https://github.com/luacmartins in version: 9.3.84-0 🚀
Bundle Size Analysis (Sentry): |
|
I reviewed the changes in this PR against the help site files under No help site changes are required. This PR adds internal support for rendering horizontal bar charts in the Victory Chart HTML renderer. The changes are entirely in chart component code (parsers, context, @s77rt, please review the linked help site PR and confirm it reflects the current behavior. Then mark the linked help site PR |
|
🚀 Deployed to staging by https://github.com/luacmartins in version: 9.3.86-0 🚀
Bundle Size Analysis (Sentry): |
|
I reviewed the changes in this PR and the existing help site articles under No help site changes are required. This PR adds horizontal bar chart support to the internal Victory Chart renderer ( The existing Insights articles describe chart view modes (Bar, Line, Table, Pie) at a high level and don't specify bar orientation details, so no updates are needed there either. @s77rt, please review the linked help site PR and confirm it reflects the current behavior. Then mark the linked help site PR |
|
🚀 Deployed to staging by https://github.com/luacmartins in version: 9.3.88-0 🚀
Bundle Size Analysis (Sentry): |
|
I reviewed all the changes in this PR and the existing help site articles under No help site changes are required. This PR adds internal support for rendering horizontal bar charts in the VictoryChart HTML renderer. All changes are in the rendering engine (parsers, components, context, victory-native patch) and don't introduce any new user-facing features, settings, or workflows that would need documentation. The existing Insights documentation already covers "Bar View" as a chart type. Whether a bar chart renders horizontally or vertically is determined by the chart HTML from the backend — it's not a user-configurable setting. @s77rt, please review the linked help site PR and confirm it reflects the current behavior. Then mark the linked help site PR |
|
🚀 Deployed to production by https://github.com/mountiny in version: 9.3.88-2 🚀
|
|
🤖 Payment issue created: #92015 |

Explanation of Change
x,ypretty much everywhere (points, axis, domains, etc).useBarGroupPathshook so the bars are rendered correctlyFixed Issues
https://github.com/Expensify/Expensify/issues/636601
PROPOSAL:
Tests
Offline tests
n/a
QA Steps
n/a
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)src/languages/*files and using the translation methodSTYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))npm run compress-svg)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
Android: Native
Android: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari