MohFarawati
d48497b992
refactor: drop toast + over-engineered extras, add inline admin feedback
...
CI / quality (push) Waiting to run
Phase 1 cleanup of the personal-site revamp. Backend/architecture untouched;
changes are limited to removing unused complexity and restoring feedback.
Removals
- Toast system: delete react-hot-toast, Toaster, QueryToastBridge, lib/toast,
the toggle/easter-egg calls, related i18n keys and the dependency.
- Contact protection: remove Turnstile + per-IP rate limiting
(lib/contact-guard, lib/contact-protection, admin screen, form widget,
app-config wiring, nav entry, test).
- Speculative specs: delete orders, products, downloads, project-inquiry.
Inline feedback (replaces toast, no new deps)
- Add lib/admin-feedback (withFlash/readFlash) and components/admin/admin-flash,
rendered centrally by AdminDashboardShell.
- Emit success/error messages for media, site-settings, portfolio, smtp,
marquee and maintenance actions; pages read them via searchParams.
- Contact form shows validation/delivery errors inline; success still
redirects to /success.
Docs
- Fix stale paths in frontend-system-* (components/root -> components/admin,
lib/root-navigation -> lib/admin-navigation, drop phantom src/) and remove
contact-protection references from docs and CLAUDE.md.
- Add docs/PHASE0_DIAGNOSIS.md (diagnosis report).
Note: proxy.ts self-fetch kept intentionally; it also drives maintenance mode.
2026-07-14 21:03:51 +02:00
MOH
1a7b3397f6
last update
CI / quality (push) Waiting to run
2026-07-14 20:10:38 +02:00
MOH and Claude Sonnet 4.6
868eb80374
Simplify hero backgrounds and add entrance animations
...
- Replace animated blob/wave/noise backdrop with clean static gradient
(radial ellipse highlights + linear fade) in hero-motion-backdrop
- Remove all framer-motion from background layer; delete unused CSS
classes: hero-blob, hero-sheet-glow, hero-sheet-wave, hero-sheet-noise,
hero-title-shift keyframe, and responsive blob media queries
- Add framer-motion stagger entrance to HeroContentMotion, HeroMotionItem,
and HeroTitle (slide-up + fade on mount)
- Refactor coming-soon page to use HeroContentMotion/HeroMotionItem
instead of MotionFade (whileInView unreliable above the fold)
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-03-17 22:48:51 +01:00
MOH and Claude Sonnet 4.6
f490133345
Harden security, fix rate-limiting, and rename proxy
...
CI / quality (push) Has been cancelled
- Move admin login lockout from client cookie to AppConfig (DB), keyed
by hashed client IP — clearing browser cookies no longer bypasses it
- Replace rate-limit $transaction (TOCTOU) with atomic SQL
INSERT...ON CONFLICT...RETURNING; add stale-entry cleanup on each
submission to prevent table bloat
- Add 5 s module-level cache for middleware runtime state fetch, reducing
per-request DB roundtrips
- Rename middleware.ts → proxy.ts to resolve Next.js 16 deprecation
warning; update test import accordingly
- Require ADMIN_PASSWORD, ADMIN_AUTH_SECRET, ADMIN_BASIC_AUTH_USER, and
ADMIN_BASIC_AUTH_PASS in docker-compose.yml (:? syntax) — startup
fails loudly instead of using placeholder defaults
- Add set -e and informative echo lines to Dockerfile CMD for clearer
startup failure attribution
- Export requireAdminAuth() from lib/admin-auth for centralised use in
admin pages
- Add CLAUDE.md with architecture notes and working rules
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-03-17 22:05:50 +01:00
MOH
c18128c965
Fix runtime default locale resolution
CI / quality (push) Waiting to run
2026-03-15 06:02:27 +01:00
MOH
3eb9238268
moh/admin-portfolio-ux-improvements
CI / quality (push) Waiting to run
2026-03-15 04:42:09 +01:00
MOH
364f761420
Fix dynamic default locale routing
2026-03-15 04:41:08 +01:00
MOH
50c3f5cce9
Fix maintenance redirects and admin host detection
2026-03-15 04:33:07 +01:00
MOH
5d3f77962a
Add admin site settings sections and locale defaults
2026-03-15 04:06:33 +01:00
MOH
fef44ded80
Add dedicated local admin domain routing
2026-03-13 17:48:45 +01:00
MOH
db897e22bf
Refactor admin area and remove legacy root paths
CI / quality (push) Waiting to run
2026-03-13 16:14:04 +01:00
MOH
e32ac4cacb
Upgrade app to Next.js 16
CI / quality (push) Waiting to run
2026-03-13 15:50:37 +01:00
MOH
f14116b56c
Fix internal admin route for subdomain
CI / quality (push) Has been cancelled
2026-03-12 00:24:08 +01:00
MOH
87a597c872
Move admin area to root subdomain
CI / quality (push) Waiting to run
2026-03-12 00:15:12 +01:00
MOH
0d888af177
Remove experimental products section
CI / quality (push) Waiting to run
2026-03-11 23:26:46 +01:00
MOH
64976d6e12
Add sitemap and portfolio category SEO routes
CI / quality (push) Waiting to run
2026-03-11 23:13:36 +01:00
MOH
cff416dd83
refactor toast system to use react-hot-toast
CI / quality (push) Waiting to run
2026-03-11 21:09:45 +01:00
MOH
7956b073e9
Refactor portfolio admin and views
2026-03-11 17:46:35 +01:00
MOH
77cc9dca87
Add Sonner-based notifications and UX polish
2026-03-10 17:43:26 +01:00
MOH
5b51a2a063
Refactor root admin dashboards and settings
2026-03-10 16:43:43 +01:00
MOH
f2b5a15191
fix admin save state architecture
2026-03-10 05:24:50 +01:00
MOH
e219295327
Fix marquee behavior and unify marquee settings
2026-03-10 05:23:27 +01:00
MOH
1d4c2f8e72
Add editable localized marquee settings
2026-03-08 22:40:01 +01:00
MOH
5ca4819bcb
Add SMTP admin settings and contact form delivery
2026-03-08 06:27:09 +01:00
MOH
0c2b67e378
Refactor site header, heroes, and design system
2026-03-08 00:29:51 +01:00
MOH
a18370d003
Refine root UI around shadcn primitives
CI / quality (push) Waiting to run
2026-03-07 22:28:52 +01:00
MOH
1a8d53bda1
fix favicon update flow and site media picker
CI / quality (push) Waiting to run
2026-03-07 19:46:51 +01:00
MOH
ee21e8b823
Improve admin save UX and portfolio navigation
CI / quality (push) Waiting to run
2026-03-07 19:20:58 +01:00
MOH
3d1976a7a5
fix favicon delivery and cache invalidation
2026-03-07 19:19:58 +01:00
MOH
cd6ec7fa78
Fix localized SEO template parsing
CI / quality (push) Waiting to run
2026-03-07 18:54:23 +01:00
MOH
f259dfc6bd
Add SEO settings and root admin save flows
CI / quality (push) Waiting to run
2026-03-07 18:48:01 +01:00
MOH
0f9f9e5f79
Add production-ready media library
CI / quality (push) Waiting to run
2026-03-07 16:20:11 +01:00
MOH
ea64373853
Implement portfolio admin management
2026-03-07 16:06:20 +01:00
MOH
917be15dd5
refactor maintenance mode enforcement
CI / quality (push) Waiting to run
2026-03-07 14:30:09 +01:00
MOH
7f4277d1d7
Finalize multilingual routing and translations
CI / quality (push) Waiting to run
2026-03-07 14:10:30 +01:00
MOH
f86b7f39f7
feat: initialize mohfarawati app foundation
CI / quality (push) Waiting to run
2026-03-06 13:53:57 +01:00