chore: Design changes for Editor tabs#38326
Conversation
WalkthroughThe pull request introduces styling modifications to the FileTab component in 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
Documentation and Community
|
|
/build-deploy-preview |
|
Deploying Your Preview: https://github.com/appsmithorg/appsmith/actions/runs/12467254336. |
|
Deploy-Preview-URL: https://ce-38326.dp.appsmith.com |
|
/build-deploy-preview |
|
Deploying Your Preview: https://github.com/appsmithorg/appsmith/actions/runs/12500659649. |
|
Deploy-Preview-URL: https://ce-38326.dp.appsmith.com |
|
|
||
| const isEditingViaExternal = useSelector(getIsRenaming(id)); | ||
|
|
||
| const isNew = |
There was a problem hiding this comment.
One thing to keep in mind is that isNew will not automatically update on history changes unless something else forces a re-render of this component. In other words it will not watch for route changes and will not update state by itself.
Disregard, if this is the desired behavior.
There was a problem hiding this comment.
Removed this for now. Needs a relook
There was a problem hiding this comment.
Actionable comments posted: 0
🧹 Nitpick comments (1)
app/client/src/IDE/Components/FileTab/styles.tsx (1)
29-32: Good addition for emphasis on active tabs.Applying a bold font weight to the span within
.activenicely highlights the active tab. This helps users quickly spot which tab is selected.You might want to consider a consistent text styling approach for all tab states, defining them in a single centralized style block or using theme variables.
📜 Review details
Configuration used: .coderabbit.yaml
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (1)
app/client/src/IDE/Components/FileTab/styles.tsx(2 hunks)
🔇 Additional comments (2)
app/client/src/IDE/Components/FileTab/styles.tsx (2)
21-21: Nice alignment with the new design.
Increasing the top border thickness from 2px to 3px can improve visual clarity for the active tab. This looks consistent with your design goals.
54-54: Consistent icon sizing.
Setting img { width: 12px } ensures a uniform icon size across your tabs. This helps maintain visual harmony in the UI.
|
/build-deploy-preview skip-tests=true |
|
Deploying Your Preview: https://github.com/appsmithorg/appsmith/actions/runs/12515760097. |
|
Deploy-Preview-URL: https://ce-38326.dp.appsmith.com |
Description
Update the UX of editor tabs
Fixes #38375
Automation
/ok-to-test tags="@tag.IDE"
🔍 Cypress test results
Tip
🟢 🟢 🟢 All cypress tests have passed! 🎉 🎉 🎉
Workflow run: https://github.com/appsmithorg/appsmith/actions/runs/12515785103
Commit: 8a6f2fa
Cypress dashboard.
Tags:
@tag.IDESpec:
Fri, 27 Dec 2024 12:36:15 UTC
Communication
Should the DevRel and Marketing teams inform users about this change?
Summary by CodeRabbit