Bluesky app fork with some witchin' additions 💫

update trusted verifiers and move them to new popup ui

Changed files
+51 -12
src
screens
Settings
state
persisted
+38 -10
src/screens/Settings/DeerSettings.tsx
··· 153 153 ) 154 154 } 155 155 156 + function TrustedVerifiersDialog({ 157 + control, 158 + }: { 159 + control: Dialog.DialogControlProps 160 + }) { 161 + const {_} = useLingui() 162 + 163 + return ( 164 + <Dialog.Outer control={control} nativeOptions={{preventExpansion: true}}> 165 + <Dialog.Handle /> 166 + <Dialog.ScrollableInner label={_(msg`Trusted Verifiers`)}> 167 + <View style={[a.gap_sm, a.pb_lg]}> 168 + <Text style={[a.text_2xl, a.font_bold]}> 169 + <Trans>Trusted Verifiers</Trans> 170 + </Text> 171 + </View> 172 + 173 + <TrustedVerifiers /> 174 + 175 + <Dialog.Close /> 176 + </Dialog.ScrollableInner> 177 + </Dialog.Outer> 178 + ) 179 + } 180 + 156 181 const TrustedVerifiers = (): React.ReactNode => { 157 182 const trusted = useDeerVerificationTrusted() 158 183 const moderationOpts = useModerationOpts() ··· 205 230 206 231 const constellationInstance = useConstellationInstance() 207 232 const setConstellationInstanceControl = Dialog.useDialogControl() 233 + 234 + const setTrustedVerifiersDialogControl = Dialog.useDialogControl() 208 235 209 236 const deerVerificationEnabled = useDeerVerificationEnabled() 210 237 const setDeerVerificationEnabled = useSetDeerVerificationEnabled() ··· 331 358 </Admonition> 332 359 </SettingsList.Item> 333 360 334 - <TrustedVerifiers /> 361 + <SettingsList.Item> 362 + <SettingsList.ItemIcon icon={VerifiedIcon} /> 363 + <SettingsList.ItemText> 364 + <Trans>{`Trusted Verifiers`}</Trans> 365 + </SettingsList.ItemText> 366 + <SettingsList.BadgeButton 367 + label={_(msg`View`)} 368 + onPress={() => setTrustedVerifiersDialogControl.open()} 369 + /> 370 + </SettingsList.Item> 335 371 336 372 <SettingsList.Item> 337 373 <SettingsList.ItemIcon icon={StarIcon} /> ··· 349 385 Constellation is used to supplement AppView responses for custom 350 386 verifications and nuclear block bypass, via backlinks. Current 351 387 instance: {constellationInstance} 352 - </Trans> 353 - </Admonition> 354 - </SettingsList.Item> 355 - 356 - <SettingsList.Item> 357 - <Admonition type="info" style={[a.flex_1]}> 358 - <Trans> 359 - Geolocation country code informs required regional app labelers 360 - and currency behavior. 361 388 </Trans> 362 389 </Admonition> 363 390 </SettingsList.Item> ··· 521 548 </SettingsList.Container> 522 549 </Layout.Content> 523 550 <ConstellationInstanceDialog control={setConstellationInstanceControl} /> 551 + <TrustedVerifiersDialog control={setTrustedVerifiersDialogControl} /> 524 552 </Layout.Screen> 525 553 ) 526 554 }
+13 -2
src/state/persisted/schema.ts
··· 207 207 deerVerification: { 208 208 enabled: false, 209 209 // https://social.daniela.lol/profile/did:plc:p2cp5gopk7mgjegy6wadk3ep/post/3lndyqyyr4k2k 210 + // using https://bverified.vercel.app/ as a source 210 211 trusted: [ 211 212 'did:plc:z72i7hdynmk6r22z27h6tvur', 213 + 'did:plc:b2kutgxqlltwc6lhs724cfwr', 214 + 'did:plc:inz4fkbbp7ms3ixufw6xuvdi', 212 215 'did:plc:eclio37ymobqex2ncko63h4r', 213 - 'did:plc:inz4fkbbp7ms3ixufw6xuvdi', 214 - 'did:plc:b2kutgxqlltwc6lhs724cfwr', 216 + 'did:plc:dzezcmpb3fhcpns4n4xm4ur5', 217 + 'did:plc:5u54z2qgkq43dh2nzwzdbbhb', 218 + 'did:plc:wmho6q2uiyktkam3jsvrms3s', 219 + 'did:plc:sqbswn3lalcc2dlh2k7zdpuw', 220 + 'did:plc:k5nskatzhyxersjilvtnz4lh', 221 + 'did:plc:d2jith367s6ybc3ldsusgdae', 222 + 'did:plc:y3xrmnwvkvsq4tqcsgwch4na', 223 + 'did:plc:i3fhjvvkbmirhyu4aeihhrnv', 224 + 'did:plc:fivojrvylkim4nuo3pfqcf3k', 225 + 'did:plc:ofbkqcjzvm6gtwuufsubnkaf', 215 226 ], 216 227 }, 217 228 highQualityImages: false,