Commit Graph
27 Commits
Author SHA1 Message Date
Belén Albeza 9d256a992f Bug 1577446 - Part 1: Show images and metadata for icons in the manifest r=Ola,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D46304
2019-10-09 08:41:08 +00:00
Belén Albeza fb4def2250 Bug 1575529: Display color values for manifest members r=Ola
Differential Revision: https://phabricator.services.mozilla.com/D45829
2019-09-18 10:03:44 +00:00
Belén Albeza 3d90ec339e Bug 1566022 - Add "open json" link to the manifest r=Ola,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D45348
2019-09-13 11:27:29 +00:00
Ola Gasidlo e5b1a2fd95 Bug 1565212 Create sidebar component, r=ladybenko,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D43593
2019-09-09 11:55:00 +00:00
Brindusan Cristian bb9ce3e4a3 Backed out 2 changesets (bug 1565212) for linting failure on application.ftl:116:2. CLOSED TREE
Backed out changeset dc67f09ede45 (bug 1565212)
Backed out changeset f21e8b5c98f0 (bug 1565212)
2019-09-09 13:38:04 +03:00
Ola Gasidlo bf9a703899 Bug 1565212 Create sidebar component, r=ladybenko,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D43593
2019-09-09 09:49:28 +00:00
Belén Albeza de94257283 Bug 1577484 - Part 2: Hide ManifestLoader when not needed, add a link to ManifestEmpty r=Ola,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D44669
2019-09-06 11:16:13 +00:00
Belén Albeza 97118efaf5 Bug 1575872 - Part 1: Render a list of issues (errors and warnings) in the Manifest r=Ola,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D43637
2019-08-28 12:20:43 +00:00
Belén Albeza 51ff1ba29b Bug 1575499 - Part 3: UI fixes and CSS refactor r=Ola
> IMPORTANT: this depends on https://phabricator.services.mozilla.com/D43050 to be on central. If it has not been merged already, run `arc patch D43050` before downloading this stack.

- Put style rules into their own components stylesheet.
- Used theme-related colors instead of the same ones for both dark and light themes.
- Made selectors to be class-specific (so they have low specificity)
- Removed some unused CSS in `base.css`
- Fix extra blank space when a section of the manifest is empty (made the hardcoded icons array empty so this can be seen)

NOTE: The CSS/markup for the warnings will be handled in https://bugzilla.mozilla.org/show_bug.cgi?id=1575872

Differential Revision: https://phabricator.services.mozilla.com/D43231
2019-08-26 14:42:38 +00:00
Belén Albeza 23c563e23f Bug 1575499 - Part 1: Rename ManifestView to Manifest r=Ola
> IMPORTANT: this depends on https://phabricator.services.mozilla.com/D43050 to be on central. If it has not been merged already, run `arc patch D43050` before downloading this stack.

`*View` suffixes are sometimes used in JS frameworks context in the same sense we use our `*Page` suffix in here. To avoid confusion –and to have a shorter name– I renamed components to just `Manifest*`

Differential Revision: https://phabricator.services.mozilla.com/D43229
2019-08-26 12:31:10 +00:00
Ola Gasidlo 60dad9d277 Bug 1566011 Create sub component for manifestItem (part 2), r=ladybenko,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D41909
2019-08-21 13:17:54 +00:00
Coroiu Cristina 401514ec7e Backed out changeset 82634a1a2374 (bug 1566011) for devtools failures at browser/base/content/test/static/browser_parsable_css.js on a CLOSED TREE 2019-08-21 15:18:49 +03:00
Ola Gasidlo f15a4a7bca Bug 1566011 Create sub component for manifestItem (part 2), r=ladybenko,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D41909
2019-08-21 08:39:11 +00:00
Ola Gasidlo 9bf1fc92c3 Bug 1565172 Add routing support for Manifest page, r=ladybenko,fluent-reviewers,flod
Add routing support for Manifest page with simple CSS and fluent string for `no manifest found`

Differential Revision: https://phabricator.services.mozilla.com/D40808
2019-08-13 13:18:23 +00:00
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