(via
https://dolske.wordpress.com/2017/07/05/photon-engineering-newsletter-8/)

Oh boy <https://youtu.be/gbt-xpwTE3k?t=16>! Do I have some great updates
for Newsletter #8 <https://www.youtube.com/watch?v=-uLe2VcUCJw>! But
seriously, this is a huge update…
San Francisco All-Hands

[image: foxbot.jpg]

This past week Mozilla brought together nearly 1300 employees and
contributors to San Francisco for an “All-Hands” – 4 days of intense
hacking on improving Firefox. We’re a globally-distributed organization
(and that works really well for us), but periodically bringing people
together physically is a great way to get a burst of focused productivity,
take advantage a high-bandwidth / low-latency communication medium
(talking!), and build stronger sense of community, team-work, and
excitement. There is some crazy-good stuff coming for Firefox 57 – of which
Photon is just one part.

The Photon team is small by comparison (about 15 engineers), but we made
some huge progress towards getting Photon implemented. Our goal is to be
“feature-complete” by August 7th, and we are solidly on track. That should
allow us to spend most of the time between then and the Firefox 57 release
(November 11th) fixing bugs, applying a high-degree of polish, and as much
general front-end performance improvements as we can.


[image: mayostage]
<https://dolske.wordpress.com/2017/07/05/photon-engineering-newsletter-8/mayostage/>
[image: photonhacking1]
<https://dolske.wordpress.com/2017/07/05/photon-engineering-newsletter-8/photonhacking1/>
[image: photonhacking2]
<https://dolske.wordpress.com/2017/07/05/photon-engineering-newsletter-8/photonhacking2/>
Recent (and Upcoming) Changes

In these updates I usually focus exclusively on work that has _landed_ in
Nightly. Stuff that’s real and you can play with today. This week I’m going
to include all of the work that happened at the All-Hands, even though some
of it hasn’t landed just yet. Consider it a taste of what’s to come in the
next few weeks.

Menus/structure:

   - Built the prototype for adding the ability for the user to pin
   frequently-used items from the Page Action menu
   <https://bugzilla.mozilla.org/show_bug.cgi?id=1363188> into the URL bar.
   This work adds a context menu to items in the action menu to control this.
   The prototype also added Page Action menu entries for Pocket
   <https://bugzilla.mozilla.org/show_bug.cgi?id=1367927> and Screenshots
   <https://bugzilla.mozilla.org/show_bug.cgi?id=1366041> (and as a next
   step, their existing buttons in the navbar will be removed). Eventually
   there will be an WebExtensions API so that Addons can extend this menu (but
   that work may not make 57).
   [image: pageactionprotoi.png]
   - The bookmark star has moved
   <https://bugzilla.mozilla.org/show_bug.cgi?id=1352120> into the URL bar.
   This (as with Pocket and Screenshots, mentioned above) is part of our work
   to consolidate actions you perform with the page into the (wait for it)
   Page Action menu.
   - The sidebar button is now in the toolbar by default
   <https://bugzilla.mozilla.org/show_bug.cgi?id=1364238>. This gives easy
   one-click access to toggle the sidebar. We’ve found a surprising number of
   people use the sidebar – and it’s a great place for addons to expose things
   – so Photon makes it a first-class citizen in browser UI.
   - Customize Mode got a few updates. Its general style has been refreshed
   for Photon <https://bugzilla.mozilla.org/show_bug.cgi?id=1354145>, and
   we’ve removed <https://bugzilla.mozilla.org/show_bug.cgi?id=1354123> the
   “grid” style around the edges and shrinking-animation when opened. Also,
   the info panel that’s shown the first time a user enters customization mode
   (which helps explain that you can drag’n’drop items to move them around)
   has been replaced <https://bugzilla.mozilla.org/show_bug.cgi?id=1373016>
   with a Photon critter – the Dragondrop. I hope you can appreciate this
   delightfully terrible pun. 😉
   [image: empty-overflow-pa...@2x.png]
   - The Library panel will now show Bookmarks
   <https://bugzilla.mozilla.org/show_bug.cgi?id=1354159> and Downloads
   <https://bugzilla.mozilla.org/show_bug.cgi?id=1354532>. (Bookmarks are
   already in Nightly, Downloads was built during the week but needs code
   review before landing).
   - We also fixed <https://bugzilla.mozilla.org/show_bug.cgi?id=1374694> a
   number <https://bugzilla.mozilla.org/show_bug.cgi?id=1365705> of random
   <https://bugzilla.mozilla.org/show_bug.cgi?id=1371236> polish
   <https://bugzilla.mozilla.org/show_bug.cgi?id=1374603> bugs
   <https://bugzilla.mozilla.org/show_bug.cgi?id=1373972> here
   <https://bugzilla.mozilla.org/show_bug.cgi?id=1354159> and
   <https://bugzilla.mozilla.org/show_bug.cgi?id=1370083> there
   <https://bugzilla.mozilla.org/show_bug.cgi?id=1373968>. “Polish” bugs
   are changes that are not implementing new features, but are just fixing
   smaller issues with new or existing features. We’ll be seeing an increasing
   amount of these as we get closer to shipping, and focus on improving polish
   and quality overall.)

