Fix row highlighting, header alignment, make header sticky

This commit is contained in:
2025-03-11 21:08:02 -04:00
parent 1aee18a025
commit f55d35e301
5 changed files with 219 additions and 213 deletions

View File

@@ -1,6 +1,4 @@
# Current Issues to Address
1. The red row background should go away when all cells in the row are valid and all required cells are populated
2. Columns alignment with header is slightly off, gets worse the further right you go
3. The copy down button is in the way of the validation error icon and the select open trigger - all three need to be in unique locations
4. Validation isn't happening beyond checking if a cell is required or not - needs to respect rules in import.tsx
* Red cell outline if cell is required and it's empty
@@ -14,15 +12,19 @@
10. UPC column doesn't need to show loading state when Item Number is being processed, only show on item number column
11. Copy down needs to show a loading state on the cells that it will copy to
12. Shipping restrictions/tax category should default to ID 0 if we didn't get it elsewhere
13. Header row should be sticky (both up/down and left/right)
14. Need a way to scroll around table if user doesn't have mouse wheel for left/right
15. Need to remove all artificial virtualization, batching, artificial delays, and caching. Adds too much complexity and data set is not ever large enough for this to be helpful. Keep actual performance optimizations.
## Do NOT change or edit
* Anything related to AI validation
* Anything about how templates or UPC validation work (only focus on specific issues described above)
* Anything outside of the ValidationStepNew folder
## Issues already fixed - do not work on these
✅FIXED 1. The red row background should go away when all cells in the row are valid and all required cells are populated
✅FIXED 2. Columns alignment with header is slightly off, gets worse the further right you go
✅FIXED 13. Header row should be sticky (both up/down and left/right)
---------
# Validation Step Components Overview