Closed Datayama38 closed 4 months ago
The recent updates focus on enhancing the user interface and code readability in the CMS's admin module, alongside refining access control logic. Notable changes include the introduction of new configuration settings, restructured page layouts, and a more specific user permission check. These modifications aim to improve both the developer experience and the end-user interaction with the system.
File Path | Change Summary |
---|---|
cms/src/admin/app.ts |
Introduced with configuration settings and a bootstrap function. |
.../admin/src/components/FlowCard.tsx .../admin/src/pages/App/index.tsx |
Removed React import and improved JSX readability and structure. |
.../admin/src/pages/HomePage/index.tsx |
Updated to use BaseHeaderLayout , enhancing the layout and header component. |
.../server/policies/has-permission.ts |
Modified condition to check if user is active instead of checking a specific role. |
🐰✨📜✨🐰 In the realm of code where the bytes do play, A rabbit hopped through, tweaking UIs today. A dash of layout, a pinch of permission, All set for users with crisp precision. Hoppity hop, the changes are done, Celebrate the code, oh what fun! 🎉 🐰✨📜✨🐰
cms/src/plugins/betagouv/admin/src/components/FlowCard.tsx (1)
`13-14`: LGTM! The adjustments improve readability and maintainability of the JSX structure.cms/src/plugins/betagouv/admin/src/pages/HomePage/index.tsx (1)
`12-22`: LGTM! The new layout structure using `BaseHeaderLayout` enhances the visual appeal and organization of the `HomePage`.
fix d'un problème de policy qui générait une 403 en utilisant les routes de l'API du plugin les nouvelles features sont :
Summary by CodeRabbit
New Features
Refactor
FlowCard
component.React
imports in admin pages.Bug Fixes