Skip to content
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

Drawer update #252

Merged
merged 60 commits into from
Apr 12, 2023
Merged

Drawer update #252

merged 60 commits into from
Apr 12, 2023

Conversation

erikyo
Copy link
Collaborator

@erikyo erikyo commented Apr 10, 2023

What?

This is a complete refresh of the drawer which is now a React component.

Why?

Previously the drawer was created by adding some html markup next to the menu during the initialization of the admin bar. This allowed us to have already in place an area where to initialize the component to display notifications (with the context of the admin-bar) but had also some drawbacks e.g. the sidebar that could not be a component.

How?

We revised and rewrote some js scripts, plugin init, added/updated components, adjusted css styling.
@johnhooks provided types and fixed some reducer related issues

Screenshots or screencast

resize

closes #186, fix #182

erikyo and others added 30 commits April 5, 2023 23:53
* feature: type store

* fix: stash issues
# Conflicts:
#	src/scripts/components/NoticeImage.js
#	src/scripts/components/NoticesArea.js
#	src/scripts/utils/sanitization.js
@erikyo erikyo added the [Scope] User Interface For displaying to and interacting with end users. label Apr 10, 2023
Co-authored-by: John Hooks <bitmachina@outlook.com>
@erikyo erikyo requested a review from johnhooks April 10, 2023 23:32
johnhooks
johnhooks previously approved these changes Apr 10, 2023
Copy link
Collaborator

@johnhooks johnhooks left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

This was referenced Apr 11, 2023
johnhooks
johnhooks previously approved these changes Apr 12, 2023
includes/demo.php Outdated Show resolved Hide resolved
Copy link
Collaborator

@johnhooks johnhooks left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@erikyo erikyo merged commit ffd0e8f into WordPress:develop Apr 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Scope] User Interface For displaying to and interacting with end users.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add the ability to expand the Notification Hub The shadow in side bar when no overflow
3 participants