Allow to customize partners list in the footer - #104
Open
geourjoa wants to merge 3 commits into
Open
Conversation
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
force-pushed
the
worktree-feat+backoffice-editable-partners
branch
from
August 3, 2026 11:55
3c7795d to
24b88e3
Compare
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
marked this pull request as draft
August 4, 2026 08:30
Contributor
Author
|
I temporarily move in draft. I discover an issue when deployed with infrastructure repo |
geourjoa
marked this pull request as ready for review
August 5, 2026 12:29
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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:
/backoffice/partnerswith CRUD operations, drag-and-drop reordering, and toast notifications for user feedback. (app/backoffice/partners/page.tsx)components/backoffice/layout/backoffice-sidebar.tsx) [1] [2]UI Components for Partners:
PartnerEditorPanelfor creating and editing partner entries, including logo upload, validation, and delete confirmation. (components/backoffice/partners/partner-editor-panel.tsx)PartnerPreviewfor a live preview of the partners section as it will appear in the public footer. (components/backoffice/partners/partner-preview.tsx)SortablePartnerCardfor displaying and reordering partners in a drag-and-drop list. (components/backoffice/partners/sortable-partner-card.tsx)Integration and Utilities:
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.