damus icon indicating copy to clipboard operation
damus copied to clipboard

Relay Sets

Open alltheseas opened this issue 2 years ago • 7 comments

User Story

As an advanced Damus user who wants to change their perspective, I want to change my "view" of the network by changing relay sets, so that I can gain a different view of the network.

Acceptance Criteria

  1. User can create relay sets - i.e. groups of relays on relays page
  2. User can save relay sets on relays page
  3. User can toggle between various relay sets on timeline view
  4. User can only broadcast to, or receive notes from users on the selected relay set.

See https://github.com/damus-io/damus/pull/289 (filter view), and https://github.com/damus-io/damus/pull/525 (broadcast filter)

Mock of 3:

Perspective

https://damus.io/note1a90n4a8nctg8sceffks0ra5vy56rl8rgt5lxxujtrxyvwp3aercsjulh33 https://damus.io/note1qtcgncm73srs5sy3yd9acshxl7j7kv4knwpqez8ev02q5wd9sjfq6v7wzl

User Feedback "That is a really good idea.." -2140btc npub1z9jlzhlyfantd5regur6jws25pxhkhwg73u9vvxyes0k9t3aq2jqqef0n0 https://damus.io/note1nxuguhx5cxgd25qk9wlv0wnr4lwhwtpjxpdk2d7knvhfaacckgms03vuvs

"seconded 👍 " -Allen, a squirrel npub1sfhflz2msx45rfzjyf5tyj0x35pv4qtq3hh4v2jf8nhrtl79cavsl2ymqt https://damus.io/note1pqxgg8zaha3xymaclrkc02zlxcl899c7l99ke52d9shedj93kwcqy72q2f

alltheseas avatar Jan 31 '23 20:01 alltheseas

Adding three different mock relay set view examples per suggestion from @devandsev / #525.

A: Nostrica private conference relay set / view B: Private private relay set / view C: Global / pubic relay set / view

Nostrica Relay Set

Perspective Nostrica (2)

Private Friends Relay Set

Perspective Friends (2)

Global Relay Set

Perspective Global

alltheseas avatar Feb 06 '23 05:02 alltheseas

I may misunderstood the user story https://github.com/damus-io/damus/pull/525#issuecomment-1418473808. Mocks imply that you can be connected only to a one relay set at a time. I think it would be nice to let users connect to multiple relay sets. If we want to display relay set icons, we can present them as a stack ( ))).

devandsev avatar Feb 06 '23 05:02 devandsev

I may misunderstood the user story #525 (comment). Mocks imply that you can be connected only to a one relay set at a time. I think it would be nice to let users connect to multiple relay sets. If we want to display relay set icons, we can present them as a stack ( ))).

My fault for not describing it more clearly. I documented the original proposed user story from #525.

After merging the three related tickets, my thinking is that if you are on relay set A, you only see notes from & broadcast notes to relay A.

Above may be a naive assumption, and warrants UX review from folk more knowledgeable than me. What are your thoughts @tyiu @elidyweaver @jb55 ?

alltheseas avatar Feb 06 '23 06:02 alltheseas

This is how @vitorpamplona is implementing relay sets on Amethyst:

Amethyst: Amethyst 0.13.1: Relay sets. 

Now you can choose which relay is used in each feed: home, private DMs, public chats and Global feed. 

Want to avoid spam? Set the global feed to paid relays only. 

This is also an early version. Bugs are expected. 

Download https://github.com/vitorpamplona/amethyst/releases/download/v0.13.1/app-release-v0.13.1.apk

https://damus.io/note1a9cf7e4j30vrh9cls6dnzxyaatan3a87n6df0gtl9cf3qrnsdddqwmjnr8

alltheseas avatar Feb 06 '23 06:02 alltheseas

higher fidelity design via @karnagebitcoin

https://damus.io/nevent1qqs8atsyrj9x9zxuvqe55w5khr6r68n06ccyseer2udsamjfcl7ctyqk7wdqf

alltheseas avatar Apr 25 '24 13:04 alltheseas

higher fidelity design via @karnagebitcoin

https://damus.io/nevent1qqs8atsyrj9x9zxuvqe55w5khr6r68n06ccyseer2udsamjfcl7ctyqk7wdqf

I like the right hand placement better (yours). It makes more sense being next to relay count display and nothing else has to move. Prob just slide it in from the right instead as long as it's smooth (need to test)

karnagebitcoin avatar Apr 25 '24 13:04 karnagebitcoin

https://damus.io/nevent1qqsyckcj8l5pzv65au8unymq2c4c4m3t6svx2hwxzs5pguqtx7f2fxcj98pmd

Customer request

Would be awesome if damus had the global relay management feature but for my home feed.

alltheseas avatar May 10 '24 21:05 alltheseas