fix(manager): UI review pass 5 small fixes (fee tabs, category actions and drop line, card buttons, floor plan chips, staff buttons)

- Tabs inset: no line under the strip, the labels level with the end button.
- Products: a chosen category's actions share the width equally, toned (quiet,
  coloured on hover); the drop line shows above / below the row by the pointer's
  half and the category lands exactly there (moveIdTo); grid cards' edit and
  archive centred.
- Floor plans: the plan chips as tall as "New floor plan".
- Staff: PIN and password toned like the other row buttons; toned buttons light
  up (soft background) under the pointer.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-20 19:22:46 +02:00
co-authored by Claude Opus 5.5
parent 15413dea1b
commit abab158b7c
8 changed files with 48 additions and 17 deletions
@@ -131,3 +131,12 @@ test('the editor: every text per language; "Default" is the venue language (owne
assert.equal(canSave({ ...f, names: {}, name: '' }, 'el'), false)
assert.deepEqual(cleanTexts({ el: ' ', en: ' x ', fr: 'y' }), { en: 'x' })
})
test('a category dropped above or below a row lands where the line showed (2026-11-21)', async () => {
const { moveIdTo } = await import('../src/pages/products/productsLogic.js')
assert.deepEqual(moveIdTo([1, 2, 3, 4], 1, 3, false), [2, 1, 3, 4]) // above 3
assert.deepEqual(moveIdTo([1, 2, 3, 4], 1, 3, true), [2, 3, 1, 4]) // below 3
assert.deepEqual(moveIdTo([1, 2, 3, 4], 4, 2, false), [1, 4, 2, 3])
assert.equal(moveIdTo([1, 2, 3], 1, 2, false), null) // already there
assert.equal(moveIdTo([1, 2, 3], 2, 2, true), null)
})