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

feat: action redesign, UQI upgrade AWS plugin config to dual zone format #36092

Merged
merged 3 commits into from
Sep 6, 2024

Conversation

alex-golovanov
Copy link
Contributor

@alex-golovanov alex-golovanov commented Sep 3, 2024

Description

Upgrade AWS lambda plugin config to new format using SECTION_V2, SINGLE_COLUMN_ZONE, and DOUBLE_COLUMN_ZONE.

Fixes #35488

Automation

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

🔍 Cypress test results

Tip

🟢 🟢 🟢 All cypress tests have passed! 🎉 🎉 🎉
Workflow run: https://github.com/appsmithorg/appsmith/actions/runs/10716532467
Commit: 7af86d6
Cypress dashboard.
Tags: @tag.All
Spec:


Thu, 05 Sep 2024 09:39:20 UTC

Communication

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

  • Yes
  • No

Summary by CodeRabbit

  • New Features

    • Enhanced user interface for the AWS Lambda plugin with updated control types, improving layout and interaction.
    • Introduced new input options, including a dedicated section for "Post body."
  • Bug Fixes

    • Updated control types to reflect improved functionality and user experience in the editor.

Copy link
Contributor

coderabbitai bot commented Sep 3, 2024

Walkthrough

The changes involve updates to the controlType properties in JSON configuration files for the AWS Lambda plugin. The controlType values have been modified to reflect new versions and layouts, enhancing the structure of the user interface. This includes the introduction of new control types, which expand input options for users and improve overall configuration management.

Changes

Files Change Summary
app/server/appsmith-plugins/awsLambdaPlugin/src/main/resources/editor/invoke.json Updated controlType from "SECTION" to "SECTION_V2" and added new control types.
app/server/appsmith-plugins/awsLambdaPlugin/src/main/resources/editor/list.json Updated controlType from "SECTION" to "SECTION_V2".
app/server/appsmith-plugins/awsLambdaPlugin/src/main/resources/editor/root.json Updated controlType from "SECTION" to "SECTION_V2".

Assessment against linked issues

Objective Addressed Explanation
Add Zone & Section to AWS Lambda plugin form (#35488)

🌟 In the realm of code, changes unfold,
New zones and sections, a sight to behold!
With SECTION_V2, the layout's anew,
Enhancing the plugin, for all to pursue.
So here's to the updates, both bright and bold,
A journey in coding, where stories are told! 🎉


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.
    • @coderabbitai help me debug CodeRabbit configuration file.

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)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

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 IDE Navigation Issues/feature requests related to IDE navigation, and context switching IDE Pod Issues that new developers face while exploring the IDE IDE Product Issues related to the IDE Product Task A simple Todo labels Sep 3, 2024
@github-actions github-actions bot added the Enhancement New feature or request label Sep 3, 2024
@alex-golovanov
Copy link
Contributor Author

/build-deploy-preview skip-tests=true

@alex-golovanov alex-golovanov added the ok-to-test Required label for CI label Sep 3, 2024
Copy link

github-actions bot commented Sep 3, 2024

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

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

Review details

Configuration used: .coderabbit.yaml
Review profile: CHILL

Commits

Files that changed from the base of the PR and between 6ad6a11 and f40335f.

Files selected for processing (3)
  • app/server/appsmith-plugins/awsLambdaPlugin/src/main/resources/editor/invoke.json (2 hunks)
  • app/server/appsmith-plugins/awsLambdaPlugin/src/main/resources/editor/list.json (1 hunks)
  • app/server/appsmith-plugins/awsLambdaPlugin/src/main/resources/editor/root.json (1 hunks)
Additional comments not posted (5)
app/server/appsmith-plugins/awsLambdaPlugin/src/main/resources/editor/list.json (1)

3-3: The change in the controlType property is approved.

The update from "SECTION" to "SECTION_V2" suggests an evolution in the configuration structure, likely aimed at improving the functionality or user experience of the application. This change is in line with the PR objectives of upgrading the AWS Lambda plugin configuration to a new format.

Here are a few insights:

  1. The change is isolated to the controlType property, and the rest of the configuration remains intact, minimizing the risk of unintended side effects.

  2. The conditionals object is unchanged, maintaining the existing logic for showing the control based on the specified condition.

  3. The new "SECTION_V2" value may indicate enhanced functionality or a new version of the control, potentially offering improved user experience or additional features.

  4. It's important to ensure that the frontend components and any associated backend logic are updated to handle the new "SECTION_V2" control type correctly.

  5. Consider updating the documentation or release notes to inform users about the changes and any new features or improvements associated with the "SECTION_V2" control type.

Overall, the change appears to be a step towards enhancing the AWS Lambda plugin configuration and aligns with the PR objectives. Great work!

app/server/appsmith-plugins/awsLambdaPlugin/src/main/resources/editor/root.json (1)

4-4: Please provide more context about the "SECTION_V2" control type.

It would be helpful to understand the following:

  1. What new features or improvements does the "SECTION_V2" control type introduce compared to the previous "SECTION" control type?
  2. How does this change align with the overall goals and roadmap of the project?
  3. Are there any potential risks or backward compatibility issues that need to be considered with this update?

Providing more context will help in assessing the impact and necessity of this change.

app/server/appsmith-plugins/awsLambdaPlugin/src/main/resources/editor/invoke.json (3)

3-3: Verify compatibility with the new control type version.

The controlType for the main section has been updated to "SECTION_V2". Please ensure that:

  1. The UI components rendering this section are compatible with the new control type version.
  2. The backend logic processing this configuration handles the new version correctly.

To verify the compatibility, you can run the following script:


70-71: Verify the integration of the new input field.

A new control type, "SINGLE_COLUMN_ZONE", has been introduced, encapsulating a new input field for the "Post body". Please ensure that:

  1. The new input field is properly rendered in the user interface.
  2. The data entered in this field is correctly processed by the backend logic.
  3. The data is included in the request payload when invoking the AWS Lambda function.

To verify the integration, you can run the following script:


9-9: Verify the UI rendering of the new layout.

The controlType for the details section has been updated to "DOUBLE_COLUMN_ZONE", indicating a change in the layout. Please ensure that the UI components are updated to render this new layout correctly.

To verify the UI rendering, you can run the following script:

Copy link

github-actions bot commented Sep 3, 2024

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

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

Review details

Configuration used: .coderabbit.yaml
Review profile: CHILL

Commits

Files that changed from the base of the PR and between f40335f and 7af86d6.

Files selected for processing (1)
  • app/server/appsmith-plugins/awsLambdaPlugin/src/main/resources/editor/root.json (1 hunks)
Files skipped from review as they are similar to previous changes (1)
  • app/server/appsmith-plugins/awsLambdaPlugin/src/main/resources/editor/root.json

Copy link

github-actions bot commented Sep 5, 2024

Failed server tests

  • com.appsmith.server.git.CommonGitServiceCETest#updateGitMetadata_EmptyData_Success

@alex-golovanov
Copy link
Contributor Author

This PR has been tested on CE & EE (modules, workflows).

@alex-golovanov alex-golovanov merged commit 4a7ff64 into release Sep 6, 2024
84 checks passed
@alex-golovanov alex-golovanov deleted the perf/35488-uqi-aws-lambda-2 branch September 6, 2024 07:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement New feature or request IDE Navigation Issues/feature requests related to IDE navigation, and context switching IDE Pod Issues that new developers face while exploring the IDE IDE Product Issues related to the IDE Product ok-to-test Required label for CI Task A simple Todo
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Task]: Add Zone & Section to AWS Lambda plugin form
3 participants