Commit d4fcd5f
[elements] Update working copy from Styles tab.
When modifying CSS, the Styles tab previously wrote straight to disk
when a workspace folder was connected, instead of updating the working
copy (like the Sources panel does). This is a very inconsistent and
confusing behavior, and doesn't align with the intended use cases that
we're working on for Workspace feature.
Also show an asterisk in the Styles tab for modified CSS files, similar
to what we do in the Sources panel.
Bug: 405312529
Screenshot: https://i.imgur.com/iXDyU1S.png
Change-Id: I980cb87a8d985f4cab6b6b26fa2618ee6001d24c
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/6382153
Auto-Submit: Benedikt Meurer <[email protected]>
Reviewed-by: Ergün Erdoğmuş <[email protected]>
Commit-Queue: Ergün Erdoğmuş <[email protected]>1 parent da4bf5a commit d4fcd5f
File tree
3 files changed
+36
-2
lines changed- front_end
- models
- bindings
- workspace
- ui/legacy/components/utils
3 files changed
+36
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
271 | 271 | | |
272 | 272 | | |
273 | 273 | | |
274 | | - | |
| 274 | + | |
275 | 275 | | |
276 | 276 | | |
277 | 277 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
590 | 590 | | |
591 | 591 | | |
592 | 592 | | |
593 | | - | |
| 593 | + | |
| 594 | + | |
| 595 | + | |
| 596 | + | |
| 597 | + | |
594 | 598 | | |
595 | 599 | | |
596 | 600 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
94 | 94 | | |
95 | 95 | | |
96 | 96 | | |
| 97 | + | |
97 | 98 | | |
98 | 99 | | |
99 | 100 | | |
100 | 101 | | |
101 | 102 | | |
| 103 | + | |
102 | 104 | | |
103 | 105 | | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
104 | 126 | | |
105 | 127 | | |
106 | 128 | | |
| |||
436 | 458 | | |
437 | 459 | | |
438 | 460 | | |
| 461 | + | |
| 462 | + | |
| 463 | + | |
| 464 | + | |
439 | 465 | | |
440 | 466 | | |
441 | 467 | | |
| |||
473 | 499 | | |
474 | 500 | | |
475 | 501 | | |
| 502 | + | |
476 | 503 | | |
477 | 504 | | |
| 505 | + | |
| 506 | + | |
| 507 | + | |
478 | 508 | | |
479 | 509 | | |
480 | 510 | | |
| |||
0 commit comments