-
Notifications
You must be signed in to change notification settings - Fork 3.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: Pages section redesign - IDE navigation #30212
Conversation
…o pages-section-in-header
…o pages-section-in-header
/build-deploy-preview skip-tests=true |
Deploying Your Preview: https://github.com/appsmithorg/appsmith/actions/runs/7475686024. |
WalkthroughWalkthroughThe recent changes involve enhancing the IDE editor pane with new components and functionality. A new CSS rule has been added to ensure full width for pages, while the editor pane now features a Changes
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 as PR comments)
Additionally, you can add CodeRabbit Configration File (
|
/build-deploy-preview skip-tests=true |
/ok-to-test tags="@tag.All" |
Deploying Your Preview: https://github.com/appsmithorg/appsmith/actions/runs/7475757272. |
Whoa, @tag.All spotted in your test suite! 🚀 |
Tests running at: https://github.com/appsmithorg/appsmith/actions/runs/7475762688. |
export const getActionsCount = (state: AppState) => | ||
state.entities.actions.length || 0; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The getActionsCount
selector function correctly retrieves the length of the actions array from the state. However, the || 0
is unnecessary because the length
property of an array will always return a number, and in the case of an empty array, it will return 0.
- state.entities.actions.length || 0;
+ state.entities.actions.length;
Committable suggestion
❗ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation.
export const getActionsCount = (state: AppState) => | |
state.entities.actions.length || 0; | |
export const getActionsCount = (state: AppState) => | |
state.entities.actions.length; |
export const getJsActionsCount = (state: AppState) => | ||
state.entities.jsActions.length || 0; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The getJsActionsCount
selector function correctly retrieves the length of the jsActions array from the state. Similar to the previous comment, the || 0
is unnecessary.
- state.entities.jsActions.length || 0;
+ state.entities.jsActions.length;
Committable suggestion
❗ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation.
export const getJsActionsCount = (state: AppState) => | |
state.entities.jsActions.length || 0; | |
export const getJsActionsCount = (state: AppState) => | |
state.entities.jsActions.length; |
Deploy-Preview-URL: https://ce-30212.dp.appsmith.com |
Workflow run: https://github.com/appsmithorg/appsmith/actions/runs/7475762688.
To know the list of identified flaky tests - Refer here |
Workflow run: https://github.com/appsmithorg/appsmith/actions/runs/7475762688. |
Description
This PR includes the new redesigned pages section and the new intractions.
PR fixes following issue(s)
Fixes #30176
Media
Screen.Recording.2024-01-10.at.7.00.36.PM.mov
Type of change
Testing
How Has This Been Tested?
Test Plan
Issues raised during DP testing
Checklist:
Dev activity
QA activity:
Test Plan Approved
label after Cypress tests were reviewedTest Plan Approved
label after JUnit tests were reviewedSummary by CodeRabbit
New Features
Enhancements
Refactor
Style