Commit bd89d61
committed
refactor(logging): replace console.log with console.info for better log level usage
Replace `console.log` with `console.info` to better reflect the
informational nature of the messages. This change improves log
readability and aligns with best practices for log level usage.
refactor(types): use unknown type instead of any for better type safety
Replace `any` with `unknown` in various parts of the codebase to
enhance type safety. This change encourages more explicit type
checking and reduces potential runtime errors.
refactor(api-client): use type assertion for error handling
Use type assertion for errorBody in `handleResponseError` to ensure
proper type handling and improve code clarity.
refactor: remove unused configurator components and related exports
Remove the `ConfiguratorPage` and related components as they are no
longer needed. This cleanup reduces code complexity and improves
maintainability.
The changes improve code quality by enhancing type safety, aligning
log levels with their intended use, and removing unused components to
reduce complexity.1 parent 1e31f68 commit bd89d61
File tree
15 files changed
+66
-2879
lines changed- src
- actions
- app
- ngdi-internal/configurator
- components
- explorer
- internal
- ui
- hooks
- lib
15 files changed
+66
-2879
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
531 | 531 | | |
532 | 532 | | |
533 | 533 | | |
534 | | - | |
535 | | - | |
| 534 | + | |
| 535 | + | |
536 | 536 | | |
537 | 537 | | |
538 | 538 | | |
539 | | - | |
| 539 | + | |
540 | 540 | | |
541 | 541 | | |
542 | 542 | | |
| |||
561 | 561 | | |
562 | 562 | | |
563 | 563 | | |
564 | | - | |
| 564 | + | |
565 | 565 | | |
566 | 566 | | |
567 | 567 | | |
568 | 568 | | |
569 | | - | |
| 569 | + | |
570 | 570 | | |
571 | 571 | | |
572 | 572 | | |
| |||
577 | 577 | | |
578 | 578 | | |
579 | 579 | | |
580 | | - | |
581 | | - | |
| 580 | + | |
| 581 | + | |
582 | 582 | | |
583 | 583 | | |
584 | 584 | | |
| |||
619 | 619 | | |
620 | 620 | | |
621 | 621 | | |
622 | | - | |
623 | | - | |
| 622 | + | |
| 623 | + | |
624 | 624 | | |
625 | 625 | | |
626 | 626 | | |
627 | 627 | | |
628 | | - | |
| 628 | + | |
629 | 629 | | |
630 | 630 | | |
631 | 631 | | |
| |||
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| 22 | + | |
| 23 | + | |
22 | 24 | | |
23 | 25 | | |
24 | 26 | | |
| |||
40 | 42 | | |
41 | 43 | | |
42 | 44 | | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
43 | 59 | | |
44 | 60 | | |
45 | 61 | | |
| |||
263 | 279 | | |
264 | 280 | | |
265 | 281 | | |
| 282 | + | |
| 283 | + | |
266 | 284 | | |
267 | 285 | | |
268 | 286 | | |
| |||
289 | 307 | | |
290 | 308 | | |
291 | 309 | | |
292 | | - | |
| 310 | + | |
293 | 311 | | |
294 | 312 | | |
295 | 313 | | |
| |||
301 | 319 | | |
302 | 320 | | |
303 | 321 | | |
304 | | - | |
| 322 | + | |
305 | 323 | | |
306 | 324 | | |
307 | 325 | | |
| |||
315 | 333 | | |
316 | 334 | | |
317 | 335 | | |
318 | | - | |
319 | | - | |
| 336 | + | |
| 337 | + | |
| 338 | + | |
| 339 | + | |
320 | 340 | | |
321 | 341 | | |
322 | 342 | | |
323 | 343 | | |
324 | 344 | | |
325 | 345 | | |
326 | | - | |
| 346 | + | |
327 | 347 | | |
328 | 348 | | |
329 | | - | |
330 | | - | |
| 349 | + | |
| 350 | + | |
331 | 351 | | |
332 | 352 | | |
333 | 353 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
103 | 103 | | |
104 | 104 | | |
105 | 105 | | |
106 | | - | |
| 106 | + | |
107 | 107 | | |
108 | 108 | | |
109 | 109 | | |
| |||
0 commit comments