Skip to content

Commit

Permalink
revert: multi env switcher view mode changes (#32360)
Browse files Browse the repository at this point in the history
Reverts changes for multienv switcher on view mode

## Automation
/ok-to-test tags="@tag.MultiEnv"

### 🔍 Cypress test results
<!-- This is an auto-generated comment: Cypress test results  -->
> [!IMPORTANT]  
> Workflow run:
<https://github.com/appsmithorg/appsmith/actions/runs/8535416309>
> Commit: `973e392a00cc68e0dbf1e99e06ca2b8b1ebc0474`
> Cypress dashboard url: <a
href="https://internal.appsmith.com/app/cypress-dashboard/rundetails-65890b3c81d7400d08fa9ee5?branch=master&workflowId=8535416309&attempt=1"
target="_blank">Click here!</a>
> All cypress tests have passed 🎉🎉🎉

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



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

## Summary by CodeRabbit

- **Refactor**
- Simplified the handling of view modes and conditional rendering in the
`BottomBar` component.
- Removed and streamlined the `showBottomBar` logic and UI adjustments
in `AppViewer`.
- Introduced `isCombinedPreviewMode` for enhanced preview functionality
in the Editor's `IDE` component.
- Simplified the structure of `EditorWrapperContainer` by removing
unnecessary props and logic.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
  • Loading branch information
brayn003 authored and trishaanand committed Apr 3, 2024
1 parent 3eeb09c commit a34e0e9
Show file tree
Hide file tree
Showing 7 changed files with 15 additions and 418 deletions.
316 changes: 0 additions & 316 deletions app/client/src/ce/hooks/useShowEnvSwitcher.test.tsx

This file was deleted.

50 changes: 0 additions & 50 deletions app/client/src/ce/hooks/useShowEnvSwitcher.ts

This file was deleted.

Loading

0 comments on commit a34e0e9

Please sign in to comment.