Commit 39be514
fix(tables): toast on delete-column failure, case-insensitive row cleanup, rename row-data keys
Address greptile review:
- useDeleteColumn now toasts on non-validation errors so users see when
the column "snaps back" after a server/network failure
- Row data cleanup matches keys case-insensitively in both useDeleteColumn
and useUpdateColumn so a column stored as "Age" is cleaned even when
the request uses "age"
- useUpdateColumn now migrates row-data keys when updates.name is set,
preventing blank cells during the server round-trip on a rename
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>1 parent b4ae6bc commit 39be514
2 files changed
Lines changed: 70 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
204 | 204 | | |
205 | 205 | | |
206 | 206 | | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
207 | 251 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
885 | 885 | | |
886 | 886 | | |
887 | 887 | | |
888 | | - | |
| 888 | + | |
| 889 | + | |
| 890 | + | |
| 891 | + | |
| 892 | + | |
| 893 | + | |
| 894 | + | |
| 895 | + | |
| 896 | + | |
| 897 | + | |
| 898 | + | |
| 899 | + | |
| 900 | + | |
| 901 | + | |
889 | 902 | | |
890 | 903 | | |
891 | 904 | | |
892 | 905 | | |
893 | 906 | | |
| 907 | + | |
| 908 | + | |
| 909 | + | |
| 910 | + | |
| 911 | + | |
894 | 912 | | |
895 | 913 | | |
896 | 914 | | |
| |||
1173 | 1191 | | |
1174 | 1192 | | |
1175 | 1193 | | |
| 1194 | + | |
1176 | 1195 | | |
1177 | 1196 | | |
1178 | | - | |
1179 | 1197 | | |
1180 | 1198 | | |
1181 | 1199 | | |
| |||
1196 | 1214 | | |
1197 | 1215 | | |
1198 | 1216 | | |
1199 | | - | |
1200 | | - | |
| 1217 | + | |
| 1218 | + | |
| 1219 | + | |
1201 | 1220 | | |
1202 | 1221 | | |
1203 | 1222 | | |
1204 | 1223 | | |
1205 | 1224 | | |
1206 | | - | |
| 1225 | + | |
1207 | 1226 | | |
1208 | 1227 | | |
1209 | 1228 | | |
| |||
1212 | 1231 | | |
1213 | 1232 | | |
1214 | 1233 | | |
| 1234 | + | |
| 1235 | + | |
1215 | 1236 | | |
1216 | 1237 | | |
1217 | 1238 | | |
| |||
0 commit comments