Commit Graph
180 Commits
Author SHA1 Message Date
Gijs Kruitbosch 8030db146a Bug 1389721 - fix page action menu to deal with not being passed an event, so the 'save link to pocket' context menu works, r=jaws
This also removes the now-obsolete onBeforeCommand method from the pocket code.

MozReview-Commit-ID: EjrMoAIv3xw
2017-10-02 20:34:01 +01:00
Gijs Kruitbosch 514cadc9cc Bug 1393843 - add telemetry for page action items and the context menu that enables/disables them, data-review=rweiss, r=adw,rweiss+418169
MozReview-Commit-ID: E52TGDLgjCC
2017-09-20 17:32:11 +01:00
Gijs Kruitbosch 66e3a04794 Bug 1401238 - remove pocket entries in bookmarks menu button panel and bookmarks menu, r=jaws
MozReview-Commit-ID: HPxVus6oXjS
2017-09-20 01:00:25 +01:00
Jared Wein acddc2e849 Bug 1397907 - Optimize some of the SVG animations a little more. r=sfoster
MozReview-Commit-ID: 5ceyzVF6onR
2017-09-07 16:56:05 -04:00
Drew Willcoxon fb2aa5684b Bug 1400751 - Bookmark star and Pocket animations are misaligned in touch mode. r=Gijs
MozReview-Commit-ID: 1znCd1vrLpF
2017-09-18 10:49:25 -07:00
Drew Willcoxon 4ee0451f04 Bug 1397501 - Page actions added to the urlbar should always come before the bookmark star. r=Gijs
MozReview-Commit-ID: 6pVlr9d0crn
2017-09-07 16:44:34 -07:00
Drew Willcoxon aec7e53454 Bug 1397583 - With compact UI density, urlbar animations for Pocket and bookmark star are in the wrong place (offset to the right of the normal icon). r=jaws
MozReview-Commit-ID: 2tr0ZBCNakA
2017-09-07 11:40:59 -07:00
Drew Willcoxon 882f5d3f55 Bug 1397609 - Fix a11y of bookmark star and Pocket urlbar buttons. r=Gijs
MozReview-Commit-ID: 30zJfz52uVB
2017-09-06 22:30:35 -07:00
Tomer Cohen dc59c33d0a Bug 1385713 - Library icon direction on the main toolbar is inconsistent with the one on the menu on RTL builds r=jaws
MozReview-Commit-ID: G62Bg9jGkN
2017-07-30 20:30:12 +03:00
Jared Wein 23660f4b81 Bug 1393565 - De-duplicate the JS code and CSS that sets the bookmark and pocket library animation. r=Gijs
MozReview-Commit-ID: Z1kIdrY2Um
2017-08-30 15:58:24 -04:00
Drew Willcoxon 482ff5bc2d Bug 1395743 - Pocket button should come before bookmarks star button in urlbar. r=Gijs
MozReview-Commit-ID: 2KPSv3Fy8kn
2017-09-01 14:46:52 -07:00
Drew Willcoxon cbe1682561 Bug 1395178 - The new buttons that can be added to the toolbar don't announce themselves to screen readers as buttons. r=jaws
MozReview-Commit-ID: AvQD9Z9ySfu
2017-08-30 13:29:54 -07:00
Drew Willcoxon b69a7ae1a8 Bug 1388835 - Hide page action urlbar buttons on about pages (about:preferences, etc.). r=Gijs
MozReview-Commit-ID: 9lid8VpPkJE
2017-08-26 12:47:33 -07:00
Gijs Kruitbosch 8f3750d0d6 Bug 1375806 - don't overwrite the current non-empty tab when viewing pocket list, r=mixedpuppy
This moves the logic into Pocket.jsm, and first determines the right place based on modifiers etc.
using whereToOpenLink. If that returns 'current', we override with 'tab' if and only if the current
tab is non-empty (so we'll reuse about:blank or about:newtab, but not tabs with a website / history).

MozReview-Commit-ID: H64bREBn8OU
2017-08-23 23:31:19 +01:00
Jared Wein a28e15e6eb Bug 1384953 - Run the library and pocket animations outside of the navigation-toolbar to workaround z-index issues with the selected tab. r=gijs
MozReview-Commit-ID: dXVThUXdXi
2017-08-09 20:36:17 -04:00
Jared Wein 94fe16ea05 Bug 1386029 - Change the X translation of the Pocket inner arrow to use a number that works better with DPI scaling so as not to end up with less than half a pixel and shift the icon. r=sfoster
MozReview-Commit-ID: KA3SQIZZRZ6
2017-08-23 19:33:28 -04:00
Drew Willcoxon ae0ba79f65 Bug 1388170 - Page Action Menu > Pocket needs to read "Save to Pocket". r=Gijs
MozReview-Commit-ID: KRK3GYion1t
2017-08-16 15:02:07 -07:00
Jared Wein bd187a468f Bug 1390264 - Only set up the pocket-animatable-box when animation should begin. r=Gijs
This wasn't noticed in normal windows because the navbar gets position:relative on windows that are showing the TabsToolbar, but in popup windows the navbar isn't relpos and as such some of the machinery that was being set up when not needed was visible. This machinery is now not set up until an animation is requested.

MozReview-Commit-ID: JUqKVYTxE8y
2017-08-16 15:00:48 -04:00
Drew Willcoxon 062e2f296c Bug 1385418 - Remove disabled pocket code for the toolbar button now that it's been replaced by the item in the page action panel. r=Gijs
MozReview-Commit-ID: 1wANxaD3QaV
2017-08-16 10:13:15 -07:00
Dão Gottwald 8addb77d08 Bug 1390182 - Update horizontal position of the star and pocket animations. r=jaws
MozReview-Commit-ID: JNg3NMb2kaX
2017-08-16 17:12:18 +02:00
Jared Wein ba55f13baf Bug 1390283 - Fix the color of the Pocket icon. r=sfoster
MozReview-Commit-ID: KUQgjp8sfbE
2017-08-15 16:51:40 -04:00
Dão Gottwald fcc243e9bd Bug 1389740 - Rename urlbar-icons to page-action-buttons. r=gijs
MozReview-Commit-ID: 980Rvv8mxtU
2017-08-14 16:45:17 +02:00
Jared Wein a080e2809f Bug 1387077 - Reimplement Pocket animation in the Page Action area. r=adw
MozReview-Commit-ID: 5pJ96un8W5t
2017-08-08 11:56:49 -04:00
Wes Kocher d497d08bc6 Backed out changeset d4cc2f1e5c48 (bug 1387077) for windows debug crashtest failures a=backout
MozReview-Commit-ID: kEMoucDCJY
2017-08-10 15:46:38 -07:00
Jared Wein bb3b0a581d Bug 1387077 - Reimplement Pocket animation in the Page Action area. r=adw
MozReview-Commit-ID: 5pJ96un8W5t
2017-08-08 11:56:49 -04:00
Gijs Kruitbosch f019fcf508 Bug 1383009 - fix tests, BrowserUITelemetry and pocket to deal with the changes to the navbar, r=jaws
MozReview-Commit-ID: 9dZI5AI3kvP
2017-08-08 15:09:44 +01:00
Michael Kohler f15ab23e9f Bug 1366555 - Remove MOZ_PHOTON_THEME ifdefs and non-MOZ_PHOTON_THEME code. r=dao
MozReview-Commit-ID: 8w1vfF2yRui
2017-08-08 12:09:14 +02:00
Jared Wein d016c13ec8 Bug 1385913 - Remove MOZ_PHOTON_ANIMATIONS ifdef. r=Gijs
MozReview-Commit-ID: 40TP43EKPCU
2017-08-07 12:37:34 -04:00
Dão Gottwald 875dcaa83e Bug 1387723 - Remove --toolbarbutton-icon-fill and --toolbarbutton-icon-fill-inverted. r=johannh
--toolbarbutton-icon-fill and --toolbarbutton-icon-fill-inverted are largely unused;
only the dark theme uses --toolbarbutton-icon-fill-inverted as intended to change
icon colors. The variables are footguns in that people think they should somehow use
them when they really shouldn't, see bug 1384898, bug 1384893, bug 1384895, and
pocket.css.

MozReview-Commit-ID: 8qAZAWJDkrt
2017-08-05 16:11:12 +02:00
Sebastian Hengst 31742f9ca2 Backed out changeset 1538b0445eda (bug 1366555) for timing browser_locationBarCommand.js and browser_locationBarExternalLoad.js. r=backout 2017-08-05 23:15:16 +02:00
Michael Kohler a220eeb86a Bug 1366555 - Remove MOZ_PHOTON_THEME ifdefs and non-MOZ_PHOTON_THEME code r=dao
MozReview-Commit-ID: CoHv9mKpAe
2017-08-05 20:37:40 +02:00
Jared Wein 504c9c2136 Bug 1384341 - Set a minimum size for the animation area so animations that are larger than toolbar buttons don't get clipped. r=mconley
MozReview-Commit-ID: 2n141CGVogi
2017-07-26 14:20:28 -04:00
Drew Willcoxon e6ab831747 Bug 1386474 - Pocket shouldn't assume that Photon page actions are enabled. r=mixedpuppy
MozReview-Commit-ID: H4sYvICRqx4
2017-08-01 19:10:34 -07:00
Jared Wein d365eef3d6 Bug 1386406 - Update animation-duration of the Photon animations to match 60fps timing. r=sfoster
MozReview-Commit-ID: IgRr5LN4Xcl
2017-08-01 16:47:23 -04:00
Rajesh Kathiriya fefc455410 Bug 1374620 - Enabled the ESLint dot-notation rule across mozilla-central r=standard8
MozReview-Commit-ID: FadrI2li43G
2017-07-25 23:45:41 +05:30
Drew Willcoxon 1840617556 Bug 1367927 - Add a "save to pocket" item to the page action menu. r=mixedpuppy
MozReview-Commit-ID: APmutOUh2Q6
2017-08-01 10:17:00 -07:00
Sebastian Hengst 1326418a49 Backed out changeset f5922a7ed25a (bug 1374620) for failing eslint at telemetry/tests/unit/test_TelemetrySend.js:358: ["os"] is better written in dot notation. r=backout 2017-07-31 14:44:34 +02:00
Rajesh Kathiriya 0d920ece6a Bug 1374620 - Enabled the ESLint dot-notation rule across mozilla-central r=standard8
MozReview-Commit-ID: FadrI2li43G
2017-07-25 23:45:41 +05:30
Jared Wein 098efc3f24 Bug 1383886 - Remove redundant element.closest() call since one call to closest() can do the work that was previously done by two calls to closest() and a property check. r=Gijs
MozReview-Commit-ID: L6weawO4qB0
2017-07-24 16:27:10 -04:00
Jared Wein a1fe16741b Bug 1383882 - Don't show the Pocket library animation if the Pocket page was removed. r=Gijs
MozReview-Commit-ID: D6xsPEUIC96
2017-07-24 16:16:56 -04:00
Michael Kaply 7c1b81a087 Bug 1383848 - Null check library button since it's not there by default. r=jaws
MozReview-Commit-ID: 4IRASZc5icm
2017-07-24 13:58:43 -05:00
Jared Wein 7feb3f7139 Bug 1355922 - Save to Pocket should have an associated animation. r=Gijs
The animations on the pocket-button and library-button are disabled if they are not in the nav-bar due to issues with getting overflow:hidden and position:absolute to work the same way outside of #nav-bar. This is on file as bug 1382894.

MozReview-Commit-ID: Lq20GuocMkg
2017-07-21 18:00:01 -04:00
Wes Kocher 05e579c0fb Backed out changeset d4b7fc921b88 (bug 1355922) for assertions in test_display_mode.html a=backout
MozReview-Commit-ID: GQh4DRTEUJI
2017-07-21 00:36:41 -07:00
Jared Wein a13c276668 Bug 1355922 - Save to Pocket should have an associated animation. r=Gijs
The animations on the pocket-button and library-button are disabled if they are not in the nav-bar due to issues with getting overflow:hidden and position:absolute to work the same way outside of #nav-bar. This is on file as bug 1382894.

MozReview-Commit-ID: Lq20GuocMkg
2017-07-20 09:59:22 -04:00
Sebastian Hengst 3b7d119417 Backed out changeset cf72ce758a61 (bug 1381554) for failing browser_ext_popup_corners.js, at least on OS X opt. r=backout 2017-07-20 18:28:20 +02:00
darcese 95375289d3 Bug 1381554 - Remove rounded corners in doorhangers. r=dao
MozReview-Commit-ID: 3EF2OEUJPgP
2017-07-17 12:45:38 -04:00
Rajesh Kathiriya bfb3762076 Bug 1374670 - Enabled the ESLint no-tabs rule across mozilla-central r=standard8
MozReview-Commit-ID: RT5QTipaOW
2017-07-04 21:30:18 +05:30
Wes Kocher de5721ea81 Backed out changeset 91950bf37618 (bug 1373299) for build bustage a=backout CLOSED TREE
MozReview-Commit-ID: ERo49BX9ti7
2017-06-25 04:18:13 -07:00
Nihanth Subramanya f77e8b4721 Bug 1373299 - Pocket icon should be 16x16 like the others. r=dao
MozReview-Commit-ID: BymLetTtqrU
2017-06-22 18:33:55 +05:30
Gijs Kruitbosch 5cecdacc59 Bug 1354534 - add pocket item to photon library panel, r=mixedpuppy
MozReview-Commit-ID: BEgyelipo0j
2017-06-16 23:16:29 +01:00