Open Bug 947119 Opened 11 years ago Updated 2 years ago

Style editor should reload the list when stylesheets are added, removed or changed

Categories

(DevTools :: Style Editor, defect, P2)

defect

Tracking

(Not tracked)

People

(Reporter: pbro, Unassigned)

References

(Depends on 1 open bug)

Details

Whenever stylesheets are added or removed or changed, the style editor should react and show the new list/content.

This may be a bit tricky once changes have been made (even more so if they've been saved to disk).
We could start with something simple that asks users if they want to remove the stylesheet from the list, or reload one they've already edited.
To be discussed I guess.
Depends on bug 926014 in which a lot of the concerned code will be shuffled around.
Also depends on bug 922146 which adds the style sheet added/removed events to the style actor.
Depends on: 926014, 922146
Ideally, we would just add or remove the editor for the style sheet in question, without reloading the whole list.
Inspector bug triage (filter on CLIMBING SHOES).
Priority: -- → P2
I'm handling the "added" part in bug 1224558, but probably not the removed part, due to the saving problem.
Product: Firefox → DevTools
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.