Skip to content

Comments

Change wording to Login using Devant#1528

Merged
xlight05 merged 1 commit intowso2:release/bi-1.8.xfrom
xlight05:copilot-login-label
Feb 20, 2026
Merged

Change wording to Login using Devant#1528
xlight05 merged 1 commit intowso2:release/bi-1.8.xfrom
xlight05:copilot-login-label

Conversation

@xlight05
Copy link
Contributor

@xlight05 xlight05 commented Feb 20, 2026

Purpose

$Subject

Goals

Describe the solutions that this feature/fix will introduce to resolve the problems described above

Approach

Describe how you are implementing the solutions. Include an animated GIF or screenshot if the change affects the UI (email documentation@wso2.com to review all UI text). Include a link to a Markdown file or Google doc if the feature write-up is too long to paste here.

UI Component Development

Specify the reason if following are not followed.

  • Added reusable UI components to the ui-toolkit. Follow the intructions when adding the componenent.
  • Use ui-toolkit components wherever possible. Run npm run storybook from the root directory to view current components.
  • Matches with the native VSCode look and feel.

Manage Icons

Specify the reason if following are not followed.

  • Added Icons to the font-wso2-vscode. Follow the instructions.

User stories

Summary of user stories addressed by this change>

Release note

Brief description of the new feature or bug fix as it will appear in the release notes

Documentation

Link(s) to product documentation that addresses the changes of this PR. If no doc impact, enter “N/A” plus brief explanation of why there’s no doc impact

Training

Link to the PR for changes to the training content in https://github.com/wso2/WSO2-Training, if applicable

Certification

Type “Sent” when you have provided new/updated certification questions, plus four answers for each question (correct answer highlighted in bold), based on this change. Certification questions/answers should be sent to certification@wso2.com and NOT pasted in this PR. If there is no impact on certification exams, type “N/A” and explain why.

Marketing

Link to drafts of marketing content that will describe and promote this feature, including product page changes, technical articles, blog posts, videos, etc., if applicable

Automation tests

  • Unit tests

    Code coverage information

  • Integration tests

    Details about the test cases and coverage

Security checks

Samples

Provide high-level details about the samples related to this feature

Related PRs

List any other related PRs

Migrations (if applicable)

Describe migration steps and platforms on which migration has been tested

Test environment

List all JDK versions, operating systems, databases, and browser/versions on which this feature/fix was tested

Learning

Describe the research phase and any blog posts, patterns, libraries, or add-ons you used to solve the problem.

Summary by CodeRabbit

  • Style
    • Updated the login button label text in the AI panel.

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Feb 20, 2026

📝 Walkthrough

Walkthrough

The login button label in the AIPanel LoginPanel component was updated from "Login to BI Copilot" to "Login using Devant". The underlying functionality and event handler remain unchanged.

Changes

Cohort / File(s) Summary
Login Button Label Update
workspaces/ballerina/ballerina-visualizer/src/views/AIPanel/LoginPanel/index.tsx
Updated button text label from "Login to BI Copilot" to "Login using Devant" with no functional changes.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

Poem

🐰 A button's words did shift and change,
From Copilot to Devant's range,
No logic broke, no flow disrupted,
Just text relabeled, neatly constructed! ✨

🚥 Pre-merge checks | ✅ 2 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Description check ⚠️ Warning The PR description follows the template structure but lacks substantive content in most sections. The Purpose section contains '$Subject' placeholder, and critical sections like Goals, Approach, Release note, and others remain unfilled with only template placeholders. Fill in the critical sections: Purpose (explain why the wording change was needed), Goals, Approach (describe the implementation rationale), Release note, and confirm Security checks and Automation tests status.
✅ Passed checks (2 passed)
Check name Status Explanation
Title check ✅ Passed The title accurately and concisely describes the main change: updating the login button label to 'Login using Devant'. It directly reflects the code modification in the changeset.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

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

✨ Finishing Touches
  • 📝 Generate docstrings (stacked PR)
  • 📝 Generate docstrings (commit on current branch)
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment

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.

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

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)
workspaces/ballerina/ballerina-visualizer/src/views/AIPanel/LoginPanel/index.tsx (1)

113-114: ⚠️ Potential issue | 🟡 Minor

Two other user-facing "BI Copilot" strings remain unchanged — intentional?

Lines 113–114 (LegalNotice) and Line 169 (Title) still refer to "BI Copilot":

  • Line 113: "BI Copilot uses AI to assist with integration…"
  • Line 169: "Welcome to BI Copilot"

If this PR is scoped exclusively to the button label, these are fine. If the intent is a broader rebranding toward "Devant", these strings would also need updating for consistency.

Also applies to: 169-169

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In
`@workspaces/ballerina/ballerina-visualizer/src/views/AIPanel/LoginPanel/index.tsx`
around lines 113 - 114, Two remaining user-facing strings in the LoginPanel
component still say "BI Copilot" (the LegalNotice text and the Title header);
update these string literals in the LoginPanel (index.tsx) to the new brand name
(e.g., "Devant") or reference a shared BRAND_NAME constant so all labels stay
consistent (update the JSX where LegalNotice and Title are rendered, or
extract/replace the hard-coded strings with the shared constant).
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Outside diff comments:
In
`@workspaces/ballerina/ballerina-visualizer/src/views/AIPanel/LoginPanel/index.tsx`:
- Around line 113-114: Two remaining user-facing strings in the LoginPanel
component still say "BI Copilot" (the LegalNotice text and the Title header);
update these string literals in the LoginPanel (index.tsx) to the new brand name
(e.g., "Devant") or reference a shared BRAND_NAME constant so all labels stay
consistent (update the JSX where LegalNotice and Title are rendered, or
extract/replace the hard-coded strings with the shared constant).

@xlight05 xlight05 merged commit 9bb2666 into wso2:release/bi-1.8.x Feb 20, 2026
3 checks passed
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