-
Notifications
You must be signed in to change notification settings - Fork 208
feat: Public layout component #3208
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 ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #3208 +/- ##
=======================================
Coverage 96.42% 96.43%
=======================================
Files 791 793 +2
Lines 22611 22665 +54
Branches 7814 7839 +25
=======================================
+ Hits 21803 21857 +54
Misses 754 754
Partials 54 54 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
pages/page-layout/styles.scss
Outdated
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
| import { awsuiPluginsInternal } from '../../internal/plugins/api'; | ||
| import { RegistrationState } from '../../internal/plugins/controllers/app-layout-widget'; | ||
| import { AppLayoutProps } from '../interfaces'; | ||
| import { useAppLayoutToolbarEnabled } from '../utils/feature-flags'; |
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.
Let's rename these hooks
- useAppLayoutFlagEnabled – the feature flags are active (for all advanced deduplication features)
- useAppLayoutToolbarDesignEnabled - same as above, but also true when toolbar is used standalone
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.
done
| beforeEach(() => { | ||
| globalWithFlags[Symbol.for('awsui-visual-refresh-flag')] = () => true; | ||
| }); | ||
|
|
||
| afterEach(() => { | ||
| delete globalWithFlags[Symbol.for('awsui-visual-refresh-flag')]; | ||
| clearVisualRefreshState(); | ||
| }); |
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.
Discussed offline, let's undo the change about useVisualRefresh and keep it this way until the PR is merged
…h-flag')] to useVisualRefresh in functional tests" This reverts commit 273633b.
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
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.