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

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