chore: git tag - add chevron menu to package editor#39870
Conversation
WalkthroughThis pull request adds a new dynamically imported icon, Changes
Sequence Diagram(s)sequenceDiagram
participant DMV as DeployMenuItemsView
participant Git as Git Hooks (useConnected, useGitContext)
DMV->>Git: Check connection state (isConnected, isConnectPermitted)
alt isConnected OR !isConnectPermitted
DMV->>DMV: Return null (do not render menu items)
else
DMV->>DMV: Render deployment menu items
end
sequenceDiagram
participant User as User
participant CM as ChevronMenu
participant Browser as Web Browser
User->>CM: Click on deployment menu
CM->>CM: Execute handleClickOnLatestDeployed callback
CM->>Browser: Open deployLink in new tab
Possibly related PRs
Suggested labels
Suggested reviewers
Poem
📜 Recent review detailsConfiguration used: .coderabbit.yaml 📒 Files selected for processing (4)
🧰 Additional context used🧬 Code Definitions (1)app/client/src/pages/AppIDE/layouts/components/Header/index.tsx (1)
⏰ Context from checks skipped due to timeout of 90000ms (11)
🔇 Additional comments (14)
✨ Finishing Touches
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. 🪧 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
Documentation and Community
|
## Description - Adds chevron menu to package editor ## Automation /ok-to-test tags="@tag.Git" ### 🔍 Cypress test results <!-- This is an auto-generated comment: Cypress test results --> > [!TIP] > 🟢 🟢 🟢 All cypress tests have passed! 🎉 🎉 🎉 > Workflow run: <https://github.com/appsmithorg/appsmith/actions/runs/14023181461> > Commit: f427da9 > <a href="https://internal.appsmith.com/app/cypress-dashboard/rundetails-65890b3c81d7400d08fa9ee5?branch=master&workflowId=14023181461&attempt=1" target="_blank">Cypress dashboard</a>. > Tags: `@tag.Git` > Spec: > <hr>Sun, 23 Mar 2025 22:27:03 UTC <!-- end of auto-generated comment: Cypress test results --> ## Communication Should the DevRel and Marketing teams inform users about this change? - [ ] Yes - [ ] No <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **New Features** - Introduced a new Price Tag icon to expand the design system’s visual assets. - Enhanced deployment menu behavior by conditionally showing or hiding options based on Git connection status and permissions. - Updated the header deployment interface to provide streamlined access, where clicking a deployment option now opens the link in a new tab. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
Description
Automation
/ok-to-test tags="@tag.Git"
🔍 Cypress test results
Tip
🟢 🟢 🟢 All cypress tests have passed! 🎉 🎉 🎉
Workflow run: https://github.com/appsmithorg/appsmith/actions/runs/14023181461
Commit: f427da9
Cypress dashboard.
Tags:
@tag.GitSpec:
Sun, 23 Mar 2025 22:27:03 UTC
Communication
Should the DevRel and Marketing teams inform users about this change?
Summary by CodeRabbit