feat: export Invoices page as a component and consume it in apps/admin#1357
feat: export Invoices page as a component and consume it in apps/admin#1357paanSinghCoder merged 33 commits intorefactor/admin-ui-childfrom
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Pull Request Test Coverage Report for Build 22052380291Warning: This coverage report may be inaccurate.This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.
Details
💛 - Coveralls |
…ctionality in admin UI
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing touches🧪 Generate unit tests (beta)
Comment |
4df8c9d to
0ed835d
Compare
@raystack/frontier/adminapps/admin/src/pages/invoices/list/intoweb/lib/admin/views/invoices/as a router-agnostic page.@raystack/frontier/adminwith optional prop:appName.lib/adminshared pieces: utils (connect-pagination, transform-query, connect-timestamp with isNullTimestamp), components (PageTitle, etc.) and CSS modules.pages/invoices/listfrom the app; Invoices is implemented in the lib.pagination/queryutils from the lib so existing app pages (org list/details, users list, audit logs, etc.) import them from@raystack/frontier/admininstead of ~/utils/....Note: For local testing, use "@raystack/frontier": "workspace:^" in frontier/web/apps/admin/package.json.
Technical details
lib/admin/views/invoices/(index, columns, navbar, invoices.module.css).InvoicesPageWithRouterinapps/admin/src/pages/invoices/, route /invoices; Sidebar uses~/assets/icons/invoices.svg.Test plan