-
Notifications
You must be signed in to change notification settings - Fork 162
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
feat: Public layout component #3208
base: main
Are you sure you want to change the base?
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #3208 +/- ##
========================================
Coverage 96.44% 96.44%
========================================
Files 791 793 +2
Lines 22563 22621 +58
Branches 7728 7828 +100
========================================
+ Hits 21760 21817 +57
- Misses 750 751 +1
Partials 53 53 ☔ View full report in Codecov by Sentry. |
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 styles were copied from pages/app-layout
…mponent # Conflicts: # src/__tests__/snapshot-tests/__snapshots__/test-utils-wrappers.test.tsx.snap
…vided nor at least one drawer with trigger
…den, added configs to page layout demo
if (props.navigationTriggerHide) { | ||
toolbar.hasNavigation = false; | ||
} | ||
const splitPanelTriggerHide = (props?.splitPanel as React.ReactElement)?.props?.closeBehavior === 'hide'; |
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.
not sure about this line. here we basically read a prop from the split panel component. feel free to suggest better alternatives
} | ||
|
||
if (!isVisualRefresh) { | ||
warnOnce( |
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.
should we throw an error instead, or completely prevent the component from rendering?
Description
doc: tb1MA6m8ZZEt
Related links, issue #, if available: n/a
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
checkSafeUrl
function.Testing
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.