Commit e9367a0
fix: side-by-side diff view, reason field naming, sanitization, auto-refresh
Side-by-side diff view:
- Replaced JSON blob diff with color-coded side-by-side Before/After tables
- Smart column selection: wide CSVs show only changed + key columns (max 8)
- Row capping: first 10 edits in detail, rest in compact expandable table
- Stats bar with add/remove/edit counts, column change badges
Reason field consistency (renamed for clear naming convention):
- remove_reason → row_remove_reason (row removal events)
- edit_reason → row_edit_reason (row edit events)
- column_remove_reason (new, was sharing remove_reason)
- All dashboard coalesce chains updated to match
Fixes:
- Inline multi-edit approval: new submitInlineMultiEditApproval() function
(old path crashed on null.length when col/val were undefined)
- Counter correction for approval replay drift (diff misclassifies edits as adds)
- Usage tracking always increments (was skipped for approval replays)
- reset_daily_usage "all" fix (was treated as username, not keyword)
- Queue KeyError fix: item.get() for heterogeneous queue entries
- Limit cap: editor and admin limits capped at 100 (was 1000/9999)
- Reserved _ prefix columns blocked at backend (prevents limit bypass)
- original_payload reason fields sanitized before storage
- Auto-refresh on ALL approval types (was only create/remove)
- Pending approval bar: no more duplicated reason text
- Approval description uses analyst's reason (not auto-generated text)
- Backend stores comment field in approval queue entries
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 9fa8b07 commit e9367a0
6 files changed
Lines changed: 610 additions & 122 deletions
File tree
- appserver/static
- bin
- default
- data/ui/views
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
367 | 367 | | |
368 | 368 | | |
369 | 369 | | |
370 | | - | |
| 370 | + | |
371 | 371 | | |
372 | 372 | | |
373 | 373 | | |
| |||
428 | 428 | | |
429 | 429 | | |
430 | 430 | | |
431 | | - | |
| 431 | + | |
432 | 432 | | |
433 | 433 | | |
434 | 434 | | |
| |||
1898 | 1898 | | |
1899 | 1899 | | |
1900 | 1900 | | |
1901 | | - | |
| 1901 | + | |
1902 | 1902 | | |
1903 | 1903 | | |
1904 | 1904 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
641 | 641 | | |
642 | 642 | | |
643 | 643 | | |
644 | | - | |
645 | | - | |
646 | | - | |
| 644 | + | |
| 645 | + | |
| 646 | + | |
647 | 647 | | |
648 | 648 | | |
649 | | - | |
650 | | - | |
651 | | - | |
| 649 | + | |
| 650 | + | |
| 651 | + | |
| 652 | + | |
| 653 | + | |
| 654 | + | |
| 655 | + | |
| 656 | + | |
| 657 | + | |
| 658 | + | |
| 659 | + | |
| 660 | + | |
| 661 | + | |
| 662 | + | |
| 663 | + | |
| 664 | + | |
| 665 | + | |
| 666 | + | |
652 | 667 | | |
653 | | - | |
| 668 | + | |
| 669 | + | |
654 | 670 | | |
655 | 671 | | |
656 | | - | |
| 672 | + | |
| 673 | + | |
657 | 674 | | |
658 | | - | |
| 675 | + | |
659 | 676 | | |
660 | 677 | | |
661 | | - | |
662 | | - | |
663 | | - | |
| 678 | + | |
| 679 | + | |
| 680 | + | |
| 681 | + | |
| 682 | + | |
| 683 | + | |
| 684 | + | |
| 685 | + | |
| 686 | + | |
664 | 687 | | |
665 | | - | |
| 688 | + | |
666 | 689 | | |
667 | 690 | | |
668 | | - | |
669 | | - | |
670 | | - | |
671 | | - | |
672 | | - | |
| 691 | + | |
| 692 | + | |
| 693 | + | |
| 694 | + | |
| 695 | + | |
| 696 | + | |
| 697 | + | |
| 698 | + | |
| 699 | + | |
| 700 | + | |
| 701 | + | |
| 702 | + | |
| 703 | + | |
| 704 | + | |
| 705 | + | |
| 706 | + | |
| 707 | + | |
| 708 | + | |
| 709 | + | |
| 710 | + | |
| 711 | + | |
| 712 | + | |
| 713 | + | |
| 714 | + | |
| 715 | + | |
| 716 | + | |
| 717 | + | |
| 718 | + | |
| 719 | + | |
| 720 | + | |
| 721 | + | |
| 722 | + | |
| 723 | + | |
| 724 | + | |
| 725 | + | |
| 726 | + | |
| 727 | + | |
| 728 | + | |
| 729 | + | |
| 730 | + | |
| 731 | + | |
| 732 | + | |
673 | 733 | | |
674 | | - | |
675 | | - | |
| 734 | + | |
| 735 | + | |
| 736 | + | |
| 737 | + | |
| 738 | + | |
| 739 | + | |
| 740 | + | |
| 741 | + | |
| 742 | + | |
| 743 | + | |
| 744 | + | |
676 | 745 | | |
677 | 746 | | |
678 | | - | |
679 | | - | |
| 747 | + | |
| 748 | + | |
| 749 | + | |
680 | 750 | | |
681 | 751 | | |
682 | | - | |
683 | | - | |
| 752 | + | |
| 753 | + | |
| 754 | + | |
| 755 | + | |
| 756 | + | |
| 757 | + | |
| 758 | + | |
| 759 | + | |
| 760 | + | |
| 761 | + | |
| 762 | + | |
| 763 | + | |
| 764 | + | |
| 765 | + | |
| 766 | + | |
| 767 | + | |
| 768 | + | |
| 769 | + | |
| 770 | + | |
| 771 | + | |
| 772 | + | |
| 773 | + | |
| 774 | + | |
| 775 | + | |
| 776 | + | |
684 | 777 | | |
685 | 778 | | |
686 | | - | |
687 | | - | |
| 779 | + | |
| 780 | + | |
| 781 | + | |
| 782 | + | |
| 783 | + | |
688 | 784 | | |
689 | 785 | | |
690 | 786 | | |
| |||
0 commit comments