Closed Bug 1306609 Opened 8 years ago Closed 8 years ago

Activity Stream: Highlights UX Polish

Categories

(Firefox for Android Graveyard :: General, defect, P1)

All
Android
defect

Tracking

(firefox52 fixed)

RESOLVED FIXED
Firefox 52
Tracking Status
firefox52 --- fixed

People

(Reporter: sebastian, Assigned: sebastian)

Details

(Whiteboard: [MobileAS])

Attachments

(9 files)

58 bytes, text/x-review-board-request
ahunt
: review+
Details
58 bytes, text/x-review-board-request
ahunt
: review+
Details
58 bytes, text/x-review-board-request
ahunt
: review+
Details
58 bytes, text/x-review-board-request
ahunt
: review+
Details
58 bytes, text/x-review-board-request
ahunt
: review+
Details
58 bytes, text/x-review-board-request
ahunt
: review+
Details
58 bytes, text/x-review-board-request
ahunt
: review+
Details
58 bytes, text/x-review-board-request
ahunt
: review+
Details
58 bytes, text/x-review-board-request
ahunt
: review+
Details
In order to make highlights look like in the mocks we need to:

- Remove "MORE" link next to highlights
- Add "source" name and icon to highlights
- Update padding/margin (currently there's no bottom margin at all)
- Update font sizes and colors
Assignee: nobody → s.kaspari
Status: NEW → ASSIGNED
Priority: P2 → P1
Comment on attachment 8797699 [details]
Bug 1306609 - Remove MORE link from activity stream panel.

https://reviewboard.mozilla.org/r/83340/#review82526
Attachment #8797699 - Flags: review?(ahunt) → review+
Comment on attachment 8797700 [details]
Bug 1306609 - Activity Stream: Update look and feel of highlights headline.

https://reviewboard.mozilla.org/r/83342/#review82530
Attachment #8797700 - Flags: review?(ahunt) → review+
Comment on attachment 8797701 [details]
Bug 1306609 - Activity Stream: Update padding/margin of highlights cards.

https://reviewboard.mozilla.org/r/83344/#review82532
Attachment #8797701 - Flags: review?(ahunt) → review+
Comment on attachment 8797702 [details]
Bug 1306609 - Activity Stream: Update color of divider and circle page indicator.

https://reviewboard.mozilla.org/r/83346/#review82534
Attachment #8797702 - Flags: review?(ahunt) → review+
Comment on attachment 8797703 [details]
Bug 1306609 - Activity Stream highlights card: Update text colors.

https://reviewboard.mozilla.org/r/83348/#review82536
Attachment #8797703 - Flags: review?(ahunt) → review+
Comment on attachment 8798000 [details]
Bug 1306609 - BrowserProvider.getHighlights(): Reorder columns.

https://reviewboard.mozilla.org/r/83602/#review82540
Attachment #8798000 - Flags: review?(ahunt) → review+
Comment on attachment 8798005 [details]
Bug 1306609 - Remove unused HighlightsItem.

https://reviewboard.mozilla.org/r/83610/#review82554
Attachment #8798005 - Flags: review?(ahunt) → review+
Comment on attachment 8798006 [details]
Bug 1306609 - Rename CompactItem to HighlightsItem.

https://reviewboard.mozilla.org/r/83612/#review82556
Attachment #8798006 - Flags: review?(ahunt) → review+
Comment on attachment 8798001 [details]
Bug 1306609 - Show source label next to highlights (Visited, Bookmarked).

https://reviewboard.mozilla.org/r/83604/#review82560

::: mobile/android/base/java/org/mozilla/gecko/home/activitystream/StreamItem.java:108
(Diff revision 1)
>  
> +        private void updateSource(final Cursor cursor) {
> +            final boolean isBookmark = -1 != cursor.getLong(cursor.getColumnIndexOrThrow(BrowserContract.Combined.BOOKMARK_ID));
> +            final boolean isHistory = -1 != cursor.getLong(cursor.getColumnIndexOrThrow(BrowserContract.Combined.HISTORY_ID));
> +
> +            if (isBookmark) {

My only concern here is what if we have a page that is bookmarked AND visited?

Our current algorithm doesn't pass this data through, but maybe we should file a bug to set a history index if available in the first part of getHighlights(), and possibly some similar code for bookmars?
Attachment #8798001 - Flags: review?(ahunt) → review+
(In reply to Andrzej Hunt :ahunt from comment #19)
> My only concern here is what if we have a page that is bookmarked AND
> visited?
> 
> Our current algorithm doesn't pass this data through, but maybe we should
> file a bug to set a history index if available in the first part of
> getHighlights(), and possibly some similar code for bookmars?

I think in practice it doesn't really matter: The page is in the list of highlights and whether we picked it from highlights or bookmarks is only a minor detail of the implementation.
Pushed by s.kaspari@gmail.com:
https://hg.mozilla.org/integration/autoland/rev/7b410783e3ca
Remove MORE link from activity stream panel. r=ahunt
https://hg.mozilla.org/integration/autoland/rev/d7681748aa59
Activity Stream: Update look and feel of highlights headline. r=ahunt
https://hg.mozilla.org/integration/autoland/rev/627e12f0132b
Activity Stream: Update padding/margin of highlights cards. r=ahunt
https://hg.mozilla.org/integration/autoland/rev/9814ac6984ae
Activity Stream: Update color of divider and circle page indicator. r=ahunt
https://hg.mozilla.org/integration/autoland/rev/775845e46f69
Activity Stream highlights card: Update text colors. r=ahunt
https://hg.mozilla.org/integration/autoland/rev/62af2819dea2
BrowserProvider.getHighlights(): Reorder columns. r=ahunt
https://hg.mozilla.org/integration/autoland/rev/07db42d3c4c7
Show source label next to highlights (Visited, Bookmarked). r=ahunt
https://hg.mozilla.org/integration/autoland/rev/b1a5eb9682ce
Remove unused HighlightsItem. r=ahunt
https://hg.mozilla.org/integration/autoland/rev/9513fa05e63d
Rename CompactItem to HighlightsItem. r=ahunt
Iteration: --- → 1.6
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: