damus
damus copied to clipboard
Low data / cellular mode [325,000 sats]
User Story
As a Damus pleb who uses app on the go (cellular), I want to have a setting where I can turn down Damus data needs (data saver mode), so that I don't surpass my celullar carrier's data throttling threshold, AND so that my events post thereby avoiding poor Damus experience(s).
Acceptance Criteria
- ~In settings~ Damus user can set cellular mode on
- By setting cellular mode, Damus automagically detects when Damus is not on wi-fi, and reduces data demands
- This setting is turned on automatically, if it detects low data mode on iOS (see iOS reference https://support.apple.com/en-us/HT210596)
- User can clearly see that Damus is performing in low data mode
- in low data mode: -damus does not auto-load new images (related to settings -> appearance -> media previews setting) -damus does not auto-load new videos (related to settings -> appearance -> media previews setting) -damus does not auto-load new link previews (does this use significant data?) -damues does not load new profile banners -damus does not load new pfps
questions
-does the refresh mechanism change in low data mode -design: @robagreda what does "low data mode" status look like? how might we display low data mode to the user when it is on? should low data mode icon be displayed all the time? -design: @robagreda how might we allow user to change low data mode setting (when not on wi-fi) without having to send user deep in the settings menus? -design: does user have a mechanism to manually load an image as a one off, video while in low data mode?
https://github.com/damus-io/damus/issues/645 https://github.com/damus-io/damus/pull/965 would reduce bandwidth requirements
https://stackoverflow.com/questions/2593971/iphone-simulator-simulate-a-slow-connection
https://download.developer.apple.com/Developer_Tools/Additional_Tools_for_Xcode_14.3_Release_Candidate/Additional_Tools_for_Xcode_14.3_Release_Candidate.dmg
https://damus.io/note1gcet9qd9mrltp3d7k7ctwrrgh0anqglx82wmgycdcdpyhylp7avs8ujs34
Negentropy by @jb55 should reduce data consumption
Related: disable image loading
https://github.com/damus-io/damus/issues/667
Bounty posted by Tetsu, Dan Wege: 100k sats
https://damus.io/note1uygs4fzg6dtrff326stk9thfec5meqx63f6v03qpv6axtsara7js2vwx24
@robagreda your design magic is requested, sir 👀
Bounty posted by Tetsu, Dan Wege: 100k sats
https://damus.io/note1uygs4fzg6dtrff326stk9thfec5meqx63f6v03qpv6axtsara7js2vwx24
225k sats
https://damus.io/note1aqg5qll3vu689j4568d22qgycysweanhhm7qcj9w9aaw9wrnyu8qwyg879
Maybe cuts your relays down, doesn't load follow numbers, doesn't load too many notes. You know just when you're out and about not in WiFi.
Consider Mutiny Booster relay / Bostr relay for potential data savings https://damus.io/note1myc2dk8ctzusv7hcgpjfyhp08k2uqt5sqg26f49f55qxzqfqqdlqv55l2w
Put me down for 100k sats. Does this need design or Rob got it?
Put me down for 100k sats. Does this need design or Rob got it?
Thanks! I'll share updated bounty to nostr shortly.
I couldn't find low data mode in https://www.figma.com/file/ORaT1T0Ywfbm0sIjwy5Rgq/Damus-iOS?type=design&node-id=0-1&mode=design&t=dj8r4gylEAEIZUzv-0
@robagreda lmk if I missed it.
I think Rob is out of pocket currently if you want to have a go @karnagebitcoin
We would apply the low data mode design to Damus Android, as Android users have less bandwidth.
Was planning to tackle all this in new year since I am still traveling so I have less availability for these tasks, didn't know it was a priority tho. You can check it out @karnagebitcoin :)
Was planning to tackle all this in new year since I am still traveling so I have less availability for these tasks, didn't know it was a priority tho. You can check it out @karnagebitcoin :)
We have quite a few things on iOS docket to implement. That said Android should be designed low data by default, and this I think will help inform the direction for devs before they get too far in implementation.
Thank you, and safe and fun travels and Merry Christmas @robagreda
We should have a way to measure how much data usage is coming from where. I think there may be lots of confusion as to what is using all the data. We can't fix what we can't measure.
We should have a way to measure how much data usage is coming from where. I think there may be lots of confusion as to what is using all the data. We can't fix what we can't measure.
https://github.com/damus-io/damus/issues/1838
Media uploads could be queued until Wi-Fi connection is detected.
Would be useful to understand media filter use impact on data
Tooltip from amazon video that provides data usage estimate, depending on settings.
Damus is hardly usable for me on a 3G simulator: 30 seconds to load some notes, notifications not loading one minute in
On Tue, Feb 20, 2024 at 02:57:30AM -0800, alltheseas wrote:
Damus is hardly usable for me on a 3G simulator: 30 seconds to load some notes, notifications not loading one minute in
I'm going to start using damus this way. This is a good idea.
Motivation:
https://github.com/damus-io/notedeck/issues/195