Loading...
Loading...
Compare original and translation side by side
surveyVersionRequirements.tssurveyVersionRequirements.tsls$POSTHOG_JS_PATH$POSTHOG_IOS_PATH$POSTHOG_ANDROID_PATH$POSTHOG_FLUTTER_PATH.claude/settings.local.json{
"env": {
"POSTHOG_JS_PATH": "/path/to/posthog-js",
"POSTHOG_IOS_PATH": "/path/to/posthog-ios",
"POSTHOG_ANDROID_PATH": "/path/to/posthog-android",
"POSTHOG_FLUTTER_PATH": "/path/to/posthog-flutter"
},
"permissions": {
"allow": [
"Read(/path/to/posthog-js/**)",
"Read(/path/to/posthog-ios/**)",
"Read(/path/to/posthog-android/**)",
"Read(/path/to/posthog-flutter/**)",
"Grep(/path/to/posthog-js/**)",
"Grep(/path/to/posthog-ios/**)",
"Grep(/path/to/posthog-android/**)",
"Grep(/path/to/posthog-flutter/**)"
]
}
}ReadGrepls$POSTHOG_JS_PATH$POSTHOG_IOS_PATH$POSTHOG_ANDROID_PATH$POSTHOG_FLUTTER_PATH.claude/settings.local.json{
"env": {
"POSTHOG_JS_PATH": "/path/to/posthog-js",
"POSTHOG_IOS_PATH": "/path/to/posthog-ios",
"POSTHOG_ANDROID_PATH": "/path/to/posthog-android",
"POSTHOG_FLUTTER_PATH": "/path/to/posthog-flutter"
},
"permissions": {
"allow": [
"Read(/path/to/posthog-js/**)",
"Read(/path/to/posthog-ios/**)",
"Read(/path/to/posthog-android/**)",
"Read(/path/to/posthog-flutter/**)",
"Grep(/path/to/posthog-js/**)",
"Grep(/path/to/posthog-ios/**)",
"Grep(/path/to/posthog-android/**)",
"Grep(/path/to/posthog-flutter/**)"
]
}
}ReadGrep$POSTHOG_JS_PATHecho $POSTHOG_JS_PATH$POSTHOG_JS_PATHecho $POSTHOG_JS_PATH- [ ] https://github.com/PostHog/repo/issues/123gh api repos/PostHog/posthog/issues/45658 --jq '.body' > /tmp/tracking_issue_body.md/tmp/tracking_issue_body.mdgh api repos/PostHog/posthog/issues/45658 -X PATCH -f body="$(cat /tmp/tracking_issue_body.md)"- [ ] https://github.com/PostHog/repo/issues/123gh api repos/PostHog/posthog/issues/45658 --jq '.body' > /tmp/tracking_issue_body.md/tmp/tracking_issue_body.mdgh api repos/PostHog/posthog/issues/45658 -X PATCH -f body="$(cat /tmp/tracking_issue_body.md)"| SDK | Code Path | Changelog |
|---|---|---|
| posthog-js (browser) | | |
| posthog-react-native | | |
| posthog-ios | | |
| posthog-android | | |
| posthog-flutter | | |
| SDK | 代码路径 | 更新日志 |
|---|---|---|
| posthog-js(浏览器) | | |
| posthog-react-native | | |
| posthog-ios | | |
| posthog-android | | |
| posthog-flutter | | |
$POSTHOG_FLUTTER_PATH/ios/posthog_flutter.podspecs.dependency 'PostHog'$POSTHOG_FLUTTER_PATH/android/build.gradleposthog-android$POSTHOG_FLUTTER_PATH/ios/posthog_flutter.podspecs.dependency 'PostHog'$POSTHOG_FLUTTER_PATH/android/build.gradleposthog-androidchecksurveyVersionRequirements.tss.conditions?.deviceTypess.appearance?.fontFamilys.conditions?.urlMatchTypesurveyVersionRequirements.tschecks.conditions?.deviceTypess.appearance?.fontFamilys.conditions?.urlMatchTypeundefinedundefined
If found, read the surrounding lines to get the version number.
如果找到,请阅读周围内容以获取版本号。undefinedundefinedundefinedundefinedundefinedundefinedundefinedundefinedpackages/react-native/src/surveys/PostHog/Surveys/SurveySheet.swiftQuestionTypes.swiftMultipleChoiceOptions.swiftPostHogDisplaySurveyPostHogDisplayChoiceQuestionissue: falselib/src/surveys/widgets/survey_bottom_sheet.dartchoice_question.dartissue: false$POSTHOG_JS_PATH/packages/browser/src/extensions/surveys/surveys-extension-utils.tsxcanActivateRepeatedlygetSurveySeenhasEvents$POSTHOG_JS_PATH/packages/browser/src/extensions/surveys.tsx$POSTHOG_JS_PATH/packages/react-native/src/surveys/getActiveMatchingSurveys.ts$POSTHOG_JS_PATH/packages/react-native/src/surveys/surveys-utils.tscanActivateRepeatedlyhasEvents$POSTHOG_IOS_PATH/PostHog/Surveys/PostHogSurveyIntegration.swiftgetActiveMatchingSurveys()canActivateRepeatedly$POSTHOG_ANDROID_PATH/posthog-android/src/main/java/com/posthog/android/surveys/PostHogSurveysIntegration.ktgetActiveMatchingSurveys()canActivateRepeatedly()canActivateRepeatedlyhasEventsgetSurveySeenlinkedFlagKeylinkedFlagVariantisFeatureEnabled(key)flags[key] === variantcanActivateRepeatedlyschedule === 'always'schedule$POSTHOG_JS_PATH/packages/browser/src/extensions/surveys/surveys-extension-utils.tsxgetDisplayOrderQuestions()getDisplayOrderChoices()$POSTHOG_JS_PATH/packages/react-native/src/surveys/surveys-utils.tsgetDisplayOrderQuestions()getDisplayOrderChoices()$POSTHOG_IOS_PATH/PostHog/Surveys/QuestionTypes.swiftSingleChoiceQuestionViewMultipleChoiceQuestionView$POSTHOG_IOS_PATH/PostHog/Surveys/SurveySheet.swift$POSTHOG_ANDROID_PATH/posthog/src/main/java/com/posthog/surveys/PostHogDisplaySurveyQuestion.ktPostHogDisplaySurveyAppearance.kt$POSTHOG_FLUTTER_PATH/lib/src/surveys/widgets/survey_bottom_sheet.dart$POSTHOG_FLUTTER_PATH/lib/src/surveys/widgets/choice_question.dartgetActiveMatchingSurveys()packages/react-native/src/surveys/PostHog/Surveys/SurveySheet.swiftQuestionTypes.swiftMultipleChoiceOptions.swiftPostHogDisplaySurveyPostHogDisplayChoiceQuestionissue: falselib/src/surveys/widgets/survey_bottom_sheet.dartchoice_question.dartissue: false$POSTHOG_JS_PATH/packages/browser/src/extensions/surveys/surveys-extension-utils.tsxcanActivateRepeatedlygetSurveySeenhasEvents$POSTHOG_JS_PATH/packages/browser/src/extensions/surveys.tsx$POSTHOG_JS_PATH/packages/react-native/src/surveys/getActiveMatchingSurveys.ts$POSTHOG_JS_PATH/packages/react-native/src/surveys/surveys-utils.tscanActivateRepeatedlyhasEvents$POSTHOG_IOS_PATH/PostHog/Surveys/PostHogSurveyIntegration.swiftgetActiveMatchingSurveys()canActivateRepeatedly$POSTHOG_ANDROID_PATH/posthog-android/src/main/java/com/posthog/android/surveys/PostHogSurveysIntegration.ktgetActiveMatchingSurveys()canActivateRepeatedly()canActivateRepeatedlyhasEventsgetSurveySeenlinkedFlagKeylinkedFlagVariantisFeatureEnabled(key)flags[key] === variantcanActivateRepeatedlyschedule === 'always'schedule$POSTHOG_JS_PATH/packages/browser/src/extensions/surveys/surveys-extension-utils.tsxgetDisplayOrderQuestions()getDisplayOrderChoices()$POSTHOG_JS_PATH/packages/react-native/src/surveys/surveys-utils.tsgetDisplayOrderQuestions()getDisplayOrderChoices()$POSTHOG_IOS_PATH/PostHog/Surveys/QuestionTypes.swiftSingleChoiceQuestionViewMultipleChoiceQuestionView$POSTHOG_IOS_PATH/PostHog/Surveys/SurveySheet.swift$POSTHOG_ANDROID_PATH/posthog/src/main/java/com/posthog/surveys/PostHogDisplaySurveyQuestion.ktPostHogDisplaySurveyAppearance.kt$POSTHOG_FLUTTER_PATH/lib/src/surveys/widgets/survey_bottom_sheet.dart$POSTHOG_FLUTTER_PATH/lib/src/surveys/widgets/choice_question.dartgetActiveMatchingSurveys()$POSTHOG_JS_PATH/packages/browser/src/extensions/surveys.ts$POSTHOG_JS_PATH/packages/react-native/src/surveys/getActiveMatchingSurveys.ts$POSTHOG_JS_PATH/packages/browser/src/extensions/surveys.ts$POSTHOG_JS_PATH/packages/react-native/src/surveys/getActiveMatchingSurveys.tsissue: falseissue: falseissue: falseissue: false{
feature: 'Feature Name',
sdkVersions: {
'posthog-js': 'X.Y.Z',
'posthog-react-native': 'X.Y.Z', // or omit if unsupported
'posthog-ios': 'X.Y.Z',
'posthog-android': 'X.Y.Z',
'posthog_flutter': 'X.Y.Z', // add comment: first version to require native SDK >= X.Y
},
unsupportedSdks: [
{ sdk: 'sdk-name', issue: 'https://github.com/PostHog/repo/issues/123' }, // needs implementation
{ sdk: 'sdk-name', issue: false }, // not applicable (e.g., web-only feature)
],
check: (s) => ...,
}{
feature: '功能名称',
sdkVersions: {
'posthog-js': 'X.Y.Z',
'posthog-react-native': 'X.Y.Z', // 若不支持可省略
'posthog-ios': 'X.Y.Z',
'posthog-android': 'X.Y.Z',
'posthog_flutter': 'X.Y.Z', // 添加注释:首个要求原生SDK >= X.Y的版本
},
unsupportedSdks: [
{ sdk: 'sdk名称', issue: 'https://github.com/PostHog/repo/issues/123' }, // 需要实现
{ sdk: 'sdk名称', issue: false }, // 不适用(如仅Web端功能)
],
check: (s) => ...,
}undefinedundefined
Always search issues in the main repo `PostHog/posthog` AND the SDK-specific repo(s) to ensure an issue does not already exist anywhere.
务必在主仓库`PostHog/posthog`和SDK专属仓库中搜索Issue,确保该问题尚未在任何地方存在。| Repository | Labels for Survey Features |
|---|---|
| PostHog/posthog-js | |
| PostHog/posthog-ios | |
| PostHog/posthog-android | |
| PostHog/posthog-flutter | |
| 仓库 | 调研功能标签 |
|---|---|
| PostHog/posthog-js | |
| PostHog/posthog-ios | |
| PostHog/posthog-android | |
| PostHog/posthog-flutter | |
undefinedundefinedundefinedundefinedundefinedundefinedsurveyVersionRequirements.tssurveyVersionRequirements.tspackages/browser/src/extensions/surveys.tspackages/react-native/src/surveys/getActiveMatchingSurveys.tspackages/browser/src/extensions/surveys.tspackages/react-native/src/surveys/getActiveMatchingSurveys.ts/survey-sdk-auditundefined/survey-sdk-auditundefinedsurveyVersionRequirements.tspnpm --filter=@posthog/frontend build:survey-sdk-docsdocs/published/docs/surveys/sdk-feature-support.mdxsurveyVersionRequirements.tspnpm --filter=@posthog/frontend build:survey-sdk-docsdocs/published/docs/surveys/sdk-feature-support.mdxlinkedFlagKeylinkedFlagVariantcanActivateRepeatedlyissue: falseshuffleOptionsPostHogDisplayChoiceQuestionQuestionTypes.swiftlinkedFlagKeylinkedFlagVariantcanActivateRepeatedlyissue: falsePostHogDisplayChoiceQuestionshuffleOptionsQuestionTypes.swiftI found some learnings during this audit that could improve the skill:
- [describe the improvement]
Would you like me to update the skill file?我在本次审核中发现了一些可以优化本Skill的经验:
- [描述优化点]
是否需要我更新Skill文件?