Commit c5a8e71
authored
* Refactor user_select handling in modular-list-bulk.js and shared-functions.js
- Removed legacy typeahead implementation for user selection in favor of the new dt-users-connection component, enhancing maintainability and user experience.
- Updated bulk edit field initialization to streamline user_select handling, ensuring compatibility with the new component structure.
- Adjusted display logic for user selection to support both legacy and new formats, improving flexibility in data handling.
- Enhanced SCSS to include styles for the new dt-users-connection component, ensuring consistent styling across the application.
* Enhance user_select handling in modular-list-bulk.js
- Introduced a new function, normalizeUserSelectValue, to standardize user selection values for backend compatibility.
- Updated bulk edit logic to utilize normalized user values for removal operations, improving data integrity and consistency.
- Enhanced handling of various input formats for user selection, ensuring robust processing of legacy and new data structures.
* Enhance user ID handling in modular-list-bulk.js
- Added support for number type user IDs, converting them to the format for consistency.
- Updated string handling to return null for invalid free-form strings, ensuring only valid payloads are processed for the backend user_select handler.
- Improved overall robustness in user selection value normalization, aligning with recent enhancements in user_select handling.
* Refactor user selection normalization in modular-list-bulk.js
- Simplified the normalizeUserSelectValue function by removing legacy handling for arrays and objects, focusing on direct processing of user IDs.
- Updated documentation to clarify expected input formats, enhancing understanding of the function's behavior.
- Improved overall code readability and maintainability by streamlining the normalization logic.
* Remove unused bulk edit field handler initialization in modular-list-bulk.js to streamline code and improve maintainability.
* Simplify
* npm run build
1 parent 8256256 commit c5a8e71
8 files changed
Lines changed: 2432 additions & 2127 deletions
File tree
- dt-assets
- build
- components
- css
- js
- scss
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | | - | |
4 | | - | |
| 3 | + | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
8 | | - | |
| 7 | + | |
| 8 | + | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
21 | | - | |
22 | | - | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
33 | 33 | | |
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
822 | 822 | | |
823 | 823 | | |
824 | 824 | | |
| 825 | + | |
| 826 | + | |
| 827 | + | |
| 828 | + | |
| 829 | + | |
825 | 830 | | |
826 | 831 | | |
827 | 832 | | |
| |||
918 | 923 | | |
919 | 924 | | |
920 | 925 | | |
| 926 | + | |
| 927 | + | |
| 928 | + | |
| 929 | + | |
| 930 | + | |
| 931 | + | |
| 932 | + | |
| 933 | + | |
| 934 | + | |
| 935 | + | |
| 936 | + | |
| 937 | + | |
921 | 938 | | |
922 | 939 | | |
923 | 940 | | |
| |||
1100 | 1117 | | |
1101 | 1118 | | |
1102 | 1119 | | |
1103 | | - | |
1104 | | - | |
1105 | | - | |
1106 | | - | |
1107 | | - | |
1108 | | - | |
1109 | | - | |
1110 | | - | |
1111 | | - | |
1112 | | - | |
1113 | | - | |
1114 | | - | |
1115 | | - | |
1116 | | - | |
1117 | | - | |
1118 | | - | |
1119 | | - | |
1120 | | - | |
1121 | | - | |
1122 | | - | |
1123 | | - | |
1124 | | - | |
1125 | | - | |
1126 | | - | |
1127 | | - | |
1128 | | - | |
1129 | 1120 | | |
1130 | 1121 | | |
1131 | 1122 | | |
| |||
1532 | 1523 | | |
1533 | 1524 | | |
1534 | 1525 | | |
1535 | | - | |
| 1526 | + | |
| 1527 | + | |
1536 | 1528 | | |
1537 | 1529 | | |
1538 | 1530 | | |
| |||
2121 | 2113 | | |
2122 | 2114 | | |
2123 | 2115 | | |
2124 | | - | |
2125 | | - | |
2126 | | - | |
2127 | 2116 | | |
2128 | 2117 | | |
2129 | 2118 | | |
2130 | | - | |
2131 | | - | |
2132 | | - | |
2133 | | - | |
2134 | | - | |
2135 | | - | |
2136 | | - | |
2137 | | - | |
2138 | | - | |
2139 | | - | |
2140 | | - | |
2141 | | - | |
2142 | | - | |
2143 | | - | |
2144 | | - | |
2145 | | - | |
2146 | | - | |
2147 | | - | |
2148 | | - | |
2149 | | - | |
2150 | | - | |
2151 | | - | |
2152 | | - | |
2153 | | - | |
2154 | | - | |
2155 | | - | |
2156 | | - | |
2157 | | - | |
2158 | | - | |
2159 | | - | |
2160 | | - | |
2161 | | - | |
2162 | | - | |
2163 | | - | |
2164 | | - | |
2165 | | - | |
2166 | | - | |
2167 | | - | |
2168 | | - | |
2169 | | - | |
2170 | | - | |
2171 | | - | |
2172 | | - | |
2173 | | - | |
2174 | | - | |
2175 | | - | |
2176 | | - | |
2177 | | - | |
2178 | | - | |
2179 | | - | |
2180 | | - | |
2181 | | - | |
2182 | | - | |
2183 | | - | |
2184 | | - | |
2185 | | - | |
2186 | | - | |
2187 | | - | |
2188 | | - | |
2189 | | - | |
2190 | | - | |
2191 | | - | |
2192 | | - | |
2193 | | - | |
2194 | | - | |
2195 | | - | |
2196 | | - | |
2197 | | - | |
2198 | | - | |
2199 | | - | |
2200 | | - | |
2201 | | - | |
2202 | | - | |
2203 | | - | |
2204 | | - | |
2205 | | - | |
2206 | | - | |
2207 | | - | |
2208 | | - | |
2209 | | - | |
2210 | | - | |
2211 | | - | |
2212 | | - | |
2213 | | - | |
2214 | | - | |
2215 | | - | |
2216 | | - | |
2217 | | - | |
2218 | | - | |
2219 | | - | |
2220 | | - | |
2221 | | - | |
2222 | | - | |
2223 | | - | |
2224 | | - | |
2225 | 2119 | | |
2226 | 2120 | | |
2227 | 2121 | | |
| |||
2361 | 2255 | | |
2362 | 2256 | | |
2363 | 2257 | | |
2364 | | - | |
2365 | | - | |
2366 | | - | |
2367 | | - | |
2368 | | - | |
2369 | | - | |
2370 | | - | |
2371 | | - | |
2372 | | - | |
2373 | | - | |
2374 | | - | |
2375 | | - | |
2376 | | - | |
| 2258 | + | |
| 2259 | + | |
| 2260 | + | |
| 2261 | + | |
| 2262 | + | |
| 2263 | + | |
| 2264 | + | |
| 2265 | + | |
| 2266 | + | |
| 2267 | + | |
2377 | 2268 | | |
2378 | 2269 | | |
2379 | 2270 | | |
| |||
2420 | 2311 | | |
2421 | 2312 | | |
2422 | 2313 | | |
| 2314 | + | |
| 2315 | + | |
| 2316 | + | |
| 2317 | + | |
| 2318 | + | |
| 2319 | + | |
| 2320 | + | |
| 2321 | + | |
2423 | 2322 | | |
2424 | 2323 | | |
2425 | 2324 | | |
| 2325 | + | |
2426 | 2326 | | |
2427 | 2327 | | |
2428 | 2328 | | |
| |||
2435 | 2335 | | |
2436 | 2336 | | |
2437 | 2337 | | |
2438 | | - | |
| 2338 | + | |
2439 | 2339 | | |
| 2340 | + | |
| 2341 | + | |
| 2342 | + | |
2440 | 2343 | | |
2441 | 2344 | | |
2442 | 2345 | | |
2443 | 2346 | | |
2444 | 2347 | | |
2445 | | - | |
| 2348 | + | |
| 2349 | + | |
| 2350 | + | |
| 2351 | + | |
2446 | 2352 | | |
2447 | 2353 | | |
2448 | 2354 | | |
2449 | | - | |
| 2355 | + | |
| 2356 | + | |
2450 | 2357 | | |
2451 | 2358 | | |
2452 | 2359 | | |
| |||
2483 | 2390 | | |
2484 | 2391 | | |
2485 | 2392 | | |
2486 | | - | |
2487 | 2393 | | |
2488 | 2394 | | |
2489 | 2395 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1040 | 1040 | | |
1041 | 1041 | | |
1042 | 1042 | | |
1043 | | - | |
1044 | | - | |
1045 | | - | |
1046 | | - | |
1047 | | - | |
1048 | | - | |
1049 | | - | |
1050 | | - | |
1051 | | - | |
1052 | | - | |
1053 | | - | |
1054 | | - | |
1055 | | - | |
1056 | | - | |
1057 | | - | |
1058 | | - | |
1059 | | - | |
1060 | | - | |
1061 | | - | |
1062 | | - | |
1063 | | - | |
1064 | | - | |
1065 | | - | |
| 1043 | + | |
1066 | 1044 | | |
1067 | 1045 | | |
1068 | 1046 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
691 | 691 | | |
692 | 692 | | |
693 | 693 | | |
| 694 | + | |
694 | 695 | | |
695 | 696 | | |
696 | 697 | | |
| |||
0 commit comments