Commit 7070aef
Enable Code button when viewing historical work orders (#4280)
* Enable Code button when viewing historical work orders (#4279)
Fixes bug where Code button was disabled when viewing historical work
orders with version != latest. Users can now open FullScreenIDE to view
code and logs together for debugging failed runs.
Changes:
- Remove isReadOnly check from Code button disabled condition
- Update tooltip to "View read-only code and logs" for clarity
- Show keyboard shortcut (Cmd+E) in all states
- Add test for Code button with pinned version parameter
* Update CHANGELOG for #4279
* Simplify Code button tooltip text
Remove conditional tooltip logic and always show 'Open full-screen code
editor' with keyboard shortcut, regardless of state.
* its not full screen anymore ;-)
---------
Co-authored-by: Taylor Downs <taylor@openfn.org>1 parent 3991fc4 commit 7070aef
File tree
3 files changed
+57
-14
lines changed- assets
- js/collaborative-editor/components/inspector
- test/collaborative-editor/components/inspector
3 files changed
+57
-14
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
24 | 27 | | |
25 | 28 | | |
26 | 29 | | |
| |||
Lines changed: 4 additions & 14 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
81 | 81 | | |
82 | 82 | | |
83 | 83 | | |
84 | | - | |
85 | | - | |
86 | | - | |
87 | | - | |
88 | | - | |
89 | | - | |
90 | | - | |
91 | | - | |
92 | | - | |
93 | | - | |
94 | | - | |
95 | | - | |
96 | | - | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
97 | 87 | | |
98 | 88 | | |
99 | 89 | | |
| |||
102 | 92 | | |
103 | 93 | | |
104 | 94 | | |
105 | | - | |
| 95 | + | |
106 | 96 | | |
107 | 97 | | |
108 | 98 | | |
| |||
Lines changed: 50 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
362 | 362 | | |
363 | 363 | | |
364 | 364 | | |
| 365 | + | |
| 366 | + | |
| 367 | + | |
| 368 | + | |
| 369 | + | |
| 370 | + | |
| 371 | + | |
| 372 | + | |
| 373 | + | |
| 374 | + | |
| 375 | + | |
| 376 | + | |
| 377 | + | |
| 378 | + | |
| 379 | + | |
| 380 | + | |
| 381 | + | |
| 382 | + | |
| 383 | + | |
| 384 | + | |
| 385 | + | |
| 386 | + | |
| 387 | + | |
| 388 | + | |
| 389 | + | |
| 390 | + | |
| 391 | + | |
| 392 | + | |
| 393 | + | |
| 394 | + | |
| 395 | + | |
| 396 | + | |
| 397 | + | |
| 398 | + | |
| 399 | + | |
| 400 | + | |
| 401 | + | |
| 402 | + | |
| 403 | + | |
| 404 | + | |
| 405 | + | |
| 406 | + | |
| 407 | + | |
| 408 | + | |
| 409 | + | |
| 410 | + | |
| 411 | + | |
| 412 | + | |
| 413 | + | |
| 414 | + | |
365 | 415 | | |
366 | 416 | | |
367 | 417 | | |
| |||
0 commit comments