Move components shared by tooltip and Compatibility Panel to common location
Categories
(DevTools :: Inspector: Compatibility, enhancement, P3)
Tracking
(firefox82 fixed)
Tracking | Status | |
---|---|---|
firefox82 | --- | fixed |
People
(Reporter: lelouch.cpp, Assigned: lelouch.cpp)
References
(Blocks 1 open bug)
Details
Attachments
(2 files, 2 obsolete files)
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:81.0) Gecko/20100101 Firefox/81.0
Expected results:
With the introduction of the CSS Compatibility Tooltip, there will be React components shared between the compatibility panel and the tooltip.
Based on the discussion, we will move the shared components to devtools/client/inspector/compatibility and move MDNCompatibility library in devtools/client/shared/compatibility to devtools/server/actors/compatibility to reduce fragmentation in the compatibility ecosystem.
Updated•4 years ago
|
Most of the MDNCompatibility library imports on the client side
is just to access the property MDNCompatibility.ISSUE_TYPE
.
This patch moves the property into constants.js
in devtools/shared
from where it can be accessed both client and server side.
The issue types are constants and is exported as COMPATIBILITY_ISSUE_TYPE
Updated•4 years ago
|
This moves the MDNCompatibility library and the related datasets
and tests to the server side. It also moves the compatibility actor
file intot he compatibility directory.
The links to these files have been updated and the library tests have
been moved to the new location.
Depends on D86519
This patch moves the UnsupportedBrowserList React component and it's dependencies
to devtools/client/shared/compatibility
All the paths linked to the moved components have been updated to
point to the components in shared folder
Depends on D86521
This patch moves the snapshot
tests for the components shared between the compatibility panel and the
compatibility tooltip to shared/compatibility/test/node
The components UnsupportedBrowserList
and UnsupportedBrowserItem
were moved to devtools/client/shared/compatibility
in D83909.
The lock files and configs are copied from
devtools/client/inspector/compatibility/test/node
and are exactly
identical except for the package name in package.json
Depends on D86522
Updated•4 years ago
|
Updated•4 years ago
|
Updated•4 years ago
|
Pushed by mtigley@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/d39dc81e9644 Part 1 - Move the ISSUE_TYPE property to devtools/shared/constants.js r=mtigley https://hg.mozilla.org/integration/autoland/rev/b17538791df6 Part 2 - Move MDNCompatibility library and related files to devtools/server/actors/compatibility r=daisuke,mtigley
Comment 6•4 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/d39dc81e9644
https://hg.mozilla.org/mozilla-central/rev/b17538791df6
Description
•