Skip to content

feat(book-club): link meeting management from the admin club page (#138)#251

Merged
fabiodalez-dev merged 2 commits into
mainfrom
fix/book-club-admin-meeting-links
Jul 12, 2026
Merged

feat(book-club): link meeting management from the admin club page (#138)#251
fabiodalez-dev merged 2 commits into
mainfrom
fix/book-club-admin-meeting-links

Conversation

@fabiodalez-dev

@fabiodalez-dev fabiodalez-dev commented Jul 12, 2026

Copy link
Copy Markdown
Owner

Uwe (#138) noted that /admin/book-club/{id} lists meetings read-only, with no way to edit them or reach the page where they are edited.

Changes

  • Admin club page — Meetings section: the header now carries a Manage meetings link to the club page's meetings section, and every meeting row gets an Edit link that deep-links to that meeting's card (#bc-meeting-<id>), where the manager-only inline edit form lives.
  • Public club page: the meetings section gains the id="bc-meetings" anchor (per-meeting anchors already existed).
  • i18n: Gestisci incontri added to all four locale catalogues (it/en/de/fr).
  • book-club plugin bumped to 1.4.2.

Verification

Real browser on the local Apache instance (:8081): the admin page renders both links; Edit lands on the anchored meeting card, the inline form opens and a title change persists to bookclub_meetings; Manage meetings lands on #bc-meetings. PHPStan level 5 clean, php -l clean, locale diff is 4 insertions (no re-ordering).

Summary by CodeRabbit

  • Nuove funzionalità

    • Aggiunti collegamenti per gestire gli incontri direttamente dalla sezione amministrativa.
    • Ogni incontro include ora un link “Modifica” alla relativa sezione pubblica.
    • La sezione pubblica degli incontri è raggiungibile tramite collegamento diretto.
  • Localizzazione

    • Aggiunta la voce “Gestisci incontri” nelle traduzioni italiana, inglese, tedesca e francese.
  • Manutenzione

    • Aggiornata la versione del plugin Book Club alla 1.4.2.

…#138)

The admin club detail page listed meetings read-only with no path to the
edit UI, which lives on the public club page (manager-only inline forms).
Uwe asked for meeting editing on /admin/book-club/{id} or at least a link.

- admin/show.php: the Meetings section header now carries a 'Manage
  meetings' link to the club page's meetings section, and every meeting
  row gets an 'Edit' link that deep-links to that meeting's card
  (#bc-meeting-<id>), where the inline edit form opens.
- public/show.php: the meetings section gains the id="bc-meetings" anchor
  (per-meeting anchors already existed).
- 'Gestisci incontri' added to all four locale catalogues.
- book-club plugin bumped to 1.4.2.

Verified in a real browser on the local Apache instance: admin page shows
both links; 'Edit' lands on the anchored meeting card; the inline form
saves (title change persisted to bookclub_meetings); 'Manage meetings'
lands on #bc-meetings. PHPStan level 5 clean.
@coderabbitai

coderabbitai Bot commented Jul 12, 2026

Copy link
Copy Markdown

Review Change Stack

Warning

Review limit reached

@fabiodalez-dev, you've reached your PR review limit, so we couldn't start this review.

Next review available in: 12 minutes

Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.
You're only billed for reviews past your plan's rate limits ($0.25/file).

How can I continue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews.

How do review limits work?

CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability.

For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window.

Please refer docs for additional details.

Review details
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: ASSERTIVE

Plan: Pro

Run ID: dd239b67-6e26-4c2d-8592-0fb7db417775

📥 Commits

Reviewing files that changed from the base of the PR and between 189055b and f894e34.

📒 Files selected for processing (1)
  • storage/plugins/book-club/views/admin/show.php
📝 Walkthrough

Walkthrough

Aggiunge la traduzione di “Gestisci incontri” e collega l’area admin del Book Club alla sezione pubblica degli incontri, includendo link di gestione e modifica tramite anchor dedicati. Aggiorna inoltre la versione del plugin a 1.4.2.

Changes

Book Club — gestione incontri

Layer / File(s) Summary
Stringhe di traduzione
locale/de_DE.json, locale/en_US.json, locale/fr_FR.json, locale/it_IT.json
Aggiunge la label “Gestisci incontri” nelle quattro localizzazioni supportate.
Navigazione e anchor degli incontri
storage/plugins/book-club/views/admin/show.php, storage/plugins/book-club/views/public/show.php, storage/plugins/book-club/plugin.json
Collega l’admin alla sezione pubblica degli incontri, aggiunge i link “Modifica” per ciascun incontro e aggiorna la versione del plugin a 1.4.2.

Estimated code review effort: 2 (Simple) | ~10 minuti

Possibly related PRs

  • fabiodalez-dev/Pinakes#247: aggiunge funzionalità correlate alla modifica degli incontri e agli anchor nella pagina pubblica del Book Club.
🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed Il titolo descrive correttamente il cambiamento principale: l’aggiunta dei link di gestione incontri dalla pagina admin del book club.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch fix/book-club-admin-meeting-links

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@storage/plugins/book-club/views/admin/show.php`:
- Line 273: Allinea il link “Modifica” nella vista admin show.php agli stati
supportati dal form pubblico: renderizzalo solo quando lo stato dell’incontro è
scheduled, oppure aggiorna esplicitamente la logica del form per consentire done
e cancelled. Mantieni l’anchor invariato per gli incontri modificabili.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: ASSERTIVE

Plan: Pro

Run ID: b8f95d8d-a8b5-4291-b666-827c72e62231

📥 Commits

Reviewing files that changed from the base of the PR and between 79bf4c1 and 189055b.

📒 Files selected for processing (7)
  • locale/de_DE.json
  • locale/en_US.json
  • locale/fr_FR.json
  • locale/it_IT.json
  • storage/plugins/book-club/plugin.json
  • storage/plugins/book-club/views/admin/show.php
  • storage/plugins/book-club/views/public/show.php

Comment thread storage/plugins/book-club/views/admin/show.php Outdated
… meetings

The public club page renders the inline edit form only when a meeting is
'scheduled', so deep-linking Edit from the admin page for done/cancelled
meetings landed on an anchor with no form. The link now renders only for
editable (scheduled) meetings — verified in a real browser with one meeting
per status: only the scheduled row carries the link.
@fabiodalez-dev
fabiodalez-dev merged commit 396561a into main Jul 12, 2026
6 of 7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants