Commit Graph
13 Commits
Author SHA1 Message Date
Belén Albeza 3a2e17b944 Bug 1553799 - Part 2: Move rendering of workers to their own root component r=Ola
Differential Revision: https://phabricator.services.mozilla.com/D39373
2019-07-29 12:52:02 +00:00
Belén Albeza 1d4bab6e3c Bug 1553799 - Part 1: Move worker-related components to their own folder r=Ola
Differential Revision: https://phabricator.services.mozilla.com/D39372
2019-07-29 12:50:17 +00:00
Belén Albeza 83cd5ac6a4 Bug 1557694 - Use <button> instead of <a> for Start/Debug workers r=Ola
**NOTE: This depends on D35513, so if it has not landed yet, please `arc patch D35513` before patching this one on top.**

- `.devtools-button` styles in `common.css` are kinda broken , so I decided to roll out our own button component (`UIButton`) after consulting with Victoria colors, sizes, etc. The other downside to selectors in `common.css` is that they can have a high specificity :(
- Victoria said to use the "micro" style from Photon as the default style for buttons in the panels. So I created an even smaller "micro" styles (very similar to `.devtools-togglebutton`) for when we need smaller buttons.
- I created some light/dark variables in our stylesheets instead of on `variables.css` because `--theme-button-background` was already taken (only used in a single panel, but still…). Maybe after the buttons are fixed globally in the common folder, we could use the variables there. In the meantime, to avoid losing more time, I rolled out our own vars here.

Differential Revision: https://phabricator.services.mozilla.com/D37883
2019-07-22 15:40:12 +00:00
Mihai Alexandru Michis 2a0c7bf412 Backed out changeset 4dd499946b35 (bug 1557694) for causing failures in browser_parsable_css.js CLOSED TREE 2019-07-22 17:51:14 +03:00
Belén Albeza 98faa2c45c Bug 1557694 - Use <button> instead of <a> for Start/Debug workers r=Ola
**NOTE: This depends on D35513, so if it has not landed yet, please `arc patch D35513` before patching this one on top.**

- `.devtools-button` styles in `common.css` are kinda broken , so I decided to roll out our own button component (`UIButton`) after consulting with Victoria colors, sizes, etc. The other downside to selectors in `common.css` is that they can have a high specificity :(
- Victoria said to use the "micro" style from Photon as the default style for buttons in the panels. So I created an even smaller "micro" styles (very similar to `.devtools-togglebutton`) for when we need smaller buttons.
- I created some light/dark variables in our stylesheets instead of on `variables.css` because `--theme-button-background` was already taken (only used in a single panel, but still…). Maybe after the buttons are fixed globally in the common folder, we could use the variables there. In the meantime, to avoid losing more time, I rolled out our own vars here.

Differential Revision: https://phabricator.services.mozilla.com/D37883
2019-07-22 12:25:09 +00:00
Ola Gasidlo 772d422172 Bug 1557699 - Improve CSS base, r=ladybenko
Added variables in base.css, reduced specificity

Differential Revision: https://phabricator.services.mozilla.com/D35513
2019-07-12 08:24:55 +00:00
Belén Albeza 97a839dce0 Bug 1459146 - Wait for workers to load before rendering the UI. r=nchevobbe
Also fixed some CSS related to the "no workers" empty screen:

- Fixed vertical misalignment.
- Made the "You need to register a service worker" text bigger.
- Refactored some CSS rules and removed unneeded styles.

MozReview-Commit-ID: JVduSXIxcV7
2018-05-09 16:39:55 +02:00
Julian Descottes 9811d3c82f Bug 1454931 - Display help screen when no service worker is available;r=sole
MozReview-Commit-ID: JDPX45YIkrB
2018-03-19 18:55:22 +01:00
Julian Descottes 96cf5f7268 Bug 1445197 - part 4: Implement application panel UI to display all workers;r=Honza,nchevobbe,sole
Add redux, a store, listen to events that can lead to a change in the workers
list to update the store.

MozReview-Commit-ID: Fo0jn7Cldep
2018-04-05 21:39:10 +02:00
Ciure Andrei 7d0d7e8fbb Backed out 4 changesets (bug 1445197)for ESlint failure, on a CLOSED TREE a=backout
Backed out changeset 422bbd33b4e3 (bug 1445197)
Backed out changeset 086638cc851c (bug 1445197)
Backed out changeset 11f5214dc193 (bug 1445197)
Backed out changeset eae47509bc27 (bug 1445197)
2018-04-18 23:50:12 +03:00
Julian Descottes fcfba43290 Bug 1445197 - part 4: Implement application panel UI to display all workers;r=Honza,nchevobbe,sole
Add redux, a store, listen to events that can lead to a change in the workers
list to update the store.

MozReview-Commit-ID: Fo0jn7Cldep
2018-04-05 21:39:10 +02:00
Andreea Pavel 9f90c53976 Backed out 4 changesets (bug 1445197) for failing mochitest devtools on multiple files e.g. devtools/client/aboutdebugging/test/browser_service_workers.js on a CLOSED TREE
Backed out changeset 4b6f77cfd686 (bug 1445197)
Backed out changeset ba9ffea6d216 (bug 1445197)
Backed out changeset a0345830e1cf (bug 1445197)
Backed out changeset 3e9acd2c8bd3 (bug 1445197)
2018-04-18 20:19:34 +03:00
Julian Descottes 8d4ac6587e Bug 1445197 - part 4: Implement application panel UI to display all workers;r=Honza,nchevobbe,sole
Add redux, a store, listen to events that can lead to a change in the workers
list to update the store.

MozReview-Commit-ID: Fo0jn7Cldep
2018-04-05 21:39:10 +02:00