Skip to content
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

fix: Add pane issues #33627

Merged
merged 5 commits into from
May 22, 2024
Merged

fix: Add pane issues #33627

merged 5 commits into from
May 22, 2024

Conversation

hetunandu
Copy link
Member

@hetunandu hetunandu commented May 21, 2024

Description

Fixes issues in add pane

Fixes #33583

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/9178183004
Commit: eeb8f40
Cypress dashboard url: Click here!

Communication

Should the DevRel and Marketing teams inform users about this change?

  • Yes
  • No

Copy link
Contributor

coderabbitai bot commented May 21, 2024

Walkthrough

Walkthrough

The recent code changes aim to enhance the filtering functionality within the getQuerySegmentItems selector by filtering items based on the presence of a group property. Additionally, padding properties in various components have been simplified for consistency.

Changes

File Path Change Summary
app/client/src/ce/selectors/entitiesSelector.ts Updated getQuerySegmentItems selector to filter items based on the presence of the group property.
app/client/src/pages/Editor/IDE/EditorPane/JS/Add.tsx Removed p property with the value "spaces-3" from the Flex component in AddJS component.
app/client/src/pages/Editor/IDE/EditorPane/Query/Add.tsx Removed p property with the value "spaces-3" from the Flex component in AddQuery function.
app/client/src/pages/Editor/IDE/EditorPane/components/SegmentAddHeader.tsx Replaced pl, pr, and py properties with a single p property with the value "spaces-3" in the SegmentAddHeader component.
app/client/src/pages/Editor/IDE/EditorPane/Query/QueryRender.test.tsx Added new import statement for datasourceFactory and introduced mock data sources for Postgres and Google Sheets in QueryRender.test.tsx.

Assessment against linked issues

Objective (Issue #33583) Addressed Explanation
Display appropriate heading (APIs) instead of N/A after creating a new query The changes do not directly address the issue of displaying the correct heading after creating a new query. Further investigation is required to resolve this specific issue.

Recent Review Details

Configuration used: CodeRabbit UI
Review profile: CHILL

Commits Files that changed from the base of the PR and between 6777f1f and 79f2029.
Files selected for processing (1)
  • app/client/src/pages/Editor/IDE/EditorPane/Query/QueryRender.test.tsx (13 hunks)
Files skipped from review as they are similar to previous changes (1)
  • app/client/src/pages/Editor/IDE/EditorPane/Query/QueryRender.test.tsx

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?

Share
Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>.
    • Generate unit testing code for this file.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai generate unit testing code for this file.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai generate interesting stats about this repository and render them as a table.
    • @coderabbitai show all the console.log statements in this repository.
    • @coderabbitai read src/utils.ts and generate unit testing code.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.

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)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger a review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai help to get help.

Additionally, you can add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.

CodeRabbit Configration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

@github-actions github-actions bot added Bug Something isn't working IDE Navigation Issues/feature requests related to IDE navigation, and context switching Low An issue that is neither critical nor breaks a user flow Needs Triaging Needs attention from maintainers to triage IDE Pod Issues that new developers face while exploring the IDE Production Regressed Scenarios that were working before but have now regressed UI Improvement labels May 21, 2024
@hetunandu
Copy link
Member Author

/build-deploy-preview

@hetunandu hetunandu requested a review from sneha122 May 21, 2024 16:32
Copy link

Deploying Your Preview: https://github.com/appsmithorg/appsmith/actions/runs/9178106272.
Workflow: On demand build Docker image and deploy preview.
skip-tests: . env: .
PR: 33627.
recreate: .

@hetunandu hetunandu added the ok-to-test Required label for CI label May 21, 2024
Copy link

Deploy-Preview-URL: https://ce-33627.dp.appsmith.com

@hetunandu hetunandu requested a review from sneha122 May 22, 2024 14:53
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.

Actionable comments posted: 0

Outside diff range and nitpick comments (1)
app/client/src/pages/Editor/IDE/EditorPane/Query/QueryRender.test.tsx (1)

Line range hint 303-490: Review the assertions in the test cases to ensure they comprehensively cover the expected behaviors.

Consider adding more assertions to cover additional UI elements or states that might be affected by the changes in this pull request.

@hetunandu hetunandu merged commit f93410e into release May 22, 2024
13 checks passed
@hetunandu hetunandu deleted the fix/add-pane-styles branch May 22, 2024 16:51
rahulbarwal added a commit that referenced this pull request May 23, 2024
trishaanand pushed a commit that referenced this pull request May 23, 2024
## Description
This reverts commit f93410e.

#33627


Fixes #`Issue Number`  
_or_  
Fixes `Issue URL`
> [!WARNING]  
> _If no issue exists, please create an issue first, and check with the
maintainers if the issue is valid._

## Automation

/ok-to-test tags="@tag.ImportExport"

### 🔍 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/9203923153>
> Commit: 2da6d7e
> Cypress dashboard url: <a
href="https://internal.appsmith.com/app/cypress-dashboard/rundetails-65890b3c81d7400d08fa9ee5?branch=master&workflowId=9203923153&attempt=1"
target="_blank">Click here!</a>

<!-- end of auto-generated comment: Cypress test results  -->




## Communication
Should the DevRel and Marketing teams inform users about this change?
- [ ] Yes
- [x] No
NilanshBansal pushed a commit that referenced this pull request May 24, 2024
## Description

Alternate solution to #33627 to fix the `NA` group of newly created Rest
API actions


Fixes #33583

## 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/9218802021>
> Commit: 74c7bd4
> Cypress dashboard url: <a
href="https://internal.appsmith.com/app/cypress-dashboard/rundetails-65890b3c81d7400d08fa9ee5?branch=master&workflowId=9218802021&attempt=1"
target="_blank">Click here!</a>

<!-- end of auto-generated comment: Cypress test results  -->








## Communication
Should the DevRel and Marketing teams inform users about this change?
- [ ] Yes
- [x] No
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working IDE Navigation Issues/feature requests related to IDE navigation, and context switching IDE Pod Issues that new developers face while exploring the IDE Low An issue that is neither critical nor breaks a user flow Needs Triaging Needs attention from maintainers to triage ok-to-test Required label for CI Production Regressed Scenarios that were working before but have now regressed UI Improvement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug]: N/A displayed after creating a new query instead of an appropriate heading
2 participants