fix: update LLM, Speech, Vision, Community pages to parse real Strapi data...
✨ Overview
This MR fixes data handling for multiple pages by updating them to correctly parse and render real data from the Strapi backend instead of relying on placeholder or incorrectly mapped content.
Affected pages:
- LLM
- Speech
- Vision
- Community
🔧 Changes Made
- Updated API integration to fetch live data from Strapi
- Fixed data parsing logic to match actual CMS response structure
- Correctly mapped nested components using
populate=* - Replaced static/mock data with dynamic backend-driven content
- Improved consistency across all pages
🎯 Purpose
- Ensure accurate rendering of CMS-managed content
- Eliminate mismatches between frontend and backend data
- Enable real-time content updates via Strapi
- Improve reliability and scalability of page rendering
⚙ ️ Technical Details
-
API used:
/api/pages?populate=* -
Implemented proper parsing for:
- Nested components
- Dynamic sections
- Rich text fields
-
Added safeguards for:
- Undefined/null data
- Missing fields
✅ Testing
- Verified all pages correctly display Strapi data
- Checked component rendering for each section
- Tested fallback behavior for empty fields
- Ensured no console/API errors
📌 Notes
- Ensure
findpermission is enabled forpages - Data structure now strictly follows CMS schema
- This fix standardizes data handling across all dynamic pages
Edited by Praveena Veeranki