This patch does not change the color for Reps, which is done in
Github and will be available in the 0.0.13 Reps bundle.
MozReview-Commit-ID: ANNjYc2zW3j
Currently the animation inspector re-generates the entire animation timeline
whenever an animation is added, changed, etc.
To avoid this, averts to re-render the component which no needs.
In this implementation, premises the actorID can be used as unique id for each
animations. The mechanism is below.
At initial time, renders all actors as normally. In this time, holds actorID
and related components to componentsMap.
Next, in case of that needs to update the UI, gets animation actors from server,
and compares actorID of both the actors and componentsMap. If retrieved actorID
exists in componentsMap, updates the view area only without re-rendering.
For example, supposes, has an animation (actid-1) when opens the inspector, and
a new animation (actid-2) was added a little later.
At initial rendering, holds "actid-1” of first animation as key and related
components to componentsMap. Next, when “actid-2” animation is added to document,
can get animation actors that are “actid-1” and “actid-2” from server. Because
“actid-1” is already held in componentsMap, updates “actid-1”’s view area. This
is because TimeScale will be updated. Then "actid-2” render as normally since
componentMap does not have the actorID. After rendered, holds “actid-2” and
related components.
However, even if actorID exists, if keyframes (tracks) and effect timing
(state) differ, re-render that. Also, if iterationCount of effect timing
represents Infinity, do re-rendering. Because the display area expands by the
end of the currently displayed time.
And, if actorID in componentsMap is not in retrieved actors, removes related
components.
MozReview-Commit-ID: GmifRX3GzYd
This patch disables the test 'devtools/client/debugger/test/mochitest/browser_dbg_stack-03.js' on linux64-jsdcov for perma-failing.
MozReview-Commit-ID: 1NTOI01g6AV
The test that checked console api stubs was failing because we were trying
to reach the server while the connection was closed, which throws an error.
This patch filters-out log messages in the console output so we don't get
unwanted server communication. The output is not important here since we
are only listening to the consoleAPICall event.
MozReview-Commit-ID: Ay5fQ1CSbLx
This is mainly changing the props we pass to the ObjectInspector,
and removing actions, state properties and reducers that we used to
handle in the console but are now managed by the ObjectInspector
itself.
MozReview-Commit-ID: F2GabDqDjPe
Updated colors and styles for toolbox toolbar tabs as well as sidebar tabs.
For icon color changes created special filters that match the expected photon colors.
The normal, selected and checked states of icons in both dark and light theme are now
always set using filters.
MozReview-Commit-ID: 4MTAxHnyI7a