Bluesky app fork with some witchin' additions 💫

[v1.110] Release prep (#9399)

* yml formatting whatever

* fix date input color

* fix up report dialog tests

* dumb fix to bypass save password popup

* remove tooltip in e2e

* Update index.e2e.tsx

* skip gate in e2e

authored by samuel.fm and committed by

GitHub 7197a064 ef97a20c

+74 -29
+8 -2
__e2e__/flows/create-account.yml
··· 31 text: "Your account" 32 - tapOn: 33 id: "nextBtn" 34 - tapOn: 35 - text: "Not Now" 36 - optional: true 37 - inputText: "e2e-test" 38 - extendedWaitUntil: 39 visible:
··· 31 text: "Your account" 32 - tapOn: 33 id: "nextBtn" 34 + - waitForAnimationToEnd 35 - tapOn: 36 + # save password thing no longer seems to be in hierarchy 37 + # tap on something else instead 38 + point: 20%,20% 39 + repeat: 2 40 + delay: 1000 41 + - tapOn: 42 + id: "handleInput" 43 - inputText: "e2e-test" 44 - extendedWaitUntil: 45 visible:
+3 -3
__e2e__/flows/home-screen.yml
··· 3 - runScript: 4 file: ../setupServer.js 5 env: 6 - SERVER_PATH: ?users&follows&posts&feeds 7 - runFlow: 8 file: ../setupApp.yml 9 - tapOn: ··· 11 12 - extendedWaitUntil: 13 visible: 14 - text: "Feeds ✨" 15 - tapOn: 16 label: "Can go to feeds page using feeds button in tab bar" 17 text: "Feeds ✨" ··· 50 label: "Can delete posts" 51 id: "postDropdownBtn" 52 childOf: 53 - id: "feedItem-by-alice.test" 54 - tapOn: "Delete post" 55 - tapOn: "Delete"
··· 3 - runScript: 4 file: ../setupServer.js 5 env: 6 + SERVER_PATH: ?users&follows&posts&feeds 7 - runFlow: 8 file: ../setupApp.yml 9 - tapOn: ··· 11 12 - extendedWaitUntil: 13 visible: 14 + text: "Feeds ✨" 15 - tapOn: 16 label: "Can go to feeds page using feeds button in tab bar" 17 text: "Feeds ✨" ··· 50 label: "Can delete posts" 51 id: "postDropdownBtn" 52 childOf: 53 + id: "feedItem-by-alice.test" 54 - tapOn: "Delete post" 55 - tapOn: "Delete"
+2 -1
__e2e__/flows/post-report-flow.yml
··· 17 index: 0 18 - tapOn: 19 id: "postDropdownReportBtn" 20 - - tapOn: "Create report for Misleading Post" 21 - tapOn: "Send report to Dev-env Moderation" 22 - tapOn: 23 point: "50%,90%"
··· 17 index: 0 18 - tapOn: 19 id: "postDropdownReportBtn" 20 + - tapOn: "Create report for Misleading" 21 + - tapOn: "Create report for Spam" 22 - tapOn: "Send report to Dev-env Moderation" 23 - tapOn: 24 point: "50%,90%"
+5 -3
__e2e__/flows/report-dialog/account.default.yml
··· 3 - runScript: 4 file: ../../setupServer.js 5 env: 6 - SERVER_PATH: ?users&follows&posts&feeds 7 - runFlow: 8 file: ../../setupApp.yml 9 - tapOn: ··· 15 - tapOn: 16 id: "profileHeaderDropdownReportBtn" 17 - tapOn: 18 - id: "report:option:com.atproto.moderation.defs#reasonSpam" 19 - assertVisible: 20 - id: "report:labeler:mod-authority.test" 21 - tapOn: 22 id: "report:submit" 23 - assertNotVisible:
··· 3 - runScript: 4 file: ../../setupServer.js 5 env: 6 + SERVER_PATH: ?users&follows&posts&feeds 7 - runFlow: 8 file: ../../setupApp.yml 9 - tapOn: ··· 15 - tapOn: 16 id: "profileHeaderDropdownReportBtn" 17 - tapOn: 18 + id: "report:category:Misleading" 19 + - tapOn: 20 + id: "report:option:Spam" 21 - assertVisible: 22 + text: "Send report to Dev-env Moderation" 23 - tapOn: 24 id: "report:submit" 25 - assertNotVisible:
+5 -3
__e2e__/flows/report-dialog/post.default.yml
··· 3 - runScript: 4 file: ../../setupServer.js 5 env: 6 - SERVER_PATH: ?users&follows&posts&feeds 7 - runFlow: 8 file: ../../setupApp.yml 9 - tapOn: ··· 15 - tapOn: 16 id: "postDropdownReportBtn" 17 - tapOn: 18 - id: "report:option:com.atproto.moderation.defs#reasonSpam" 19 - assertVisible: 20 - id: "report:labeler:mod-authority.test" 21 - tapOn: 22 id: "report:submit" 23 - assertNotVisible:
··· 3 - runScript: 4 file: ../../setupServer.js 5 env: 6 + SERVER_PATH: ?users&follows&posts&feeds 7 - runFlow: 8 file: ../../setupApp.yml 9 - tapOn: ··· 15 - tapOn: 16 id: "postDropdownReportBtn" 17 - tapOn: 18 + id: "report:category:Misleading" 19 + - tapOn: 20 + id: "report:option:Spam" 21 - assertVisible: 22 + text: "Send report to Dev-env Moderation" 23 - tapOn: 24 id: "report:submit" 25 - assertNotVisible:
+14 -6
__e2e__/flows/report-dialog/post.edit-reason.yml
··· 3 - runScript: 4 file: ../../setupServer.js 5 env: 6 - SERVER_PATH: ?users&follows&posts&feeds 7 - runFlow: 8 file: ../../setupApp.yml 9 - tapOn: ··· 15 - tapOn: 16 id: "postDropdownReportBtn" 17 - tapOn: 18 - id: "report:option:com.atproto.moderation.defs#reasonOther" 19 - assertVisible: 20 - id: "report:labeler:mod-authority.test" 21 # reason "other" defaults with details open 22 - assertVisible: 23 id: "report:details" 24 - tapOn: 25 - id: "report:clearOption" 26 - assertNotVisible: 27 id: "report:details" 28 - tapOn: 29 - id: "report:option:com.atproto.moderation.defs#reasonSpam" 30 - assertVisible: 31 - id: "report:labeler:mod-authority.test" 32 - tapOn: 33 id: "report:submit" 34 - assertNotVisible:
··· 3 - runScript: 4 file: ../../setupServer.js 5 env: 6 + SERVER_PATH: ?users&follows&posts&feeds 7 - runFlow: 8 file: ../../setupApp.yml 9 - tapOn: ··· 15 - tapOn: 16 id: "postDropdownReportBtn" 17 - tapOn: 18 + id: "report:category:Misleading" 19 + - tapOn: 20 + id: "report:option:Other misleading content" 21 - assertVisible: 22 + text: Your report will be sent to Dev-env Moderation.* 23 # reason "other" defaults with details open 24 - assertVisible: 25 id: "report:details" 26 - tapOn: 27 + id: "report:clearReportOption" 28 - assertNotVisible: 29 id: "report:details" 30 - tapOn: 31 + id: "report:clearCategory" 32 + - assertNotVisible: 33 + id: "report:option:Other misleading content" 34 + - tapOn: 35 + id: "report:category:Misleading" 36 + - tapOn: 37 + id: "report:option:Spam" 38 - assertVisible: 39 + text: Your report will be sent to Dev-env Moderation.* 40 - tapOn: 41 id: "report:submit" 42 - assertNotVisible:
+5 -3
__e2e__/flows/report-dialog/post.reason-other.yml
··· 3 - runScript: 4 file: ../../setupServer.js 5 env: 6 - SERVER_PATH: ?users&follows&posts&feeds 7 - runFlow: 8 file: ../../setupApp.yml 9 - tapOn: ··· 15 - tapOn: 16 id: "postDropdownReportBtn" 17 - tapOn: 18 - id: "report:option:com.atproto.moderation.defs#reasonOther" 19 - assertVisible: 20 - id: "report:labeler:mod-authority.test" 21 # reason "other" defaults with details open 22 - assertVisible: 23 id: "report:details"
··· 3 - runScript: 4 file: ../../setupServer.js 5 env: 6 + SERVER_PATH: ?users&follows&posts&feeds 7 - runFlow: 8 file: ../../setupApp.yml 9 - tapOn: ··· 15 - tapOn: 16 id: "postDropdownReportBtn" 17 - tapOn: 18 + id: "report:category:Misleading" 19 + - tapOn: 20 + id: "report:option:Other misleading content" 21 - assertVisible: 22 + text: "Send report to Dev-env Moderation" 23 # reason "other" defaults with details open 24 - assertVisible: 25 id: "report:details"
+1 -2
__e2e__/perf-test.yml
··· 1 - 2 # flow.yaml 3 4 appId: xyz.blueskyweb.app ··· 33 direction: "LEFT" 34 - swipe: 35 direction: "LEFT" 36 - - swipe: 37 direction: "LEFT" 38 - swipe: 39 direction: "RIGHT"
··· 1 # flow.yaml 2 3 appId: xyz.blueskyweb.app ··· 32 direction: "LEFT" 33 - swipe: 34 direction: "LEFT" 35 + - swipe: 36 direction: "LEFT" 37 - swipe: 38 direction: "RIGHT"
+19
src/components/Tooltip/index.e2e.tsx
···
··· 1 + export function SheetCompatProvider({children}: {children: React.ReactNode}) { 2 + return children 3 + } 4 + 5 + export function Outer({children}: {children: React.ReactNode}) { 6 + return children 7 + } 8 + 9 + export function Target({children}: {children: React.ReactNode}) { 10 + return children 11 + } 12 + 13 + export function Content() { 14 + return null 15 + } 16 + 17 + export function TextBubble() { 18 + return null 19 + }
+2 -2
src/components/forms/DateField/index.shared.tsx
··· 73 a.flex_row, 74 a.flex_1, 75 a.w_full, 76 - a.rounded_sm, 77 - t.atoms.bg_contrast_25, 78 a.align_center, 79 hovered ? chromeHover : {}, 80 focused || pressed ? chromeFocus : {},
··· 73 a.flex_row, 74 a.flex_1, 75 a.w_full, 76 + {borderRadius: 10}, 77 + t.atoms.bg_contrast_50, 78 a.align_center, 79 hovered ? chromeHover : {}, 80 focused || pressed ? chromeFocus : {},
+1 -1
src/components/forms/TextField.tsx
··· 266 a.z_10, 267 a.absolute, 268 a.inset_0, 269 - a.rounded_sm, 270 t.atoms.bg_contrast_50, 271 {borderColor: 'transparent', borderWidth: 2}, 272 ctx.hovered ? chromeHover : {},
··· 266 a.z_10, 267 a.absolute, 268 a.inset_0, 269 + {borderRadius: 10}, 270 t.atoms.bg_contrast_50, 271 {borderColor: 'transparent', borderWidth: 2}, 272 ctx.hovered ? chromeHover : {},
+1 -1
src/components/moderation/ReportDialog/index.tsx
··· 685 }, [onSelect, option]) 686 return ( 687 <Button 688 - testID={`report:option:${option.title}`} 689 label={_(msg`Create report for ${option.title}`)} 690 onPress={onPress} 691 disabled={!onSelect}>
··· 685 }, [onSelect, option]) 686 return ( 687 <Button 688 + testID={`report:category:${option.title}`} 689 label={_(msg`Create report for ${option.title}`)} 690 onPress={onPress} 691 disabled={!onSelect}>
+6 -1
src/env/common.ts
··· 13 /** 14 * The env the app is running in e.g. development, testflight, production, e2e 15 */ 16 - export const ENV: string = process.env.EXPO_PUBLIC_ENV 17 18 /** 19 * Indicates whether the app is running in TestFlight
··· 13 /** 14 * The env the app is running in e.g. development, testflight, production, e2e 15 */ 16 + export const ENV: string = process.env.EXPO_PUBLIC_ENV as 17 + | 'production' 18 + | 'testflight' 19 + | 'development' 20 + | 'e2e' 21 + | (string & {}) 22 23 /** 24 * Indicates whether the app is running in TestFlight
+2 -1
src/view/com/posts/PostFeedItem.tsx
··· 50 import {DiscoverDebug} from '#/components/PostControls/DiscoverDebug' 51 import {RichText} from '#/components/RichText' 52 import {SubtleHover} from '#/components/SubtleHover' 53 import * as bsky from '#/types/bsky' 54 import {PostFeedReason} from './PostFeedReason' 55 ··· 181 feedContext, 182 reqId, 183 }) 184 - if (gate('feed_reply_button_open_thread')) { 185 navigation.navigate('PostThread', { 186 name: post.author.did, 187 rkey,
··· 50 import {DiscoverDebug} from '#/components/PostControls/DiscoverDebug' 51 import {RichText} from '#/components/RichText' 52 import {SubtleHover} from '#/components/SubtleHover' 53 + import {ENV} from '#/env' 54 import * as bsky from '#/types/bsky' 55 import {PostFeedReason} from './PostFeedReason' 56 ··· 182 feedContext, 183 reqId, 184 }) 185 + if (gate('feed_reply_button_open_thread') && ENV !== 'e2e') { 186 navigation.navigate('PostThread', { 187 name: post.author.did, 188 rkey,