Skip to content

chore: renames package from "formbricks_flutter" to "formbricks"#13

Merged
itsjavi merged 5 commits into
mainfrom
fix/rename-package
Jun 12, 2026
Merged

chore: renames package from "formbricks_flutter" to "formbricks"#13
itsjavi merged 5 commits into
mainfrom
fix/rename-package

Conversation

@pandeymangg

Copy link
Copy Markdown
Contributor

Renames the flutter sdk package from "formbricks_flutter" to "formbricks"

@pandeymangg pandeymangg changed the base branch from main to fix/update-readme June 12, 2026 13:37
@pandeymangg pandeymangg requested a review from itsjavi June 12, 2026 13:39
Base automatically changed from fix/update-readme to main June 12, 2026 13:41
@coderabbitai

coderabbitai Bot commented Jun 12, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

Walkthrough

This PR renames the Flutter SDK package from formbricks_flutter to formbricks. The changes update workspace configuration in the root pubspec.yaml, revise build tooling (Makefile, Dependabot, SonarCloud), rewrite documentation to reflect the new package structure and interactive demo behavior, update the playground app to reference the new package, and mechanically update all test file imports to reference the new package paths. A new comprehensive SDK README documenting the public API, initialization, targeting, storage, and platform constraints is added.

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title accurately summarizes the main change: renaming the package from 'formbricks_flutter' to 'formbricks', which is reflected throughout the changeset.
Description check ✅ Passed The description is directly related to the changeset, describing the package rename from 'formbricks_flutter' to 'formbricks' that is evident across all modified files.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Caution

Some comments are outside the diff and can’t be posted inline due to platform limitations.

⚠️ Outside diff range comments (1)
sonar-project.properties (1)

3-3: ⚠️ Potential issue | 🟠 Major | ⚡ Quick win

Update SonarCloud project key to match the renamed package.

sonar.projectKey is still set to formbricks_flutter, but the package has been renamed to formbricks. This creates a mismatch: SonarCloud uses this key as a unique project identifier, so the stale key will cause the analysis to be tracked under the wrong project. Update the key to match the new package name.

🔧 Proposed fix
-sonar.projectKey=formbricks_flutter
+sonar.projectKey=formbricks
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@sonar-project.properties` at line 3, Update the SonarCloud project key value
for sonar.projectKey from the old package name to the new one: change the
property sonar.projectKey (currently "formbricks_flutter") to the new package
identifier "formbricks" so Sonar analysis maps to the renamed project.
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Outside diff comments:
In `@sonar-project.properties`:
- Line 3: Update the SonarCloud project key value for sonar.projectKey from the
old package name to the new one: change the property sonar.projectKey (currently
"formbricks_flutter") to the new package identifier "formbricks" so Sonar
analysis maps to the renamed project.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro

Run ID: d1279ed1-4c68-4104-8707-8072d1cdec4f

📥 Commits

Reviewing files that changed from the base of the PR and between 6144afc and 955c7a4.

📒 Files selected for processing (72)
  • .github/dependabot.yml
  • .gitignore
  • Makefile
  • README.md
  • apps/playground/README.md
  • apps/playground/integration_test/survey_filtering_qa_test.dart
  • apps/playground/lib/main.dart
  • apps/playground/pubspec.yaml
  • docs/FLUTTER_SDK_PLAN.md
  • docs/TLS.md
  • packages/formbricks/.gitignore
  • packages/formbricks/CHANGELOG.md
  • packages/formbricks/LICENSE
  • packages/formbricks/README.md
  • packages/formbricks/lib/formbricks.dart
  • packages/formbricks/lib/src/common/api_client.dart
  • packages/formbricks/lib/src/common/command_queue.dart
  • packages/formbricks/lib/src/common/config.dart
  • packages/formbricks/lib/src/common/expiry_ticker.dart
  • packages/formbricks/lib/src/common/filter_surveys.dart
  • packages/formbricks/lib/src/common/logger.dart
  • packages/formbricks/lib/src/common/result.dart
  • packages/formbricks/lib/src/common/setup.dart
  • packages/formbricks/lib/src/common/survey_script_url.dart
  • packages/formbricks/lib/src/common/time.dart
  • packages/formbricks/lib/src/common/utils.dart
  • packages/formbricks/lib/src/survey/action.dart
  • packages/formbricks/lib/src/survey/survey_store.dart
  • packages/formbricks/lib/src/types/action_class.dart
  • packages/formbricks/lib/src/types/config.dart
  • packages/formbricks/lib/src/types/errors.dart
  • packages/formbricks/lib/src/types/survey.dart
  • packages/formbricks/lib/src/user/attribute.dart
  • packages/formbricks/lib/src/user/update_queue.dart
  • packages/formbricks/lib/src/user/user.dart
  • packages/formbricks/lib/src/widgets/default_webview_host.dart
  • packages/formbricks/lib/src/widgets/formbricks_widget.dart
  • packages/formbricks/lib/src/widgets/survey_html.dart
  • packages/formbricks/lib/src/widgets/survey_webview.dart
  • packages/formbricks/lib/src/widgets/webview_event.dart
  • packages/formbricks/lib/src/widgets/webview_navigation.dart
  • packages/formbricks/pubspec.yaml
  • packages/formbricks/test/common/api_client_test.dart
  • packages/formbricks/test/common/command_queue_test.dart
  • packages/formbricks/test/common/config_test.dart
  • packages/formbricks/test/common/expiry_ticker_test.dart
  • packages/formbricks/test/common/filter_surveys_test.dart
  • packages/formbricks/test/common/logger_test.dart
  • packages/formbricks/test/common/result_test.dart
  • packages/formbricks/test/common/setup_test.dart
  • packages/formbricks/test/common/survey_script_url_test.dart
  • packages/formbricks/test/common/utils_test.dart
  • packages/formbricks/test/formbricks_test.dart
  • packages/formbricks/test/survey/action_test.dart
  • packages/formbricks/test/survey/survey_store_test.dart
  • packages/formbricks/test/types/action_class_test.dart
  • packages/formbricks/test/types/config_test.dart
  • packages/formbricks/test/types/errors_test.dart
  • packages/formbricks/test/types/survey_test.dart
  • packages/formbricks/test/user/attribute_test.dart
  • packages/formbricks/test/user/update_queue_test.dart
  • packages/formbricks/test/user/user_api_test.dart
  • packages/formbricks/test/user/user_test.dart
  • packages/formbricks/test/widgets/default_webview_host_test.dart
  • packages/formbricks/test/widgets/formbricks_widget_test.dart
  • packages/formbricks/test/widgets/survey_html_test.dart
  • packages/formbricks/test/widgets/survey_webview_test.dart
  • packages/formbricks/test/widgets/webview_event_test.dart
  • packages/formbricks/test/widgets/webview_navigation_test.dart
  • packages/formbricks_flutter/README.md
  • pubspec.yaml
  • sonar-project.properties
💤 Files with no reviewable changes (2)
  • packages/formbricks_flutter/README.md
  • docs/FLUTTER_SDK_PLAN.md

@sonarqubecloud

Copy link
Copy Markdown

@itsjavi itsjavi left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks LGTM 🚀

@itsjavi itsjavi merged commit a352228 into main Jun 12, 2026
10 checks passed
@itsjavi itsjavi deleted the fix/rename-package branch June 12, 2026 13:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants