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