This is a mechanical change. In future, we will probably want to
generate files not named like res/raw/file.json. I'm not going to
handle res/not-raw right now; but I am going to handle not-file.json.
This smoothes that path.
This was essentially mechanical: s/$/$$/; s/suggestedsites/$(1)/; move
libs realchrome:: and GARBAGE rules into template.
I feel like there should be a more direct form of $$($(1)), but I can't
think of it.
This is a mechanical change. In future, we will probably want to
generate files not named like res/raw/file.json. I'm not going to
handle res/not-raw right now; but I am going to handle not-file.json.
This smoothes that path.
I'd like to make the DialogFragment show icons, last synced times,
number of tabs, etc; but AlertDialog does not handle multi-choice lists
backed by a custom list adapters. (It does handle single-choice lists
backed by custom list adapters.) We can implement our own dialog
fragment if and when we want better looks.
I've made this somewhat general so that we can use it from
ShareDialog/SendTab, which currently use AlertDialog. Using
DialogFragment has two advantages. First, it smoothly persists across
configuration changes; AlertDialog does not. Second, it allow us to use
AlertDialog until we implement the improved UI above.
This is quite delicate, due to the interactions between
ExpandableListView and the footer views. At the end of the day, this
uses an Adapter that handles header and footer views as separate
view-group types. That means working around Android's limitations; see
the comments in the code for the details.
The alternative would be to implement our own wrapping Adapter; or to
boil the specifics of our use case into RemoteTabsExpandableListAdapter.
This is certainly quicker than the former; and, I hope, less error prone
than the latter.
This is the boilerplate to add a new RemoteTabsPanel HomeFragment. At
the moment, it merely displays a static view with a static string.
The panel title is "Synced Tabs", per yuan's design PDF; and the panel
appears at the front (far left) of the list on phones, and at the
back (far right) of the list on tablets.
The menu is exposed as "More..." on devices that do not have a hardware
menu button.
========
8adeb1be57
Author: Nick Alexander <nalexander@mozilla.com>
Bug 984503 - Part 4: Show a toast after removing Firefox Account.
========
aeffca77dc
Author: Nick Alexander <nalexander@mozilla.com>
Bug 984503 - Part 3: Hide "More..." option if device has a hardware menu button.
The reason for this dance is to keep the "Remove Account" button out of
view if at all possible. I don't want to make it too easy to delete
your account.
========
4efe597308
Author: Nick Alexander <nalexander@mozilla.com>
Date: Thu Aug 28 15:04:38 2014 -0700
Bug 984503 - Part 2: Add "More..." to Firefox Account status list.
========
ad6a55dc33
Author: vivek <vivekb.balakrishnan@gmail.com>
Date: Thu Aug 21 00:25:30 2014 +0300
Bug 984503 - Part 1: Add menu option to remove Firefox Account.
The menu is exposed as "More..." on devices that do not have a hardware
menu button.
========
8adeb1be57
Author: Nick Alexander <nalexander@mozilla.com>
Bug 984503 - Part 4: Show a toast after removing Firefox Account.
========
aeffca77dc
Author: Nick Alexander <nalexander@mozilla.com>
Date: Thu Aug 28 15:05:11 2014 -0700
Bug 984503 - Part 3: Hide "More..." option if device has a hardware menu button.
The reason for this dance is to keep the "Remove Account" button out of
view if at all possible. I don't want to make it too easy to delete
your account.
========
4efe597308
Author: Nick Alexander <nalexander@mozilla.com>
Date: Thu Aug 28 15:04:38 2014 -0700
Bug 984503 - Part 2: Add "More..." to Firefox Account status list.
========
ad6a55dc33
Author: vivek <vivekb.balakrishnan@gmail.com>
Date: Thu Aug 21 00:25:30 2014 +0300
Bug 984503 - Part 1: Add menu option to remove Firefox Account.
--HG--
extra : rebase_source : 946b86baaa36de4b143d6d8a614f7cc3a2118a6a
========
cf613656fe
Author: Nick Alexander <nalexander@mozilla.com>
Bug 1022749 - Part 2: Show custom server URLs in status activity.
========
91268a261f
Author: Nick Alexander <nalexander@mozilla.com>
Bug 1022749 - Part 1: Show custom server URLs in setup activities.