feat(block2): default relays + pick-from-list servers (works out of the box)
Feedback: the blank 'web address' field was unusable — nobody knows what to put, so the market never worked at first launch. - SocialSettings ships default public relays (nos.lol, relay.damus.io), applied automatically for new users so the market works day one. An explicitly empty choice still turns the network off (privacy). Exposure is minimal: offers are opt-in and carry only a coarse geohash. - Sharing setup now shows the servers as a short PICK-LIST (checkboxes, pre- selected) instead of a blank field; a community's own server goes under a small 'add another' escape hatch. Intro reworded — no need to know a community. - Tests updated (defaults) and pinned offline (setRelayUrls([])) so widget tests don't hit the network. 22 green, analyzer clean.
This commit is contained in:
parent
1a81db9bf0
commit
68b336ec93
12 changed files with 131 additions and 66 deletions
|
|
@ -1093,8 +1093,8 @@ class Translations$market$en {
|
|||
/// en: 'Sharing setup'
|
||||
String get configTitle => 'Sharing setup';
|
||||
|
||||
/// en: 'Sharing with people nearby is optional. To turn it on, set your rough area and join a community you trust — a seed network or collective that runs a shared meeting point for passing messages. No company in the middle.'
|
||||
String get setupIntro => 'Sharing with people nearby is optional. To turn it on, set your rough area and join a community you trust — a seed network or collective that runs a shared meeting point for passing messages. No company in the middle.';
|
||||
/// en: 'Sharing with people nearby is optional. Just set your rough area — you're already connected to shared community servers so people can find what you offer, with no company in the middle. You can change the servers below.'
|
||||
String get setupIntro => 'Sharing with people nearby is optional. Just set your rough area — you\'re already connected to shared community servers so people can find what you offer, with no company in the middle. You can change the servers below.';
|
||||
|
||||
/// en: 'Your area'
|
||||
String get areaLabel => 'Your area';
|
||||
|
|
@ -1102,14 +1102,14 @@ class Translations$market$en {
|
|||
/// en: 'Kept rough on purpose — your zone, never an exact spot.'
|
||||
String get areaHelp => 'Kept rough on purpose — your zone, never an exact spot.';
|
||||
|
||||
/// en: 'Join a community (advanced)'
|
||||
String get serversAdvanced => 'Join a community (advanced)';
|
||||
/// en: 'Community servers'
|
||||
String get serversLabel => 'Community servers';
|
||||
|
||||
/// en: 'Your seed network or collective gives you a web address to connect to. Paste one per line. Leave empty if you don't have one yet.'
|
||||
String get serversHelp => 'Your seed network or collective gives you a web address to connect to. Paste one per line. Leave empty if you don\'t have one yet.';
|
||||
/// en: 'Pick one or more shared servers. Anyone can use them — or add your own community's below.'
|
||||
String get serversHelp => 'Pick one or more shared servers. Anyone can use them — or add your own community\'s below.';
|
||||
|
||||
/// en: 'Web address'
|
||||
String get serversLabel => 'Web address';
|
||||
/// en: 'Add another server'
|
||||
String get serversAdvanced => 'Add another server';
|
||||
|
||||
/// en: 'Save'
|
||||
String get save => 'Save';
|
||||
|
|
@ -1947,12 +1947,12 @@ extension on Translations {
|
|||
'market.near' => 'Near you',
|
||||
'market.contact' => 'Message',
|
||||
'market.configTitle' => 'Sharing setup',
|
||||
'market.setupIntro' => 'Sharing with people nearby is optional. To turn it on, set your rough area and join a community you trust — a seed network or collective that runs a shared meeting point for passing messages. No company in the middle.',
|
||||
'market.setupIntro' => 'Sharing with people nearby is optional. Just set your rough area — you\'re already connected to shared community servers so people can find what you offer, with no company in the middle. You can change the servers below.',
|
||||
'market.areaLabel' => 'Your area',
|
||||
'market.areaHelp' => 'Kept rough on purpose — your zone, never an exact spot.',
|
||||
'market.serversAdvanced' => 'Join a community (advanced)',
|
||||
'market.serversHelp' => 'Your seed network or collective gives you a web address to connect to. Paste one per line. Leave empty if you don\'t have one yet.',
|
||||
'market.serversLabel' => 'Web address',
|
||||
'market.serversLabel' => 'Community servers',
|
||||
'market.serversHelp' => 'Pick one or more shared servers. Anyone can use them — or add your own community\'s below.',
|
||||
'market.serversAdvanced' => 'Add another server',
|
||||
'market.save' => 'Save',
|
||||
'market.saved' => 'Saved',
|
||||
'market.wanted' => 'Wanted',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue