PromucFlow_constructor/app/client/src/components/editorComponents
arunvjn ea1787ae41
fix: Visual changes to code inside appsmith (#22652)
## Description
This PR contains some UI changes for code in Appsmith.
- Sets font-family as ui-monospace for text in code editors and JSON
viewer (used in evaluated value popup and debugger).
- Sets font-size of text in code editors to 13px.
- Set font-size for text in autocomplete to 11px.
- Added line highlight to indicate the active line. This will be the
focus state of JS Editor going forward.
- Removed border-bottom for Tabs in JS Editor to keep it consistent with
rest of the pages.
- Introduces new colors as mentioned in this
[doc](https://www.notion.so/appsmith/Visual-changes-to-code-in-Appsmith-8bb530c60ee844e5b44adec039bf9280#d99e8450f022439f845b5a0d7deb1d3f).

> Add a TL;DR when description is extra long (helps content team)

Fixes #22992 


Media


## Type of change
- New feature (non-breaking change which adds functionality)

## How Has This Been Tested?
- Manual
- Jest

### Test Plan
1. Verified JSeditor - variable functions keywords numbers operators
arguments function properties font and colour
2. Verified Property pane font and colour
3. Verified above in mac and windows machine

### 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:
- [ ] Test plan has been approved by relevant developers
- [ ] Test plan has been peer reviewed by QA
- [ ] Cypress test cases have been added and approved by either SDET or
manual QA
- [ ] Organized project review call with relevant stakeholders after
Round 1/2 of QA
- [ ] Added Test Plan Approved label after reveiwing all Cypress test

---------

Co-authored-by: Ravi Kumar Prasad <ravi@appsmith.com>
2023-05-11 23:08:10 +05:30
..
ActionCreator feat: Bundle optimization and first load improvements (#21667) 2023-05-11 10:56:03 +05:30
ActionRightPane feat: util to serve images locally or via remote url (#22080) 2023-04-10 12:32:31 +05:30
CodeEditor fix: Visual changes to code inside appsmith (#22652) 2023-05-11 23:08:10 +05:30
Debugger feat: Bundle optimization and first load improvements (#21667) 2023-05-11 10:56:03 +05:30
form fix: Fix null value for entity config filter parameters (#22966) 2023-05-11 17:03:38 +05:30
GlobalSearch chore: Action create option order: Maintain parity with EE repo (#23162) 2023-05-11 14:53:16 +05:30
HighlightedCode 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
LazyCodeEditor feat: Bundle optimization and first load improvements (#21667) 2023-05-11 10:56:03 +05:30
LightningMenu 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
WidgetNameComponent feat: Add widget responsiveness and conversion algorithm (#21386) 2023-04-07 09:51:35 -04:00
WidgetQueryGeneratorForm chore: Removing feature flag for app level invites (#22650) 2023-04-26 12:48:16 +05:30
ActionNameEditor.tsx feat: util to serve images locally or via remote url (#22080) 2023-04-10 12:32:31 +05:30
ApiResponseView.tsx fix: Visual changes to code inside appsmith (#22652) 2023-05-11 23:08:10 +05:30
AutoResizeTextArea.test.tsx feat: multi-line input and auto-resize textarea (#19141) 2023-01-17 18:46:35 +05:30
AutoResizeTextArea.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
BetaCard.tsx feat: App Theming (#9714) 2022-05-04 15:15:57 +05:30
Button.tsx feat: Bundle optimization and first load improvements (#21667) 2023-05-11 10:56:03 +05:30
Checkbox.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
CloseEditor.tsx chore: Add new navigation scenarios for route change event (#21682) 2023-03-30 11:03:29 +05:30
ContextDropdown.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
Divider.tsx feat: Entity explorer UI redesign (#9811) 2022-01-29 12:56:19 +05:30
DraggableComponent.test.tsx feat: Improved App Navigation (#19312) 2023-03-23 17:11:58 +05:30
DraggableComponent.tsx feat: Improved App Navigation (#19312) 2023-03-23 17:11:58 +05:30
DragLayerComponent.test.tsx chore: Remove collaboration pointers from the Editor (#19660) 2023-03-15 22:10:06 +05:30
DragLayerComponent.tsx feat: Auto height instant update (#19082) 2023-02-03 11:17:40 +05:30
DropdownComponent.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
DropTargetComponent.tsx feat: Expand auto height implementation to handle auto height use cases. (#22974) 2023-05-11 10:15:14 +05:30
DropTargetUtils.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
EditableText.tsx feat: Renamed design system package (#19854) 2023-01-23 09:20:47 +05:30
EditorContextProvider.test.tsx feat: Expand auto height implementation to handle auto height use cases. (#22974) 2023-05-11 10:15:14 +05:30
EditorContextProvider.tsx feat: Expand auto height implementation to handle auto height use cases. (#22974) 2023-05-11 10:15:14 +05:30
EntityBottomTabs.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
EntityNameComponent.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
ErrorBoundry.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
ErrorTooltip.tsx feat: Automatic height updates for widgets based on contents (Auto Height) (#18341) 2022-11-23 15:18:23 +05:30
Form.tsx User Auth Flow 2019-12-16 08:49:10 +00:00
FormLabel.tsx feat: Appsmith design system changes (#8125) 2021-10-04 21:04:37 +05:30
FormRow.tsx fix: Ghseets scroll bug(#6634) 2021-09-01 14:41:51 +05:30
HelperTooltip.tsx Development: Add eslint rules for code consistency (#4083) 2021-04-28 15:58:39 +05:30
InputComponent.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
JSResponseView.tsx chore: code splitting changes for appsmith ai v0.1 (#22521) 2023-04-20 20:42:35 +05:30
LetterIcon.tsx Development: Add eslint rules for code consistency (#4083) 2021-04-28 15:58:39 +05:30
LoadingOverlayScreen.tsx Minor Api pane design and logic fixes (#3091) 2021-02-22 11:45:02 +05:30
NavBarItem.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
PageLoader.tsx Development: Add eslint rules for code consistency (#4083) 2021-04-28 15:58:39 +05:30
PaneWrapper.tsx feat: Appsmith design system changes (#8125) 2021-10-04 21:04:37 +05:30
PropertyPaneSidebar.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
ReadOnlyEditor.tsx fix: Visual changes to code inside appsmith (#22652) 2023-05-11 23:08:10 +05:30
RequestView.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
ResizableComponent.tsx chore: Removing feature flag for app level invites (#22650) 2023-04-26 12:48:16 +05:30
ResizableUtils.test.ts feat: Automatic height updates for widgets based on contents (Auto Height) (#18341) 2022-11-23 15:18:23 +05:30
ResizableUtils.ts feat: Add widget responsiveness and conversion algorithm (#21386) 2023-04-07 09:51:35 -04:00
ResizeStyledComponents.tsx feat: Add widget responsiveness and conversion algorithm (#21386) 2023-04-07 09:51:35 -04:00
SelectComponent.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
Sidebar.tsx feat: signposting stickiness (#22088) 2023-05-02 15:22:05 +05:30
SnipeableComponent.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
Spinner.tsx Feature - update widget name 2020-02-21 12:16:49 +00:00
StoreAsDatasource.tsx feat: Bundle optimization and first load improvements (#21667) 2023-05-11 10:56:03 +05:30
Tooltip.tsx Feature/entity browse (#220) 2020-08-10 14:22:45 +05:30
utils.test.ts feat: upgrade to create react app 5 (#14000) 2022-06-21 19:27:34 +05:30
utils.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
WidgetComponentBoundary.tsx fix: clickable containers in the List widget (#21987) 2023-04-14 14:55:44 +01:00