Refine category select tree gutters and tighten activity charts.

Restore RTL tree lines in category dropdowns, require product category on add, and improve chart bar density with Y-axis tooltips.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Alireza Hassani
2026-08-28 23:52:33 +03:30
co-authored by Cursor
parent b5c2a31262
commit e324ae5763
14 changed files with 630 additions and 235 deletions
@@ -191,6 +191,12 @@ export function AddNewProductPage() {
setIsSubmitting(true)
setError('')
if (!categoryId) {
setError(t('products.form.errorCategory'))
setIsSubmitting(false)
return
}
try {
const featuredMediaId = await resolveDataUrlToMediaId(
thumbnail,
@@ -292,6 +298,7 @@ export function AddNewProductPage() {
value={categoryId}
onChange={setCategoryId}
placeholder={t('products.form.categoryPlaceholder')}
allowEmpty={false}
/>
</div>