Commit cc67b16
committed
refactor(tasks): enhance task change tracking logic
- add setDisplayedData function to manage displayed data state
- improve grid change handling with displayedDataRef for better accuracy
- streamline data processing during task creation, update, and deletion operations
- enhance readability and maintainability with consistent formatting and comments1 parent 7c5872f commit cc67b16
2 files changed
Lines changed: 279 additions & 182 deletions
Lines changed: 7 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| |||
126 | 126 | | |
127 | 127 | | |
128 | 128 | | |
| 129 | + | |
129 | 130 | | |
130 | 131 | | |
131 | 132 | | |
| |||
161 | 162 | | |
162 | 163 | | |
163 | 164 | | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
164 | 169 | | |
165 | 170 | | |
166 | 171 | | |
| |||
292 | 297 | | |
293 | 298 | | |
294 | 299 | | |
| 300 | + | |
295 | 301 | | |
296 | 302 | | |
297 | 303 | | |
298 | | - | |
299 | 304 | | |
300 | 305 | | |
301 | 306 | | |
| |||
0 commit comments