PromucFlow_constructor/app/client/src/utils/hooks
Hetu Nandu c6d0860019
chore: Add Sidebar with Pages Tab (#27965)
## Description
Adds the sidebar with just the pages tab for now. This is just a visual
change, with no way to switch to any other state on the app sidebar.
This change is behind a feature flag.


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

#### Media
> A video or a GIF is preferred. when using Loom, don’t embed because it
looks like it’s a GIF. instead, just link to the video
>
>
#### Type of change
- Chore (housekeeping or task changes that don't impact user perception)

## Testing
>
#### How Has This Been Tested?
> Please describe the tests that you ran to verify your changes. Also
list any relevant details for your test configuration.
> Delete anything that is not relevant
- [ ] Manual
- [ ] JUnit
- [ ] Jest
- [ ] Cypress
>
>
#### Test Plan
> Add Testsmith test cases links that relate to this PR
>
>
#### Issues raised during DP testing
> Link issues raised during DP testing for better visiblity and tracking
(copy link from comments dropped on this PR)
>
>
>
## Checklist:
#### Dev activity
- [ ] My code follows the style guidelines of this project
- [ ] I have performed a self-review of my own code
- [ ] I have commented my code, particularly in hard-to-understand areas
- [ ] I have made corresponding changes to the documentation
- [ ] My changes generate no new warnings
- [ ] I have added tests that prove my fix is effective or that my
feature works
- [ ] New and existing unit tests pass locally with my changes
- [ ] PR is being merged under a feature flag


#### QA activity:
- [ ] [Speedbreak
features](https://github.com/appsmithorg/TestSmith/wiki/Guidelines-for-test-plans#speedbreakers-)
have been covered
- [ ] Test plan covers all impacted features and [areas of
interest](https://github.com/appsmithorg/TestSmith/wiki/Guidelines-for-test-plans#areas-of-interest-)
- [ ] Test plan has been peer reviewed by project stakeholders and other
QA members
- [ ] Manually tested functionality on DP
- [ ] We had an implementation alignment call with stakeholders post QA
Round 2
- [ ] Cypress test cases have been added and approved by SDET/manual QA
- [ ] Added `Test Plan Approved` label after Cypress tests were reviewed
- [ ] Added `Test Plan Approved` label after JUnit tests were reviewed

---------

Co-authored-by: albinAppsmith <87797149+albinAppsmith@users.noreply.github.com>
2023-10-12 15:02:16 +05:30
..
useWidgetFocus fix: Cannot read properties of undefined (reading 'matches') (#25280) 2023-07-17 16:57:27 +05:30
autoHeightUIHooks.ts chore: upgrade to prettier v2 + enforce import types (#21013)Co-authored-by: Satish Gandham <hello@satishgandham.com> Co-authored-by: Satish Gandham <satish.iitg@gmail.com> 2023-03-16 17:11:47 +05:30
dragResizeHooks.tsx chore: update eslint and dependencies then fix revealed errors (#27908) 2023-10-11 10:14:38 +03:00
localstorage.tsx feat: added api to return 1 product message (#24704) 2023-07-18 13:03:18 +05:30
useAllowEditorDragToSelect.ts feat: Add widget responsiveness and conversion algorithm (#21386) 2023-04-07 09:51:35 -04:00
useAutoGrow.tsx
useBrandingTheme.ts fix: Active color of primary buttons broken after ADS 2.0 migration (#26958) 2023-09-21 15:37:41 +05:30
useCanvasMinHeightUpdateHook.ts chore: Move the widget config to widget class (#26073) 2023-09-06 17:45:04 +05:30
useClick.tsx chore: upgrade to prettier v2 + enforce import types (#21013)Co-authored-by: Satish Gandham <hello@satishgandham.com> Co-authored-by: Satish Gandham <satish.iitg@gmail.com> 2023-03-16 17:11:47 +05:30
useClickToSelectWidget.tsx feat: Add widget responsiveness and conversion algorithm (#21386) 2023-04-07 09:51:35 -04:00
useClipboard.tsx chore: upgrade to prettier v2 + enforce import types (#21013)Co-authored-by: Satish Gandham <hello@satishgandham.com> Co-authored-by: Satish Gandham <satish.iitg@gmail.com> 2023-03-16 17:11:47 +05:30
useDeepEffect.test.ts chore: upgrade to prettier v2 + enforce import types (#21013)Co-authored-by: Satish Gandham <hello@satishgandham.com> Co-authored-by: Satish Gandham <satish.iitg@gmail.com> 2023-03-16 17:11:47 +05:30
useDeepEffect.ts chore: upgrade to prettier v2 + enforce import types (#21013)Co-authored-by: Satish Gandham <hello@satishgandham.com> Co-authored-by: Satish Gandham <satish.iitg@gmail.com> 2023-03-16 17:11:47 +05:30
useDeviceDetect.ts feat: Homepage mobile UI (#10255) 2022-02-17 22:08:36 +05:30
useDSEvent.ts chore: upgrade to prettier v2 + enforce import types (#21013)Co-authored-by: Satish Gandham <hello@satishgandham.com> Co-authored-by: Satish Gandham <satish.iitg@gmail.com> 2023-03-16 17:11:47 +05:30
useDynamicAppLayout.tsx chore: Add Sidebar with Pages Tab (#27965) 2023-10-12 15:02:16 +05:30
useFeatureFlag.ts chore: Add button v2 under feature flag (#25106) 2023-07-26 18:10:44 +05:30
useHorizontalResize.tsx chore: upgrade to prettier v2 + enforce import types (#21013)Co-authored-by: Satish Gandham <hello@satishgandham.com> Co-authored-by: Satish Gandham <satish.iitg@gmail.com> 2023-03-16 17:11:47 +05:30
useInteractionAnalyticsEvent.ts chore: upgrade to prettier v2 + enforce import types (#21013)Co-authored-by: Satish Gandham <hello@satishgandham.com> Co-authored-by: Satish Gandham <satish.iitg@gmail.com> 2023-03-16 17:11:47 +05:30
useIsScrolledToBottom.tsx
useOnClickOutside.tsx chore: upgrade to prettier v2 + enforce import types (#21013)Co-authored-by: Satish Gandham <hello@satishgandham.com> Co-authored-by: Satish Gandham <satish.iitg@gmail.com> 2023-03-16 17:11:47 +05:30
useOnUpgrade.ts chore: add consistent-type-definitions rule (#27907) 2023-10-11 10:35:24 +03:00
usePositionedContainerZIndex.ts chore: upgrade to prettier v2 + enforce import types (#21013)Co-authored-by: Satish Gandham <hello@satishgandham.com> Co-authored-by: Satish Gandham <satish.iitg@gmail.com> 2023-03-16 17:11:47 +05:30
usePrevious.tsx fix: AppViewer init and page fetch logic (#14294) 2022-06-10 18:22:59 +00:00
useProceedToNextTourStep.tsx chore: upgrade to prettier v2 + enforce import types (#21013)Co-authored-by: Satish Gandham <hello@satishgandham.com> Co-authored-by: Satish Gandham <satish.iitg@gmail.com> 2023-03-16 17:11:47 +05:30
useReflow.ts chore: add consistent-type-definitions rule (#27907) 2023-10-11 10:35:24 +03:00
useResize.tsx chore: upgrade to prettier v2 + enforce import types (#21013)Co-authored-by: Satish Gandham <hello@satishgandham.com> Co-authored-by: Satish Gandham <satish.iitg@gmail.com> 2023-03-16 17:11:47 +05:30
useResizeObserver.tsx feat: js object v1 run and settings redesign (#11456) 2022-04-28 17:51:02 +01:00
useResponsiveBreakpoints.tsx feat: responsive entity selector control (#20813) 2023-02-27 16:31:06 +05:30
useScript.tsx
useThrottledRAF.ts chore: upgrade to prettier v2 + enforce import types (#21013)Co-authored-by: Satish Gandham <hello@satishgandham.com> Co-authored-by: Satish Gandham <satish.iitg@gmail.com> 2023-03-16 17:11:47 +05:30
useWidgetConfig.ts chore: Move the widget config to widget class (#26073) 2023-09-06 17:45:04 +05:30
useWidgetSelection.ts chore: Add new navigation scenarios for route change event (#21682) 2023-03-30 11:03:29 +05:30
useWindowDimensions.tsx