damus
damus copied to clipboard
Relay Sets
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
- User can create relay sets - i.e. groups of relays on relays page
- User can save relay sets on relays page
- User can toggle between various relay sets on timeline view
- 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:
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
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
Private Friends Relay Set
Global Relay Set
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 ( )))
.
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 ?
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
higher fidelity design via @karnagebitcoin
https://damus.io/nevent1qqs8atsyrj9x9zxuvqe55w5khr6r68n06ccyseer2udsamjfcl7ctyqk7wdqf
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)
https://damus.io/nevent1qqsyckcj8l5pzv65au8unymq2c4c4m3t6svx2hwxzs5pguqtx7f2fxcj98pmd
Customer request
Would be awesome if damus had the global relay management feature but for my home feed.