Animation:

   - A major focus area at the all-hands was resolving the remaining
performance
   regressions <https://bugzilla.mozilla.org/show_bug.cgi?id=1357093>
   encountered by some of the animations. At this point it looks like we’ve
   addressed almost all of them, through a combination of fixing actual
   problems and updating incorrect tests.
   -  The team is working on getting 5 animations landed. (And for
   demonstration purposes, we together a build with all of them, as shown in
   the video below.)
      - The stop/reload button
      <https://bugzilla.mozilla.org/show_bug.cgi?id=1355924> animates when
      transitioning between states (i.e. a page finishes or starts loading)
      - The downloads button progressbar is now functional
      <https://bugzilla.mozilla.org/show_bug.cgi?id=1375309>. This work
      also consolidated
      <https://bugzilla.mozilla.org/show_bug.cgi?id=1376515> a bunch of CSS
      into a single shared location, which makes development easier.
      - The Pin To Overflow
      <https://bugzilla.mozilla.org/show_bug.cgi?id=1375152> menu command
      animates the overflow menu icon, to better indicate where you
can now find
      the pinned item.
      - Saving an item to Pocket
      <https://bugzilla.mozilla.org/show_bug.cgi?id=1355922> similarly
      displays an animation on the Library button, which is where you can later
      access those items.
      - Menu opening will have a different animation effect
      <https://bugzilla.mozilla.org/show_bug.cgi?id=1352075>. (Previously
      these menus had an obvious growing/zoomy effect, now it’s a
snappy downward
      motion.

   Video: https://www.youtube.com/watch?v=7MiKf8Rqf5w

Preferences:

   - Updated the tracking protection section
   <https://bugzilla.mozilla.org/show_bug.cgi?id=1370190> in preferences.
   (This landed separately from the main pref reorg, which is still pending.)
   - The search field is now focused by default
   <https://bugzilla.mozilla.org/show_bug.cgi?id=1374852> when opening
   preferences. Just type and go!

Visual redesign:

   - Added a dropdown in Customization mode to select between different UI
   density settings <https://bugzilla.mozilla.org/show_bug.cgi?id=1350210>.
   (The previously added browser.uidensity preference is controlled here.)
   This allows you to select a more compact Firefox UI, or an expanded version
   that’s touch-friendly. This also controls the automatic usage of the
   touch-friendly density when using Windows 10 Tablet Mode… We automatically
   change density in Tablet Mode because it’s already assuming / optimizing
   for touch usage, whereas outside of Tablet Mode we don’t assume you want
   bigger UI just because you have a touch-capable screen (e.g. for people
   that have the hardware but don’t make use of it.)
   [image: densityui]
   - Chrome context menus now automatically get touch-optimized density
   <https://bugzilla.mozilla.org/show_bug.cgi?id=1364896> when triggered
   from a touch event (as demonstrated in the video below). Soon, the
   hamburger menu will also get this treatment. Video:
