Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

low data mode / poor connectivity #195

Open
alltheseas opened this issue Apr 3, 2024 · 5 comments
Open

low data mode / poor connectivity #195

alltheseas opened this issue Apr 3, 2024 · 5 comments
Labels
android Android-specific issues data Bandwidth usage, low-data mode, etc enhancement New feature or request

Comments

@alltheseas
Copy link
Contributor

alltheseas commented Apr 3, 2024

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

  1. In settings Damus user can set low data mode on or off
  2. Damus automagically detects when Damus is not on wi-fi, and reduces data demands
  3. User can clearly see that Damus is performing in low data mode
  4. in low data mode:
    -damus does not auto-load new images
    -damus does not auto-load new videos
    -damus does not auto-load new link previews (does this use significant data?)
    -damus does not load new profile banners
    -damus does not load new pfps
  5. In or near main view Damus user can set low data mode on or off

questions

-design: does the new note / feed 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?

@alltheseas alltheseas added the enhancement New feature or request label Apr 3, 2024
@alltheseas
Copy link
Contributor Author

Motivation

https://damus.io/nevent1qqstyawjmaq28w6xer3j84w09pna55vymsfna8wcjnc3tuz908a4qyspp4mhxue69uhkummn9ekx7mqpz4mhxue69uhk2er9dchxummnw3ezumrpdejqz8thwden5te0dehhxarj94c82c3wwajkcmr0wfjx2u3wdejhgqgcwaehxw309aex2mrp0yh8xmn0wf6zuum0vd5kzmqj6a4e7

The Islamic regime in Iran inflicts hardship on us every day. The internet is filtered, so we are forced to access #Nostr and other websites and social media using VPN. Additionally, the internet is so slow that sometimes we have to wait for many minutes and hours each day to receive a connection. We strongly hate them.

@alltheseas
Copy link
Contributor Author

@alltheseas alltheseas transferred this issue from another repository Jul 22, 2024
@alltheseas alltheseas added the data Bandwidth usage, low-data mode, etc label Jul 25, 2024
@alltheseas alltheseas added the android Android-specific issues label Jul 25, 2024
@alltheseas
Copy link
Contributor Author

Adding new 'data' label, and tagging with 'android' as this is particularly important to mobile users

@alltheseas alltheseas moved this to Planned in Damus Roadmap 🛣️ Jul 25, 2024
@alltheseas
Copy link
Contributor Author

context
Android users not on unlimited Wi-Fi or network connection, have requested a "lite", or economical data mode.

Things that could reduce bandwidth:

-no images pre-loaded
-no PFP pre-loaded
-somehow reduce note, profile loading
-reduce relay queries/increase relay query efficiency

Realized that mutiny blastr relay will be the most data economical outbound relay with the most reach

wss://nostr.mutinywallet.com

@alltheseas
Copy link
Contributor Author

If low data mode is on/there is poor connectivity, it becomes more important to communicate this to the damus user.

For instance instead of a no context loading spinner, consider:
-Loading: X notes remaining
-Loading: Y kb of notes remaining
-Loading: Z seconds remaining
-A progress bar

@alltheseas alltheseas changed the title low data mode low data mode / poor connectivity Jan 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
android Android-specific issues data Bandwidth usage, low-data mode, etc enhancement New feature or request
Projects
Status: Planned
Development

No branches or pull requests

1 participant