diff --git a/README.md b/README.md index b88a3f3..ed124dc 100644 --- a/README.md +++ b/README.md @@ -8,6 +8,12 @@ The installed Nextcloud 34.0.4 bundle uses `@nextcloud/files` 4.0.0. The app reg Nextcloud's built-in `comments-unread` row action is reused when unread comments exist so users still see only one comment icon. Its click target and icon are aligned with the dedicated comments-only tab; the custom action covers rows without unread comments. +## Screenshot + +![Nextcloud Files with stateful row icons and the comments-only sidebar tab](docs/images/comments-only-sidebar.png) + +The selected file has comments, so its row shows the square-with-dots icon. Files without comments show an empty square. The dedicated **댓글** tab contains the native comment composer and history without mixing in Activity entries. + The PHP bootstrap listens for `OCA\Files\Event\LoadAdditionalScriptsEvent`, the supported event fired while Files is rendered, and loads the frontend with `OCP\Util::addInitScript()`. ## Build and automated checks diff --git a/docs/images/comments-only-sidebar.png b/docs/images/comments-only-sidebar.png new file mode 100644 index 0000000..69d5f3f Binary files /dev/null and b/docs/images/comments-only-sidebar.png differ