Bluesky app fork with some witchin' additions 💫

fix: 4 different things (website field limits, login label, and styling x2)

website character limit, dialog box rounded corners, drafts list bg color, and PDS detection label claiming email support

xan.lol a6a3a585 76951fb2

verified
+9 -10
+4 -1
src/components/Prompt.tsx
··· 3 import {msg} from '@lingui/macro' 4 import {useLingui} from '@lingui/react' 5 6 import {atoms as a, useTheme, type ViewStyleProp, web} from '#/alf' 7 import {Button, type ButtonColor, ButtonText} from '#/components/Button' 8 import * as Dialog from '#/components/Dialog' ··· 44 [titleId, descriptionId], 45 ) 46 47 return ( 48 <Dialog.Outer 49 control={control} ··· 55 <Dialog.ScrollableInner 56 accessibilityLabelledBy={titleId} 57 accessibilityDescribedBy={descriptionId} 58 - style={web([{maxWidth: 320, borderRadius: 36}])}> 59 {children} 60 </Dialog.ScrollableInner> 61 </Context.Provider>
··· 3 import {msg} from '@lingui/macro' 4 import {useLingui} from '@lingui/react' 5 6 + import {useEnableSquareButtons} from '#/state/preferences/enable-square-buttons' 7 import {atoms as a, useTheme, type ViewStyleProp, web} from '#/alf' 8 import {Button, type ButtonColor, ButtonText} from '#/components/Button' 9 import * as Dialog from '#/components/Dialog' ··· 45 [titleId, descriptionId], 46 ) 47 48 + const enableSquareButtons = useEnableSquareButtons() 49 + 50 return ( 51 <Dialog.Outer 52 control={control} ··· 58 <Dialog.ScrollableInner 59 accessibilityLabelledBy={titleId} 60 accessibilityDescribedBy={descriptionId} 61 + style={web([{maxWidth: 320, borderRadius: enableSquareButtons ? 18 : 36}])}> 62 {children} 63 </Dialog.ScrollableInner> 64 </Context.Provider>
+4 -1
src/screens/Login/LoginForm.tsx
··· 215 <TextField.Input 216 testID="loginUsernameInput" 217 inputRef={identifierRef} 218 - label={_(msg`Username or email address`)} 219 autoCapitalize="none" 220 autoFocus={!IS_IOS} 221 autoCorrect={false}
··· 215 <TextField.Input 216 testID="loginUsernameInput" 217 inputRef={identifierRef} 218 + label={ 219 + serviceUrl === undefined ? _(msg`Username (full handle)`) : 220 + _(msg`Username or email address`) 221 + } 222 autoCapitalize="none" 223 autoFocus={!IS_IOS} 224 autoCorrect={false}
+1 -1
src/screens/Profile/Header/EditProfileDialog.tsx
··· 33 34 const DISPLAY_NAME_MAX_GRAPHEMES = 64 35 const PRONOUNS_MAX_GRAPHEMES = 20 36 - const WEBSITE_MAX_GRAPHEMES = 28 37 const DESCRIPTION_MAX_GRAPHEMES = 256 38 39 export function EditProfileDialog({
··· 33 34 const DISPLAY_NAME_MAX_GRAPHEMES = 64 35 const PRONOUNS_MAX_GRAPHEMES = 20 36 + const WEBSITE_MAX_GRAPHEMES = 2048 37 const DESCRIPTION_MAX_GRAPHEMES = 256 38 39 export function EditProfileDialog({
-7
src/view/com/composer/drafts/DraftsListDialog.tsx
··· 176 style={[ 177 a.px_0, 178 web({minHeight: 500}), 179 - { 180 - backgroundColor: select(t.name, { 181 - light: t.palette.contrast_50, 182 - dark: t.palette.contrast_0, 183 - dim: '#000000', 184 - }), 185 - }, 186 ]} 187 webInnerContentContainerStyle={[a.py_0]} 188 contentContainerStyle={[a.pb_xl]}
··· 176 style={[ 177 a.px_0, 178 web({minHeight: 500}), 179 ]} 180 webInnerContentContainerStyle={[a.py_0]} 181 contentContainerStyle={[a.pb_xl]}