Repository navigation
fix: Update docs link to point to the quickstart (3539) - #3548
Conversation
|
@Asymtode712 is attempting to deploy a commit to the formbricks Team on Vercel. A member of the Team first needs to authorize it. |
WalkthroughThe changes in this pull request focus on the Changes
Assessment against linked issues
Possibly related PRs
Suggested labels
Suggested reviewers
Poem
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
|
Thank you for following the naming conventions for pull request titles! 🙏 |
There was a problem hiding this comment.
Actionable comments posted: 0
🧹 Outside diff range and nitpick comments (1)
apps/web/app/(app)/environments/[environmentId]/integrations/page.tsx (1)
Line range hint
196-205: LGTM! Consider a minor readability improvement.The changes successfully address the issue mentioned in #3539 by updating the
docsHrefto the correct Quickstart guide. Moving the Javascript SDK card to the beginning of theintegrationCardsarray is a good choice if it's intended to be highlighted.For improved readability, consider extracting the Javascript SDK card object into a separate constant before adding it to the array. This would make the code more maintainable, especially if the card's properties need to be referenced or modified elsewhere. Here's a suggested refactor:
const javascriptSDKCard = { docsHref: "https://formbricks.com/docs/app-surveys/quickstart", docsText: "Docs", docsNewTab: true, connectHref: `/environments/${environmentId}/product/app-connection`, connectText: "Connect", connectNewTab: false, label: "Javascript SDK", description: "Integrate Formbricks into your Website or App", icon: <Image src={JsLogo} alt="Javascript Logo" />, connected: widgetSetupCompleted, statusText: widgetSetupCompleted ? "App Connected" : "Not Connected", }; integrationCards.unshift(javascriptSDKCard);This approach would make it easier to manage the Javascript SDK card properties if they need to be updated in the future.
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
📒 Files selected for processing (1)
- apps/web/app/(app)/environments/[environmentId]/integrations/page.tsx (1 hunks)
🧰 Additional context used
|
The /assign command can only be used on issues, not on pull requests. |
|
@mattinannt please review and merge this PR if it is good to go |
mattinannt
left a comment
There was a problem hiding this comment.
@Asymtode712 thank you very much for fixing this 🚀
|
@mattinannt please push it to the merge queue again |
|
Awarding Asymtode712: 50 points 🕹️ Well done! Check out your new contribution on oss.gg/Asymtode712 |
What does this PR do?
This PR updates the "docs" link, which was previously pointing to the Next.js documentation, to now correctly point to the Quickstart guide at https://formbricks.com/docs/app-surveys/quickstart.
Fixes #3539
How should this be tested?
Checklist
Required
pnpm buildconsole.logsgit pull origin mainAppreciated
Summary by CodeRabbit
New Features
Bug Fixes