-
Notifications
You must be signed in to change notification settings - Fork 6
chore: Improves test pages (copied from chart-components) #81
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
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #81 +/- ##
=======================================
Coverage 96.17% 96.17%
=======================================
Files 29 29
Lines 679 679
Branches 114 114
=======================================
Hits 653 653
Misses 26 26 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
pages/app/templates.tsx
Outdated
|
|
||
| import { ScreenshotArea } from "./screenshot-area"; | ||
|
|
||
| export interface DocsSectionProps { |
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.
These interfaces don't seem to be used anywhere
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.
That is an oversight - removed!
| }) { | ||
| const [toolsOpen, setToolsOpen] = useState(true); | ||
| const drawers: AppLayoutProps.Drawer[] = []; | ||
| if (settings) { |
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.
Is settings used by any page?
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.
They were not: I updated existing pages to place related configuration to the settings slot.
Description
The PR updates test pages templates, makes them identical to chart-components setup.
The new templates include built-in page setting and improved layout.
Screen.Recording.2025-08-14.at.08.54.27.mov
How has this been tested?
Review checklist
The following items are to be evaluated by the author(s) and the reviewer(s).
Correctness
CONTRIBUTING.md.CONTRIBUTING.md.Security
checkSafeUrlfunction.Testing
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.