Commit Graph

13 Commits

Author SHA1 Message Date
4892a3d798 fix: media library pagination, preview URLs and dashboard layout optimization 2026-03-29 22:27:07 -05:00
58b28378fb feat(ui): optimización de UI/UX en CMS y GlobalPlayer, correcciones backend Appwrite 2026-03-29 00:51:47 -05:00
d48d7bc094 fix: satisfy strict TypeScript compiler checks in Next.js build on publication layouts 2026-03-28 17:36:34 -05:00
a39c059ee2 fix: resolve js null evaluations in entity relations and add on-the-fly appwrite schema bootstrapping for entity config 2026-03-28 17:32:14 -05:00
ae4e242252 refactor: UX enhancements, SEO automation, Entity Singleton and Media URLs 2026-03-28 17:09:35 -05:00
6d83697def fix: explicit double click handler on cards, explicit create button on related fields, and correct RBAC labels parsing 2026-03-28 16:26:09 -05:00
682d6620b9 fix: explicit debugging logic on paginations, filters, Zod xss, and UI constraints 2026-03-28 15:22:05 -05:00
3647602413 feat: complete rx editor, media library grid, UX logic, and XSS protection
- Added @tiptap/extension-youtube and extension-image
- Added MediaGridSelector component with robust grid UI and inline uploads
- Integrated MediaGridSelector into PublicationLayout for featured images
- Integrated inline image module in RichTextEditor linked to MediaGridSelector
- Rendered date conditionally on PostCard and disabled bubble propagation
- Added isomorphic-dompurify to mitigate XSS in the public article viewer
2026-03-28 14:34:04 -05:00
97a3d162e0 feat: implement rich text, media previews, interactions, and fix state sync
- Added RichTextEditor to PublicationLayout's 'contenido'
- Added MediaThumbnail to RelationSelectField for dynamic image previews
- Replaced PostCard edit overlay with single click (view) and double click (edit) mechanics
- Fixed persistence/state bugs by adding revalidatePath to entity server actions
- Replaced hard reload in PublicationsList with router.refresh() for optimistic syncing
2026-03-28 14:06:38 -05:00
2b099f86ba fix: resolve build failure by relaxing submitEditAction type in PublicationsList 2026-03-28 10:15:57 -05:00
956360a693 fix: resolve build-time type error in dashboard pages by relaxing submitAction return type
- Update PublicationLayoutProps and PublicationDrawerProps to allow 'void' as a valid return type for server actions (supporting redirects).
- Improve error handling in PublicationLayout and PublicationDrawer to safely process both object and void responses.
- Update EditEntityPage to include missing user authentication and use specialized PublicationLayout for 'posts' entity.
2026-03-28 10:03:54 -05:00
ea551469b7 fix: use zod issues instead of errors for build compatibility 2026-03-28 09:53:10 -05:00
dda9ae0f4a feat: implement robust publications module with real-time validation and state management
- Refactor dashboard entity pages to support dynamic publications management.
- Add Publications Module with Atomic Design components (PostCard, PublicationsList, FormSection).
- Implement Zod-based real-time validation for publication forms.
- Manage state using Zustand for optimistic UI and in-place relations.
- Add RBAC protection with PermissionGuard and server-side API validation.
- Fix: Resolve TypeScript type error in AdWrappers.tsx to ensure successful build.
- Add ToastProvider and ErrorBoundary for improved user experience.
- Update dependencies for publications logic.
2026-03-28 08:47:40 -05:00