https://www.youtube.com/watch?v=3Y5ecNeOagQ



   - We now have platform support for detecting if Windows 10 is configured
   to use an accent color in the titlebar
   <https://bugzilla.mozilla.org/show_bug.cgi?id=1344917>, and to access
   that color via CSS <https://bugzilla.mozilla.org/show_bug.cgi?id=1344910>.
   Upcoming work will use this support to make Firefox actually show the
   accent color <https://bugzilla.mozilla.org/show_bug.cgi?id=1196266> in
   the titlebar.
   - Updated the pinned tab highlight glow
   <https://bugzilla.mozilla.org/show_bug.cgi?id=1375893>; pinned tabs now
   have a small blue dot when their title changes (e.g. when you have new
   Gmail or tweets).
   [image: pinnedglow]
   - Prototyped new styling for the bookmarks sidebar
   <https://bugzilla.mozilla.org/show_bug.cgi?id=1355328>, history sidebar
   <https://bugzilla.mozilla.org/show_bug.cgi?id=1355326>, and updated
the sidebar
   icons <https://bugzilla.mozilla.org/show_bug.cgi?id=1377011>. Coming
   soon to Nightly!
   [image: bmsidebar]
   - Started prototyping rectangular tabs
   <https://bugzilla.mozilla.org/show_bug.cgi?id=1349555> (no more curvy
   tabs!), but didn’t get far enough yet to demo.
   [image: nocurves]
   - A couple bugfixes
   <https://bugzilla.mozilla.org/show_bug.cgi?id=1376109> for unreadable
   text <https://bugzilla.mozilla.org/show_bug.cgi?id=1375973> in some
   situations.

Onboarding:

   - Reached a major milestone! At this point the MVP
   <https://en.wikipedia.org/wiki/Minimum_viable_product> for the new-user
   tour in Firefox 56 is complete, and work is shifting to the Firefox 57
   what’s-new-in-Photon upgrade tour. Bugfixing and testing will, of course,
   continue.
   - Added “Mark all as complete” checkbox
   <https://bugzilla.mozilla.org/show_bug.cgi?id=1357021>, so users can
   hide the tour without going through each step.
   - Added Sync <https://bugzilla.mozilla.org/show_bug.cgi?id=1357023> to
   the tour.
   - Tour notifications
   <https://bugzilla.mozilla.org/show_bug.cgi?id=1357641> are now on the
   bottom about:home and about:newtab, these give users an easy starting point
   into the full tour.
   - The new-tab page now has compact page thumbnails
   <https://bugzilla.mozilla.org/show_bug.cgi?id=1369287>. We changed the
   size so new users can see more of their familiar (imported) top-sites, to
   make space for tour notifications, and as a simple transition toward the
   new page layout Activity Stream
   <https://wiki.mozilla.org/Firefox/Activity_Stream> uses.
   [image: tourbar]

Performance:

   - Assisted the Animations team with performance regressions.
   - Completed an audit of browser startup/init code and filed bugs.
   - Finished removal of Task.jsm
   <https://bugzilla.mozilla.org/show_bug.cgi?id=1374282> and Promise.jsm
   <https://bugzilla.mozilla.org/show_bug.cgi?id=1368456>, in favor of
   modern and faster ES6 promises and ES7 async/await.
   - Removed a synchronous layout flush for scrollboxes
   <https://bugzilla.mozilla.org/show_bug.cgi?id=1368208>.



Phew! So much exciting stuff happening in Photon it’s hard to keep track of
it all!
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to