Closed
Bug 907188
Opened 12 years ago
Closed 12 years ago
[Fig] - Do something with footer on an empty state bookmarks pane
Categories
(Firefox for Android Graveyard :: General, defect)
Tracking
(firefox26 verified)
VERIFIED
FIXED
Firefox 26
Tracking | Status | |
---|---|---|
firefox26 | --- | verified |
People
(Reporter: aaronmt, Assigned: sriram)
References
Details
(Keywords: polish)
Attachments
(2 files)
241.84 KB,
image/png
|
Details | |
1.98 KB,
patch
|
lucasr
:
review+
|
Details | Diff | Splinter Review |
Currently on empty state in the bookmarks pane there is a dividing line with nothing underneath. Perhaps a tip can be added for the pane or the dividing line can be removed.
See screenshot (annotated in red)
Comment 1•12 years ago
|
||
ibarlow, any input here?
Comment 2•12 years ago
|
||
I'm not sure what kind of tip we would provide here, since we already have the blank "add bookmark" things.
I would prefer to simply remove the divider line and only show it when the list fills up beyond what the thumbnails can show.
Flags: needinfo?(ibarlow)
Assignee | ||
Comment 3•12 years ago
|
||
1. Doesn't enable the dividers during startup (avoids a divider flashing until the list is ready).
2. Enables/disables dividers based on entries in the list.
Attachment #794234 -
Flags: review?(lucasr.at.mozilla)
Comment 4•12 years ago
|
||
Comment on attachment 794234 [details] [diff] [review]
Patch
Review of attachment 794234 [details] [diff] [review]:
-----------------------------------------------------------------
Nice.
::: mobile/android/base/home/BookmarksPage.java
@@ +410,5 @@
> + if (c == null || c.getCount() == 0) {
> + mList.setHeaderDividersEnabled(false);
> + } else {
> + mList.setHeaderDividersEnabled(true);
> + }
nit: I'd simplify this like:
// Only show header dividers if the list is not empty
mList.setHeaderDividersEnabled(c != null && c.getCount() > 0);
Attachment #794234 -
Flags: review?(lucasr.at.mozilla) → review+
Assignee | ||
Comment 5•12 years ago
|
||
Comment 6•12 years ago
|
||
Assignee: nobody → sriram
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 26
Reporter | ||
Updated•12 years ago
|
Status: RESOLVED → VERIFIED
status-firefox26:
--- → verified
Updated•5 years ago
|
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•