Move the console onto ReUI PRO
Install ReUI (MCP, skill, @reui registry, Tailwind v4, shadcn base-nova) and move the shared UI onto it: Button, Tag, Check, Input/Textarea, Segmented, Alert, Panel, Dialog, Tooltip, Menu and Select (Popover), Toast (sonner), the Table frame (DataGrid), the Dashboard KPI strip, the shnt Ops palette, Geist and the type scale. Design only: behaviour, texts and roles are unchanged. Tests that asserted the old DOM were updated; the tests now format numbers in English wherever they run. docs/reui-migration-plan.md records the plan and its decisions. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
commit
f3531c64f9
680 files changed
+139836
No files matched your search
@@ -0,0 +1,24 @@
|
||||
#!/usr/bin/env bash
|
||||
# Regenerates the dialog inventory of the new console. The figures in the review
|
||||
# plan come from here, not from anyone's memory.
|
||||
#
|
||||
# dev/dialog-inventory.sh table per file
|
||||
# dev/dialog-inventory.sh titulos plus the title of each dialog
|
||||
set -euo pipefail
|
||||
cd "$(dirname "$0")/../src"
|
||||
|
||||
tot_d=0; tot_c=0
|
||||
printf '%-3s %-3s %s\n' D C FILE
|
||||
while read -r f; do
|
||||
d=$(grep -c '<Dialog' "$f" || true)
|
||||
c=$(grep -c '<Confirm' "$f" || true)
|
||||
tot_d=$((tot_d + d)); tot_c=$((tot_c + c))
|
||||
printf '%-3s %-3s %s\n' "$d" "$c" "${f#./}"
|
||||
if [ "${1:-}" = titulos ]; then
|
||||
grep -o 'title={\?[^}]*}\?' "$f" | grep -v '<Alert' | sed 's/^/ /' || true
|
||||
fi
|
||||
done < <(grep -rl '<Dialog\|<Confirm' --include='*.tsx' --exclude='*test*' . | sort)
|
||||
|
||||
echo
|
||||
echo "Dialogs (<Dialog>): $tot_d in $(grep -rl '<Dialog' --include='*.tsx' --exclude='*test*' . | wc -l) files"
|
||||
echo "Confirmations (<Confirm>): $tot_c in $(grep -rl '<Confirm' --include='*.tsx' --exclude='*test*' . | wc -l) files"
|
||||
Reference in new issue
Block a user