Commit Graph
74 Commits
Author SHA1 Message Date
Dan Epstein c958bdf812 Bug 1402394 CamelCase all React component files in \devtools\client\shared\components\. r=pbro
MozReview-Commit-ID: HH4mbqB6RTK
2017-09-27 01:12:13 -04:00
Daisuke Akatsuka 69d460ea34 Bug 1383974 - Part 3: Display animation-timing-function if CSS Animations. r=pbro
MozReview-Commit-ID: CwtdijaEsae
2017-09-25 08:44:05 +09:00
Daisuke Akatsuka d32cae2be6 Bug 1383974 - Part 1: Display easing in keyframes. r=pbro
MozReview-Commit-ID: 8pIUMAurfS3
2017-09-25 08:44:05 +09:00
Sebastian Hengst 8d9ec08d8b Backed out changeset 693f32f563d2 (bug 1383974) for failing devtools' devtools/client/animationinspector/test/browser_animation_detail_easings.js. r=backout 2017-09-22 18:12:42 +02:00
Sebastian Hengst cfa1b6cfde Backed out changeset f951257a6856 (bug 1383974) 2017-09-22 18:11:50 +02:00
Daisuke Akatsuka 5f5de33d58 Bug 1383974 - Part 3: Display animation-timing-function if CSS Animations. r=pbro
MozReview-Commit-ID: CwtdijaEsae
2017-09-22 22:37:01 +09:00
Daisuke Akatsuka daa812e921 Bug 1383974 - Part 1: Display easing in keyframes. r=pbro
MozReview-Commit-ID: 8pIUMAurfS3
2017-09-22 22:36:53 +09:00
Daisuke Akatsuka fff4b5e7e3 Bug 1366989 - Part 1: Avoid to refresh whole panel. r=pbro
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
2017-09-19 10:26:54 +09:00
Patrick Brosset d7a04a0ca9 Bug 1382576 - Switch over from the old-event-emitter to event-emitter in the animation inspector; r=jdescottes
MozReview-Commit-ID: ftItsTkomw
2017-09-06 16:51:50 +02:00
Gabriel Luong e20475ce03 Bug 1390298 - Change the fonts used in the Inspector. r=bgrins 2017-08-15 19:21:49 -07:00
ZER0 d78f1c54ef Bug 1381542 - renamed "devtools/shared/event-emitter" in "devtools/shared/old-event-emitter"; r=ochameau
MozReview-Commit-ID: GkF8HcUg5u8
2017-08-11 03:47:30 +02:00
Wes Kocher aa1caed330 Backed out changeset 58f678547059 (bug 1381542) for conflicting with the incoming m-c merge a=backout
MozReview-Commit-ID: 1wKVHbOAUdc
2017-08-10 18:23:14 -07:00
ZER0 c91b128704 Bug 1381542 - renamed "devtools/shared/event-emitter" in "devtools/shared/old-event-emitter"; r=ochameau
MozReview-Commit-ID: GkF8HcUg5u8
2017-08-11 02:43:47 +02:00
Patrick Brosset 5e598b9226 Bug 1367407 - Early return from timeline render if destroy was called; r=daisuke
MozReview-Commit-ID: L1I1qSSIOBf
2017-06-13 13:56:22 +02:00
Daisuke Akatsuka 9e4d766142 Bug 1309468 - Part 5: Change the name label design. r=pbro
MozReview-Commit-ID: 15Ngp7UkGNv
2017-05-24 10:17:53 +09:00
Daisuke Akatsuka b320dd8b39 Bug 1309468 - Part 4: Make ProgressGraphHelper's usage to fit to SummaryGraphHelper. r=pbro
MozReview-Commit-ID: 5g9HFPLaYSS
2017-05-24 10:17:53 +09:00
Daisuke Akatsuka 8b457b2c3f Bug 1309468 - Part 1: Display effect easing curve and keyframes easing curve in summary graph. r=pbro
MozReview-Commit-ID: I6obHi4joDu
2017-05-24 10:17:36 +09:00
Daisuke Akatsuka 12b83bbbb0 Bug 1210796 - Part 16: Move unchanged properties to bottom in the list. r=pbro
MozReview-Commit-ID: CEmaEYhD6KM
2017-04-18 12:15:57 +09:00
Daisuke Akatsuka 725509a116 Bug 1210796 - Part 15: Displays the animation detail if the previously displayed animation is included in timeline list after refresh all UI. r=pbro
MozReview-Commit-ID: FiltMpwd4VY
2017-04-18 12:15:57 +09:00
Daisuke Akatsuka 307f0fe76e Bug 1210796 - Part 14: Add close button. r=pbro
MozReview-Commit-ID: 59NdVAtgeLw
2017-04-18 12:15:56 +09:00
Daisuke Akatsuka cd765a4ce0 Bug 1210796 - Part 12: Unite common codes into utils.js and use. r=pbro
MozReview-Commit-ID: AXzA9aEOc8N
2017-04-18 12:15:56 +09:00
Daisuke Akatsuka 2a319e66d9 Bug 1210796 - Part 11: Disable clicking on keyframes because we can’t calculate correct current time since the animation detail handles the animation progress not time. r=pbro
MozReview-Commit-ID: JhXNREIyH9X
2017-04-18 12:15:56 +09:00
Daisuke Akatsuka 5d89c74d78 Bug 1210796 - Part 10: Display animation's detail if the animation is only one in the list. r=pbro
MozReview-Commit-ID: G0kQrqzV4tt
2017-04-18 12:15:56 +09:00
Daisuke Akatsuka 37ad19ff3a Bug 1210796 - Part 9: Add progress indicator. r=pbro
MozReview-Commit-ID: GRcj1tFIKZB
2017-04-18 12:15:56 +09:00
Daisuke Akatsuka 36cf252dc2 Bug 1210796 - Part 7: Change selection logic. r=pbro
MozReview-Commit-ID: BgG2Hjf0gP4
2017-04-18 12:15:55 +09:00
Daisuke Akatsuka 19b33feeb3 Bug 1210796 - Part 6: Fixed animation detail panel. r=pbro
MozReview-Commit-ID: CYIka7UkTPx
2017-04-18 12:15:55 +09:00
Daisuke Akatsuka 91fa7d952a Bug 1210796 - Part 5: Add aniamted property's progress line tick. r=pbro
MozReview-Commit-ID: Dwuoq3TD95G
2017-04-18 12:15:55 +09:00
Daisuke Akatsuka ef9c8f384a Bug 1210796 - Part 4: Add animated property header. r=pbro
MozReview-Commit-ID: F2KpzTvlyOj
2017-04-18 12:15:55 +09:00
Daisuke Akatsuka 3e49c2cd32 Bug 1210796 - Part 3: Isolated timeline. r=pbro
MozReview-Commit-ID: KOWHeKRIyLb
2017-04-18 12:15:54 +09:00
Daisuke Akatsuka a723d357d8 Bug 1210796 - Part 2: Visualize each properties. r=pbro
MozReview-Commit-ID: Hjb1QyOMNZR
2017-04-18 12:15:54 +09:00
Brian Birtles 985fa40140 Bug 1330538 - Rename 'Easing:' to 'Overall easing:'; r=pbro
MozReview-Commit-ID: 2u5K7zbqAPK
2017-02-09 16:09:14 +09:00
Brian Birtles 0d80418c88 Bug 1330538 - Hide easing label in tooltip when the easing is linear (the default); r=daisuke
MozReview-Commit-ID: 4mfeki3OXhR
2017-02-09 16:05:45 +09:00
Sebastian Hengst c6d9ef3e98 Backed out changeset 6bc38f188ef2 (bug 1330099) for devtools failures. r=backout 2017-01-11 23:21:56 +01:00
Tim Nguyen 548b6bdbef Bug 1330099 - Enable object-shorthand eslint rule. r=jryans
MozReview-Commit-ID: 3wA25rfznBv
2017-01-11 21:22:15 +00:00
Daisuke Akatsuka add0414855 Bug 1315598 - Part 1: Edge of animation graph is diagonal sometimes. r=pbro
MozReview-Commit-ID: 6HmsFklqzyK
2016-11-28 11:26:16 +09:00
Yann Gravrand 71a6c342b7 Bug 1319989 - Don't show direction in tooltip when it is 'normal'; r=pbro
MozReview-Commit-ID: EYLKQFcq69n
2016-11-28 12:56:47 +01:00
Tom Tromey 1976c3df85 Bug 1312041 - remove requireRawId rewriting in favor of Loader paths; r=jryans
MozReview-Commit-ID: 6OSszbKpp74
2016-10-25 21:30:18 -06:00
Wes Kocher 20d9f9713d Backed out 2 changesets (bug 1312041) for mass failures a=backout
Backed out changeset c4f42d7d5453 (bug 1312041)
Backed out changeset 9bfbc8480d43 (bug 1312041)
2016-11-01 10:30:45 -07:00
Tom Tromey d1b2d82846 Bug 1312041 - remove requireRawId rewriting in favor of Loader paths; r=jryans
MozReview-Commit-ID: 6OSszbKpp74
2016-10-25 21:30:18 -06:00
Daisuke Akatsuka 6fbc1a2962 Bug 1210795 - Part 6: Removes extra codes. r=pbro
MozReview-Commit-ID: 4SeJI0mimVk
2016-10-26 16:37:19 +09:00
Daisuke Akatsuka 758da28381 Bug 1210795 - Part 5: Updates popup information. r=pbro
MozReview-Commit-ID: 2XkgR5ddcvg
2016-10-26 16:37:19 +09:00
Daisuke Akatsuka 82befa77c6 Bug 1210795 - Part 4: Changes composite sign color and animation name. r=pbro
MozReview-Commit-ID: HW53P5nd5q0
2016-10-26 16:37:12 +09:00
Daisuke Akatsuka b1efe2211c Bug 1210795 - Part 3: Changes delay and endDelay expression. r=pbro
MozReview-Commit-ID: DqBZxMBxjto
2016-10-26 16:37:07 +09:00
Daisuke Akatsuka 0f361e03bb Bug 1210795 - Part 2: Changes Infinity expression. r=pbro
MozReview-Commit-ID: Bnoy5k388B8
2016-10-26 16:35:58 +09:00
Daisuke Akatsuka ad6f248b82 Bug 1210795 - Part 1: Display animations' timing-functions in the animation-inspector. r=pbro
MozReview-Commit-ID: CO5tVZ31RrL
2016-10-25 17:35:56 +09:00
Julian Descottes 19dd82492c Bug 1295608 - Migrate devtools/client/inspector to use l10n.js instead of Services.string;r=pbro
MozReview-Commit-ID: KD0AmgDTpbX
2016-08-25 17:18:30 +02:00
Julian Descottes 3479010529 Bug 1298012 - update references to devtools/client/shared/l10n -> devtools/shared/l10n;r=bgrins
MozReview-Commit-ID: 6p5ADjlbsHu
2016-08-25 17:02:50 +02:00
Sebastian Hengst e511035cb5 Backed out changeset 8ad552de5fa6 (bug 1295608) for not finding devtools/client/shared/l10n in mochitest-chrome. r=backout 2016-08-25 14:21:04 +02:00
Julian Descottes e6f9a3715d Bug 1295608 - Migrate devtools/client/inspector to use l10n.js instead of Services.string;r=pbro
MozReview-Commit-ID: AmAkgdqoRr5
2016-08-25 10:35:04 +02:00
Julian Descottes 91ae3dcc39 Bug 1294220 - part5: Remove the "chrome://" protocol when using LocalizationHelper;r=tromey
MozReview-Commit-ID: JzT8RyPhHwA
2016-08-20 21:59:34 +02:00