Closed Bug 1212905 Opened 10 years ago Closed 10 years ago

[New-Homescreen] Make scroll-snapping optional, disabled by default

Categories

(Firefox OS Graveyard :: Gaia::Homescreen, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: cwiiis, Assigned: cwiiis)

References

Details

Attachments

(1 file)

UX doesn't like scroll snapping (:'(), but have agreed to an option in the developer settings. This has some interesting implications for performance and dragging icons, we'll have to see how it works out... This will depend on some settings infrastructure added in bug 1212864.
Comment on attachment 8671895 [details] [review] [gaia] Cwiiis:bug1212905-new-homescreen-optional-scroll-snapping > mozilla-b2g:master r?gmarty for homescreen changes, r?gasolin for settings changes. This adds a homescreen preference for paging - when paging is enabled, behaviour is as it is now, when it's disabled, scroll-snapping is disabled and auto-scroll during icon dragging just scrolls a logical page up/down without snapping to 'page' boundaries.
Attachment #8671895 - Flags: review?(gmarty)
Attachment #8671895 - Flags: review?(gasolin)
Comment on attachment 8671895 [details] [review] [gaia] Cwiiis:bug1212905-new-homescreen-optional-scroll-snapping > mozilla-b2g:master That's cool. r+ Glad we kept this feature.
Attachment #8671895 - Flags: review?(gmarty) → review+
Comment on attachment 8671895 [details] [review] [gaia] Cwiiis:bug1212905-new-homescreen-optional-scroll-snapping > mozilla-b2g:master I've refactored settings into a separate object (with unit testing), but I think the change is large enough to warrant re-review.
Attachment #8671895 - Flags: review+ → review?(gmarty)
Comment on attachment 8671895 [details] [review] [gaia] Cwiiis:bug1212905-new-homescreen-optional-scroll-snapping > mozilla-b2g:master Looks better. Having the settings details abstracted away makes everything more readable. r+ for the homescreen bit.
Attachment #8671895 - Flags: review?(gmarty) → review+
Comment on attachment 8671895 [details] [review] [gaia] Cwiiis:bug1212905-new-homescreen-optional-scroll-snapping > mozilla-b2g:master Looks good, please also update `build/config/common-settings.json` if there's a new settings key.
Attachment #8671895 - Flags: review?(gasolin)
Comment on attachment 8671895 [details] [review] [gaia] Cwiiis:bug1212905-new-homescreen-optional-scroll-snapping > mozilla-b2g:master There are no new settings keys added, the value that gets poked is a datastore value.
Attachment #8671895 - Flags: review?(gasolin)
Comment on attachment 8671895 [details] [review] [gaia] Cwiiis:bug1212905-new-homescreen-optional-scroll-snapping > mozilla-b2g:master then it looks fine to me
Attachment #8671895 - Flags: review?(gasolin) → review+
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Blocks: 1215967
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: