=== Dashboard Widget for Blocks Collaboratives Notes ===
Contributors: bayardservice, jsmansart
Tags: dashboard, notes, comments, gutenberg
Requires at least: 6.9
Tested up to: 7.0
Stable tag: 1.0.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Short Description: Adds a compact dashboard widget that lists Gutenberg Notes assigned to the current user.

== Description ==
WordPress 6.9 introduces Notes, a feature that lets users leave contextual feedback at the block level inside the editor.
Dashboard Widget for Blocks Collaboratives Notes adds a compact dashboard widget that lists the Gutenberg Notes assigned to the current user.
The widget shows each note's status (open/resolved), the note author, and the date, so teams can quickly track, review and resolve block-level feedback from the WordPress admin dashboard.

== Installation ==
1. Upload the `bsw-notes-dashboard` folder to the `/wp-content/plugins/` directory.
2. Activate the plugin through the 'Plugins' screen in WordPress.
3. The dashboard widget "My assigned notes" will appear on the WordPress Dashboard for logged-in users.

== Frequently Asked Questions ==
= Which notes are displayed? =
The plugin lists comments with `comment_type = 'note'` that are attached to posts where the current user is the post author. Notes in the trash are excluded.

= How many notes are shown? =
By default the widget shows up to 10 notes. This default can be changed in the code or extended via a plugin option in a future update.

= Does the plugin support translations? =
Yes. The plugin uses the text domain `bsw-notes-dashboard`. Translation files can be placed in the `languages/` folder.

== Screenshots ==

1. Dashboard with examples of open and resolved notes assigned to the current user.

== Changelog ==
= 0.1 =
* Initial release: added dashboard widget listing Gutenberg Notes assigned to the current user.
* Optimized note retrieval with direct DB filtering and deterministic comment loading.
* Filtered out empty notes and excluded notes/posts in the trash.
* Added defensive checks to ensure notes are shown only for posts belonging to the current user.
* Implemented transient caching per user (5 minutes) and cache invalidation hooks on comment changes.
* Internationalization support.
* Finalized English readme and documentation.
