PromucFlow_constructor/app/client/src/constants
Rahul Barwal 2fef626dcc
feat: adds see more to canvas starter templates (#29777)
## Description
* This PR increases discovery of building blocks, allowing more building
blocks to be shown in canvas.
* We also refactored the way `add a page from template` functions: now
we have updated store structure to reflect from where the modal open was
triggered.
* This pull request refactors the template styling and adds support for
an optional modal layout. It also includes various updates and fixes to
the styled components used in the templates feature.

#### PR fixes following issue(s)
Fixes #29723
> if no issue exists, please create an issue and ask the maintainers
about this first
>
>
#### 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

- New feature (non-breaking change which adds functionality)
## 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
- [x] 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


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

- **New Features**
- Implemented a modal for template selection with the ability to hide
it.
	- Added a "See More" text option for template page layouts.
	- Introduced layout switching capability within the templates modal.

- **Enhancements**
	- Updated template list and content components to support modal layout.
	- Added initial filter state management for template filtering.

- **Refactor**
	- Renamed selectors and actions for clarity and consistency.
- Improved logic for determining template forking and filter component
behavior.

- **Bug Fixes**
	- Adjusted styles to correctly apply margins in various layouts.

- **Documentation**
	- Updated messages and constants with more accurate terminology.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2023-12-27 10:29:33 +05:30
..
ApiEditorConstants feat: http2 support for REST API and GraphQL (#29304) 2023-12-19 15:56:20 +05:30
AppsmithActionConstants feat: http2 support for REST API and GraphQL (#29304) 2023-12-19 15:56:20 +05:30
defs feat: show additional info for autocomplete results (#28564) 2023-11-10 13:36:10 +05:30
routes chore: Refactoring API wiring for actions and JS actions to support private entity renaming on EE (#29763) 2023-12-21 10:22:54 +05:30
AppConstants.ts chore: Create a separate theme settings panel for WDS (#29196) 2023-12-01 15:39:21 +03:00
BindingsConstants.ts revert: Reverting PR 23245 as regex is using lookbehind which is not … (#24306) 2023-06-12 13:01:29 +05:30
CanvasEditorConstants.tsx chore: add consistent-type-definitions rule (#27907) 2023-10-11 10:35:24 +03:00
collectionsConstants.ts chore: add consistent-type-definitions rule (#27907) 2023-10-11 10:35:24 +03:00
Colors.tsx feat: Add widget responsiveness and conversion algorithm (#21386) 2023-04-07 09:51:35 -04:00
componentClassNameConstants.ts chore: code changes for widget position observer and widget name on canvas (#27367) 2023-10-06 15:37:43 +05:30
Currency.tsx chore: integrate currency input widget (#28566) 2023-11-15 15:57:50 +03:00
Datasource.ts feat: Datasource preview page in view mode (#26381) 2023-08-30 08:14:14 +01:00
DatasourceEditorConstants.ts fix: table selection in schema preview data broken (#27823) 2023-10-06 17:35:19 +05:30
DefaultTheme.tsx chore: add consistent-type-definitions rule (#27907) 2023-10-11 10:35:24 +03:00
DocumentationLinks.ts chore: Sunset Omnibar Documentation and Snippets (#24787) 2023-06-30 15:51:08 +05:30
Explorer.ts
FieldExpectedValue.ts
Fonts.tsx fix: Visual changes to code inside appsmith (#22652) 2023-05-11 23:08:10 +05:30
GitErrorCodes.ts feat: Error handling phase 1 (#20629) 2023-02-18 18:25:46 +05:30
HelpConstants.ts feat: [epic] appsmith design system version 2 deduplication (#22030) 2023-05-20 00:07:06 +05:30
IconConstants.tsx chore: add consistent-type-definitions rule (#27907) 2023-10-11 10:35:24 +03:00
ImagesURL.ts feat: util to serve images locally or via remote url (#22080) 2023-04-10 12:32:31 +05:30
ISDCodes_v2.tsx
ISDCodes.tsx
KeyboardShortcuts.ts
Layers.tsx fix: Added an Indice.Layer to the Border and Indicator of the Guided … (#25585) 2023-07-24 15:43:55 +05:30
minWidthConstants.ts feat: Auto layout appsmith editor and mobile responsiveness (#21151) 2023-03-04 12:55:54 +05:30
ProductUpdate.ts chore: add consistent-type-definitions rule (#27907) 2023-10-11 10:35:24 +03:00
PropertyControlConstants.tsx chore: Custom widget (alpha) (#27571) 2023-11-14 10:03:37 +05:30
providerConstants.ts chore: add consistent-type-definitions rule (#27907) 2023-10-11 10:35:24 +03:00
QueryEditorConstants.ts feat: Datasource preview page in view mode (#26381) 2023-08-30 08:14:14 +01:00
Regex.ts fix: display name validation (client) (#22938) 2023-05-04 18:29:57 +05:30
routes.test.ts chore: route builder refactor (#27905) 2023-10-12 11:01:22 +05:30
serverAssets.ts fix: oracle icon path (#22986) 2023-05-08 12:53:55 +05:30
StyleConstants.tsx
TemplatesConstants.tsx feat: adds see more to canvas starter templates (#29777) 2023-12-27 10:29:33 +05:30
ThemeConstants.tsx chore: add consistent-type-definitions rule (#27907) 2023-10-11 10:35:24 +03:00
ThirdPartyConstants.tsx fix: remove feature flag and minor fixes for git branch protection (#28770) 2023-11-13 13:37:18 +05:30
typography.ts
userConstants.ts fix: updated the design for the admin users (#29712) 2023-12-25 17:54:46 +05:30
WalkthroughConstants.ts feat: walkthrough optional footer (#28702) 2023-11-08 20:40:36 +05:30
WebsocketConstants.tsx
WidgetConstants.tsx chore: Remove server side filtering flag (#27663) 2023-10-04 13:48:41 +05:30
WidgetValidation.ts chore(deps): bump axios from 0.27.2 to 1.6.0 in /app/client (#28776) 2023-11-23 18:12:28 +05:30