Mirror — see github.com/blacksky-algorithms/blacksky.community
6
fork

Configure Feed

Select the types of activity you want to include in your feed.

Fix account provider branding and handle domain on PDS switch

- Replace "Bluesky" with "Blacksky" in the account provider dialog
- Reset userDomain when switching PDS so the handle domain updates
from the new PDS's describeServer response instead of staying stuck
on the previous PDS's domain

+7 -6
+5 -5
src/components/dialogs/ServerInput.tsx
··· 144 144 <SegmentedControl.Item 145 145 testID="bskyServiceSelectBtn" 146 146 value={BSKY_SERVICE} 147 - label={_(msg`Bluesky`)}> 147 + label={_(msg`Blacksky`)}> 148 148 <SegmentedControl.ItemText> 149 - {_(msg`Bluesky`)} 149 + {_(msg`Blacksky`)} 150 150 </SegmentedControl.ItemText> 151 151 </SegmentedControl.Item> 152 152 <SegmentedControl.Item ··· 163 163 <View role="tabpanel"> 164 164 <Admonition type="tip"> 165 165 <Trans> 166 - Bluesky is an open network where you can choose your own 166 + Blacksky is an open network where you can choose your own 167 167 provider. If you're new here, we recommend sticking with the 168 - default Bluesky Social option. 168 + default Blacksky option. 169 169 </Trans> 170 170 </Admonition> 171 171 </View> ··· 215 215 </Trans> 216 216 ) : ( 217 217 <Trans> 218 - Bluesky is an open network where you can choose your hosting 218 + Blacksky is an open network where you can choose your hosting 219 219 provider. If you're a developer, you can host your own server. 220 220 </Trans> 221 221 )}{' '}
+2 -1
src/screens/Signup/state.ts
··· 160 160 } 161 161 case 'setServiceUrl': { 162 162 next.serviceUrl = a.value 163 + next.userDomain = '' 163 164 break 164 165 } 165 166 case 'setServiceDescription': { 166 167 LayoutAnimation.configureNext(LayoutAnimation.Presets.easeInEaseOut) 167 168 168 169 next.serviceDescription = a.value 169 - if (!next.userDomain && a.value?.availableUserDomains?.[0]) { 170 + if (a.value?.availableUserDomains?.[0]) { 170 171 next.userDomain = a.value.availableUserDomains[0] 171 172 } 172 173 next.isLoading = false