Skip to content

Conversation

@cojennin
Copy link
Contributor

@cojennin cojennin commented Dec 4, 2019

This is some additional work on top of #519 to improve the notifications UI to make it apparent when a user is being auto-subscribed to a post, when they're the post author, when they will be notified but won't have access to a post and when they don't have an email (and thus won't be notified).

I made some adjustments to the UI to adjust for the additional badges that are being applied, see the screenshot below.

I also modified the webpack config to start compiling the module code (starting with notifications, will migrate the rest over on a case by case basis)

It'd be great if we could merge #560 and then #562 so I can write a few E2E tests for this functionality, seems like a strong candidate for it.

Screen Shot 2019-12-04 at 5 34 51 PM

@cojennin cojennin force-pushed the update/fix-author-notification branch from 90a91b0 to d62781e Compare January 2, 2020 18:13
@cojennin cojennin force-pushed the update/fix-author-notification branch from 728e000 to 90efe3e Compare January 2, 2020 21:54
@cojennin cojennin force-pushed the update/fix-author-notification branch 5 times, most recently from 6adc331 to 161ef48 Compare January 13, 2020 19:20
@cojennin cojennin requested review from dchymko and mjangda January 13, 2020 19:22
@cojennin cojennin force-pushed the update/fix-author-notification branch 6 times, most recently from af263ca to a2730fe Compare January 14, 2020 14:31
@cojennin cojennin force-pushed the update/fix-author-notification branch from 88cf046 to 0cf07d6 Compare January 22, 2020 18:26
@cojennin cojennin force-pushed the update/fix-author-notification branch from 0cf07d6 to ac16904 Compare January 29, 2020 21:16
@GaryJones GaryJones changed the base branch from main to develop November 13, 2025 16:01
@GaryJones
Copy link
Contributor

Closing this PR as stale due to significant codebase changes since it was opened in December 2019.

Why this can't be easily rebased

This PR was built on top of #519, which was closed with the comment "continued in #563" rather than being merged. This means #563 contains commits that were never merged to develop, making a clean rebase impossible without significant rework.

Changes since this PR was opened

  • Build system migration: The codebase has migrated from webpack to wp-scripts (chore: migrate build system from webpack to wp-scripts #845), so the webpack modifications in this PR are no longer applicable
  • E2E testing evolution: The testing infrastructure has changed significantly
  • 5+ years of development: Many of the files touched have changed substantially

The underlying issue

Issue #508 (Unsubscribing author from Notifications is impossible) remains open. The core functionality this PR aimed to provide will be reimplemented fresh on current develop:

  • Show "Post Author" badge on the post author in notifications metabox
  • Disable checkbox for auto-subscribed users
  • Show badges for "No Access" and "No Email" states

Thank you @cojennin and @mikeyarce for the original work on this feature.

@GaryJones GaryJones closed this Dec 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants