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

chore: Make App Sidebar Generally Available #30923

Merged
merged 3 commits into from
Feb 7, 2024

Conversation

hetunandu
Copy link
Member

@hetunandu hetunandu commented Feb 6, 2024

Description

Makes App Sidebar Generally Available

  • Removes any feature flag control for App Sidebar
  • Removes any older functionalities to handle non App Sidebar IDE versions like:
    • App Settings having an open or close state
    • Entity Explorer ability to be hidden
  • Removes the announcement for App Sidebar

PR fixes following issue(s)

Fixes #29232

Type of change

  • Chore (housekeeping or task changes that don't impact user perception)

Summary by CodeRabbit

  • Refactor
    • Streamlined component logic by consolidating functions and removing unnecessary dependencies.
    • Simplified rendering and logic flow in various editor components for improved user experience.
  • Style
    • Enhanced styling and layout in the app settings pane and editor sidebar components.
  • Chores
    • Improved code maintainability by cleaning up unused imports, variables, and functions.
  • Bug Fixes
    • Addressed UI inconsistencies by removing deprecated feature flags and adjusting component behavior.

@github-actions github-actions bot added skip-changelog Adding this label to a PR prevents it from being listed in the changelog IDE Product Issues related to the IDE Product IDE Navigation Issues/feature requests related to IDE navigation, and context switching IDE Pod Issues that new developers face while exploring the IDE labels Feb 6, 2024
@hetunandu hetunandu marked this pull request as ready for review February 6, 2024 09:30
@hetunandu hetunandu requested review from a team and ichik and removed request for a team February 6, 2024 09:30
Copy link
Contributor

coderabbitai bot commented Feb 6, 2024

Walkthrough

Walkthrough

The changes primarily focus on removing feature flags related to the App Sidebar, consolidating certain actions for simplicity, and refining the UI/UX by adjusting the rendering logic and component dependencies. This includes the removal of conditional rendering based on sidebar feature flags, simplification of routes and component logic, and streamlining the overall codebase by eliminating outdated or redundant code related to the App Sidebar feature now made generally available.

Changes

File Path Change Summary
app/client/src/pages/Editor/.../AppSettings/index.tsx Removed import statements, adjusted style property, and refactored useEffect logic.
app/client/src/pages/Editor/WidgetsEditor/NavigationPreview.tsx
app/client/src/pages/Editor/WidgetsEditor/index.tsx
Added/adjusted imports, modified component props, and refactored logic for app settings pane and navigation tab.

Assessment against linked issues

Objective Addressed Explanation
Remove feature flags for App Sidebar (#29232) All references to the App Sidebar feature flags have been removed, aligning with the task to make the App Sidebar generally available without conditional feature flag checks.

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-tests for this file.
  • 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 tests 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 from git and render them as a table.
    • @coderabbitai show all the console.log statements in this repository.
    • @coderabbitai read src/utils.ts and generate unit tests.
    • @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.
  • The JSON schema for the configuration file is available here.
  • 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/coderabbit-overrides.v2.json

CodeRabbit Discord Community

Join our Discord Community to get help, request features, and share feedback.

@ichik ichik removed their request for review February 6, 2024 12:37
@@ -178,6 +171,13 @@ describe("Entity Explorer tests", () => {
<WidgetsEditorEntityExplorer />
</MockPageDSL>,
);
const widgetsTree: any = component.queryByText("Widgets", {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like a unnecessary change.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This test is for the older Entity explorer and here it needs to expand the tree

@albinAppsmith
Copy link
Collaborator

/build-deploy-preview skip-test=true

Copy link

github-actions bot commented Feb 7, 2024

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

Copy link

github-actions bot commented Feb 7, 2024

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

@hetunandu hetunandu merged commit e68cf54 into release Feb 7, 2024
13 checks passed
@hetunandu hetunandu deleted the chore/remove-app-sidebar-ff branch February 7, 2024 05:55
brayn003 pushed a commit that referenced this pull request Feb 9, 2024
## Description

Makes App Sidebar Generally Available

- Removes any feature flag control for App Sidebar
- Removes any older functionalities to handle non App Sidebar IDE
versions like:
    - App Settings having an open or close state
    - Entity Explorer ability to be hidden
- Removes the announcement for App Sidebar


#### PR fixes following issue(s)
Fixes #29232

#### Type of change

- Chore (housekeeping or task changes that don't impact user perception)



<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

- **Refactor**
- Streamlined component logic by consolidating functions and removing
unnecessary dependencies.
- Simplified rendering and logic flow in various editor components for
improved user experience.
- **Style**
- Enhanced styling and layout in the app settings pane and editor
sidebar components.
- **Chores**
- Improved code maintainability by cleaning up unused imports,
variables, and functions.
- **Bug Fixes**
- Addressed UI inconsistencies by removing deprecated feature flags and
adjusting component behavior.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
sondermanish pushed a commit that referenced this pull request Mar 6, 2024
## Description

Makes App Sidebar Generally Available

- Removes any feature flag control for App Sidebar
- Removes any older functionalities to handle non App Sidebar IDE
versions like:
    - App Settings having an open or close state
    - Entity Explorer ability to be hidden
- Removes the announcement for App Sidebar


#### PR fixes following issue(s)
Fixes #29232

#### Type of change

- Chore (housekeeping or task changes that don't impact user perception)



<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

- **Refactor**
- Streamlined component logic by consolidating functions and removing
unnecessary dependencies.
- Simplified rendering and logic flow in various editor components for
improved user experience.
- **Style**
- Enhanced styling and layout in the app settings pane and editor
sidebar components.
- **Chores**
- Improved code maintainability by cleaning up unused imports,
variables, and functions.
- **Bug Fixes**
- Addressed UI inconsistencies by removing deprecated feature flags and
adjusting component behavior.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
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 skip-changelog Adding this label to a PR prevents it from being listed in the changelog
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Task]: Remove feature flags for App Sidebar
2 participants