Skip to content

Drawer update#252

Merged
erikyo merged 60 commits into
WordPress:developfrom
erikyo:ui/drawer
Apr 12, 2023
Merged

Drawer update#252
erikyo merged 60 commits into
WordPress:developfrom
erikyo:ui/drawer

Conversation

@erikyo
Copy link
Copy Markdown
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
Comment thread src/scripts/components/Notice.js Outdated
Comment thread src/scripts/components/NoticesLoop.js
Co-authored-by: John Hooks <bitmachina@outlook.com>
Comment thread src/scripts/components/Notice.js Outdated
@erikyo erikyo requested a review from johnhooks April 10, 2023 23:32
johnhooks
johnhooks previously approved these changes Apr 10, 2023
Copy link
Copy Markdown
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
Comment thread includes/demo.php Outdated
Copy link
Copy Markdown
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