Commit Graph
28 Commits
Author SHA1 Message Date
Tống Thành Đạt 7df3a6f6bf feat(cms): refactor page content management and implement detailed editors
Refactor the CMS page content system to use a more modular configuration-driven approach. This replaces the monolithic `pageContentConfig.js` with individual configuration files for each page and introduces a shared field utility to standardize editor components.
Key changes:
- Implement a generic `_renderSingletonPageView` helper to reduce duplication across controllers.
- Enhance `_createPageContentController` with `normalizeForEditor`, `normalizeForApi`, and `preparePayload` hooks for custom data transformation.
- Create dedicated configuration and view structures for Partnerships, History, Accreditation, Admissions, and Policies pages.
- Add a specialized section editor for Policies to manage complex nested content.
- Improve the frontend `page-content-editor.js` with support for visibility logic, auto-sequencing for arrays, and URL synchronization for active tabs.
- Update data JSON files to align with the new schema.
2026-04-20 19:43:28 +07:00
Tống Thành Đạt 8b6bf5fe6e feat(cms): add management for partnerships, history, accreditation, admissions, and policies pages
Implement a singleton page content system to manage static informational pages. This includes:
- New controllers, models, and data files for Partnerships, History, Accreditation, Admissions, and Policies.
- Admin routes and views for updating page content.
- Public API endpoints for fetching page data.
- Migration scripts for initializing page data.
- Updated admin navigation layout to include a dropdown for "About" sections.
- Audit action constants for tracking updates to these pages.
2026-04-20 14:08:38 +07:00
nhuthuy 8401ea2057 refactor(about): remove blog section and decouple from blog module 2026-02-07 22:11:59 +07:00
tranthanh d3d88ce26b Merge pull request 'feat(about): sync FE-BE data and image upload' (#29) from feat/huy-05022026-cms-add-about-api-management into main
Reviewed-on: UKSOURCE/cms.hailearning.edu.vn#29
2026-02-06 03:33:50 +00:00
nhuthuy 8232a36e71 feat(about): sync FE-BE data and image upload 2026-02-06 01:58:56 +07:00
Wini_Fy b355e1ed10 Merge branch 'main' of https://gits.techvanguard.vn/UKSOURCE/cms.hailearning.edu.vn into fea/thanh-05022026-home 2026-02-05 21:21:55 +07:00
tranthanh 8ed5f65432 Merge pull request 'feat/huy-05022026-cms-add-footer-api-management' (#27) from feat/huy-05022026-cms-add-footer-api-management into main
Reviewed-on: UKSOURCE/cms.hailearning.edu.vn#27
2026-02-05 14:21:20 +00:00
Wini_Fy 7ec9bccad5 refactor: enhance home page structure and content management 2026-02-05 21:19:51 +07:00
Wini_Fy de50d554c9 feat: Add initial CMS for home page content management, including sections for hero, testimonials, partners, and more. 2026-02-05 15:55:27 +07:00
nhuthuy fb8676879d feat/huy-05022026-cms-add-footer-api-management 2026-02-05 15:31:19 +07:00
Wini_Fy aea70f89ac refactor: restructure home model and update homeController 2026-02-05 13:24:07 +07:00
Wini_Fy 7ba051ffc5 Merge branch 'main' of https://gits.techvanguard.vn/UKSOURCE/cms.hailearning.edu.vn into fea/thanh-02022026-news 2026-02-05 10:54:30 +07:00
Wini_Fy 7dd52d8669 refactor: remove camp location functionality 2026-02-05 10:52:27 +07:00
nhuthuy f25f6b9156 add api headermenu and crud management 2026-02-05 01:42:40 +07:00
nhuthuy befe6b30aa feat(header): add admin UI and APIs for header management 2026-02-05 01:31:51 +07:00
nguyenvanbao 6294920e68 fix: add leading slashes to image paths in service data 2026-02-04 16:25:54 +07:00
r2xrzh9q2z-lab 2563ddf5ee fix conflig pull request 2026-02-04 09:26:50 +07:00
Wini_Fy c098043b44 Merge branch 'main' of https://gits.techvanguard.vn/UKSOURCE/cms.hailearning.edu.vn into fea/thanh-02022026-news 2026-02-04 09:22:24 +07:00
r2xrzh9q2z-lab 25df84fe8c Fix merge conflicts with main 2026-02-04 09:21:15 +07:00
nguyenvanbao a1984189bd Merge branch 'main' of https://gits.techvanguard.vn/UKSOURCE/cms.hailearning.edu.vn into fea/bao-03022026-Admin-Management-Service 2026-02-04 09:18:42 +07:00
r2xrzh9q2z-lab 6f82b2c35c UI Visa-VisaDetail 2026-02-04 09:17:57 +07:00
Wini_Fy 538317eade feat:Add blog management page and enhance admin layout 2026-02-03 17:04:28 +07:00
nguyenvanbao 73a238ac50 Merge branch 'main' of https://gits.techvanguard.vn/UKSOURCE/cms.hailearning.edu.vn into fea/bao-03022026-Admin-Management-Service 2026-02-03 16:21:56 +07:00
nguyenvanbao 9dc02974a4 feat: add service management module with CRUD operations 2026-02-03 16:20:07 +07:00
LNHA 520a1cd4ff Merge branch 'main' of https://gits.techvanguard.vn/UKSOURCE/cms.hailearning.edu.vn into hoanganh-03022026-appointment-contact-pricing 2026-02-03 15:03:24 +07:00
LNHA df8e1f9665 feat: Implement core admin panel functionalities including appointment, contact, and pricing management with associated models, controllers, views, and routes. 2026-02-03 14:58:00 +07:00
Wini_Fy 02ff66cb8f feat: Remove outdated migration 2026-02-02 17:02:14 +07:00
r2xrzh9q2z-lab d1b931d547 first commit 2026-02-02 11:07:09 +07:00