-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
remove outdated devoverlay config and defaultstate config #9291
Conversation
|
⚖️ Bundle Size CheckLatest commit: 771c0c8
|
@@ -228,12 +228,7 @@ export class AstroDevOverlay extends HTMLElement { | |||
width: 1px; | |||
} | |||
</style> | |||
<div id="dev-overlay"${ | |||
((window as DevOverlayMetadata)?.__astro_dev_overlay__?.defaultState ?? 'minimized') === |
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.
this is the part that is no longer needed, as the dev overlay is now always hidden to start.
Confirmed no impact on docs, since this was never added to docs either during the early 4.0.0-beta.1 days! |
Changes
devOverlay
config was introduced in the4.0.0-beta.X
release branch, meaning it is not covered by semver now that it has been renamed todevToolbar
. The only people who would have been using this were people experimenting with early versions of the Astro 4.0 beta.devOverlay
was being checked, instead ofdevToolbar
devToolbar
instead ofdevOverlay
defaultState
config, which was removed in Overlay look-and-feel polish #9230 but the config was missed. This is now a no-op and doesn't make conceptual sense since the toolbar now shows/hides based on hover/focus.Testing
Docs