- [NEW] Cosmic Space Theme: Added a toggleable space theme for the landing page with animated stars, nebulas, and glowing neomorphic elements.
- Toggleable: Admin can enable/disable via Settings panel.
- Visuals: Aurora effects, floating nebulas, and enhanced glassmorphism.
- Performance: Optimized CSS-only animations.
- Text-Only RTL: Implemented Arabic RTL text alignment without flipping the entire UI
- CSS-Based Solution: Uses body classes (
lang-ar,lang-en,lang-fr) for selective styling - Smart Direction: Text content (p, h1-h6) is RTL in Arabic, UI elements (buttons, nav, inputs) stay LTR
- Utility Classes: Added
.force-rtland.force-ltrfor override control - Language Persistence: User's language preference saved in localStorage
- Documentation: Created comprehensive guides (
TRANSLATION_GUIDE.md,RTL_IMPLEMENTATION_SUMMARY.md)
- History View: Admins can now see a list of the last 20 sent notifications.
- Delete Capability: Added functionality to delete notifications from the history.
- Security: Added Row Level Security (RLS) policy to ensure only admins can delete notifications.
- Error Boundary: Implemented a global
ErrorBoundaryto catch unexpected crashes and provide a user-friendly fallback UI instead of a white screen. - Security Audit:
- Verified RLS policies for notifications.
- Initiated
npm auditto check for dependency vulnerabilities.
- Performance:
- Confirmed usage of
React.lazyfor route code splitting. - Confirmed CSS optimizations (
will-change,content-visibility).
- Confirmed usage of
src/styles/space-theme.css(New - space theme styles)src/components/admin/SettingsPanel.jsx(Updated - added theme toggle)src/routes/LandingPage.jsx(Updated - applied theme logic)supabase/SPACE_THEME_MIGRATION.sql(New - database migration)SPACE_THEME_SUMMARY.md(New - feature summary)
src/components/LanguageSwitcher.jsx(Updated - removed global dir setting)src/index.css(Updated - added text-only RTL CSS rules)TRANSLATION_GUIDE.md(New - comprehensive translation documentation)RTL_IMPLEMENTATION_SUMMARY.md(New - implementation details)RTL_TESTING_CHECKLIST.md(New - testing guide)