Enhance the app editing interface with improved input hints

Add helper text and inline hints to the slug and route input fields within the app editing form to clarify their purpose and expected format.
This commit is contained in:
Riyadh
2026-05-12 09:36:50 +00:00
parent a7ca3017c3
commit 9a3e3f19b7
+6
View File
@@ -1283,6 +1283,9 @@ export default function AdminPage() {
dir="ltr"
placeholder="notes"
/>
<p className="text-[11px] text-slate-400 leading-snug">
{lang === "ar" ? "معرّف فريد للتطبيق (أحرف صغيرة بدون مسافات)" : "Unique app identifier (lowercase, no spaces)"}
</p>
</div>
<div className="space-y-1.5">
<Label className="text-xs font-medium text-slate-700 flex items-center gap-1.5">
@@ -1296,6 +1299,9 @@ export default function AdminPage() {
dir="ltr"
placeholder="/notes"
/>
<p className="text-[11px] text-slate-400 leading-snug">
{lang === "ar" ? "المسار داخل التطبيق (مثل /notes)" : "URL path inside the app (e.g. /notes)"}
</p>
</div>
</div>