Skip to content

Allow to customize partners list in the footer - #104

Open
geourjoa wants to merge 3 commits into
mainfrom
worktree-feat+backoffice-editable-partners
Open

Allow to customize partners list in the footer #104
geourjoa wants to merge 3 commits into
mainfrom
worktree-feat+backoffice-editable-partners

Conversation

@geourjoa

@geourjoa geourjoa commented Jul 31, 2026

Copy link
Copy Markdown
Contributor

This pull request introduces a new "Partners" management feature to the backoffice, allowing admins to add, edit, delete, and reorder partners with logos and URLs. It includes a new sidebar entry, a dedicated partners management page, and supporting UI components for editing, previewing, and sorting partners. The changes also add drag-and-drop reordering and live previews of the partners section.

Partners Management Feature:

  • Added a new partners management page at /backoffice/partners with CRUD operations, drag-and-drop reordering, and toast notifications for user feedback. (app/backoffice/partners/page.tsx)
  • Implemented a sidebar entry for "Partners" with the handshake icon, linking to the new page. (components/backoffice/layout/backoffice-sidebar.tsx) [1] [2]

UI Components for Partners:

  • Added PartnerEditorPanel for creating and editing partner entries, including logo upload, validation, and delete confirmation. (components/backoffice/partners/partner-editor-panel.tsx)
  • Added PartnerPreview for a live preview of the partners section as it will appear in the public footer. (components/backoffice/partners/partner-preview.tsx)
  • Added SortablePartnerCard for displaying and reordering partners in a drag-and-drop list. (components/backoffice/partners/sortable-partner-card.tsx)

Integration and Utilities:

  • Updated imports to include partner-related utilities and types where needed, such as image URL generation and data fetching. (components/layout/footer.tsx)

These changes provide a complete UI and backend integration for managing partners in the backoffice, with a focus on usability and real-time feedback.

This comment was marked as outdated.

geourjoa and others added 2 commits August 3, 2026 13:53
Mirror the existing Carousel feature (public read + authenticated
management CRUD, drag-reorder, logo upload) for partners so staff can
add/edit/reorder/delete footer partner logos from the backoffice, and
optionally link each logo to the partner's website.

Requires a matching backend endpoint pair (GET /api/v1/media/partners/
and CRUD under /api/v1/media/management/partners/) that does not exist
yet — the footer degrades gracefully (empty list) until it ships.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@geourjoa
geourjoa force-pushed the worktree-feat+backoffice-editable-partners branch from 3c7795d to 24b88e3 Compare August 3, 2026 11:55
@geourjoa
geourjoa marked this pull request as ready for review August 3, 2026 12:27
Reuse the existing Radix tooltip primitive (components/ui/tooltip.tsx),
already used the same way elsewhere in the app, instead of a native
title attribute. Overrides the tooltip's default bg-primary styling
with a light background so it stays legible against the footer's own
dark blue background.
@geourjoa
geourjoa marked this pull request as draft August 4, 2026 08:30
@geourjoa

geourjoa commented Aug 4, 2026

Copy link
Copy Markdown
Contributor Author

I temporarily move in draft. I discover an issue when deployed with infrastructure repo

archetype-pal/infrastructure#4

@geourjoa
geourjoa marked this pull request as ready for review August 5, 2026 12:29
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