Commit Graph

41 Commits

Author SHA1 Message Date
Ashok Kumar M
bf21c15ba9
Feature: Property pane enhancements(Bug fixes + Draggable popper) (#3748)
* Fix: On renaming a widget via entity explorer the canvas gets resized

* Fix: Close prop pane on resize start of unselected widget.

* Fix: Match all - corejs polyfill

* Fix: Proppane not updated properly when same type widgets are selected.

* Feature: Draggable Proppane.

* Bug fixes for draggable popup.

* Fix: Property pane editor when selecting another widget.

* resolve rebase bad merges.

* cytest fix

* cytest fix

* cytest fix

* cytest fix

* cytest fix

* cytest fix

* cytest fixes

* cytest fix

* fixing draggable components inside porp pane.

* Adding cypress test.

* refactored Draggable list POC version

* reverting unwanted changes.

* prop pane bug fix

* unwanted dependencies.

* double click to open prop pane.

* Fixing bugs in draggable prop pane.

* one click prop pane open.

* ignore drag/resize click captures

* make prop pane draggable only via drag handler.

* Fixed property pane title.

* converting layer to hook and adding it to top most layer.

* removing irrelevant comments.

* close panel when widget changes.

* fixing cytests.

* bug fix

* fixing cytest

* Addressing code review comments.

* bug fix
2021-03-29 21:17:22 +05:30
hetunandu
b0580e9ee0 Revert "Feature: Property Pane improvements (#3561)"
This reverts commit 3437c16ef0.
2021-03-29 16:58:22 +05:30
Ashok Kumar M
3437c16ef0
Feature: Property Pane improvements (#3561)
* Fix: On renaming a widget via entity explorer the canvas gets resized

* Fix: Close prop pane on resize start of unselected widget.

* Fix: Match all - corejs polyfill

* Fix: Proppane not updated properly when same type widgets are selected.

* Feature: Draggable Proppane.

* Bug fixes for draggable popup.

* Fix: Property pane editor when selecting another widget.

* resolve rebase bad merges.

* cytest fix

* cytest fix

* cytest fix

* cytest fix

* cytest fix

* cytest fix

* cytest fixes

* cytest fix

* fixing draggable components inside porp pane.

* Adding cypress test.

* refactored Draggable list POC version

* reverting unwanted changes.

* prop pane bug fix

* unwanted dependencies.

* double click to open prop pane.

* Fixing bugs in draggable prop pane.

* one click prop pane open.

* ignore drag/resize click captures

* make prop pane draggable only via drag handler.

* Fixed property pane title.

* converting layer to hook and adding it to top most layer.

* removing irrelevant comments.

* close panel when widget changes.

* fixing cytests.

* bug fix

* fixing cytest

* Addressing code review comments.

* bug fix
2021-03-29 15:28:52 +05:30
Piyush Mishra
806a139ddb
Make prettier changes (#2337) 2020-12-24 10:02:25 +05:30
Rishabh Saxena
29d87a88f0
unmount during drag (#2168) 2020-12-14 12:38:00 +05:30
Abhinav Jha
76ae0103bf
Upgrade npm packages (#1079)
Co-authored-by: Hetu Nandu <hetunandu@gmail.com>
2020-10-12 18:36:05 +05:30
NandanAnantharamu
05f190c102
Feature/entity browse (#220)
# New Feature: Entity Explorer
- Entities are actions (apis and queries), datasources, pages, and widgets
- With this new feature, all entities in the application will be available
  to view in the new entity explorer sidebar
- All existing application features from the api sidebar, query sidebar, datasource sidebar and pages sidebar
  now are avialable on the entity explorer sidebar
- Users are now able to quickly switch to any entity in the application from the entity explorer sidebar.
- Users can also search all entities in the application from the new sidebar. Use cmd + f or ctrl + f to focus on the search input
- Users can rename entities from the new sidebar
- Users can also perform contextual actions on these entities like set a page as home page, copy/move actions, delete entity, etc from the context menu available alongside the entities in the sidebar
- Users can view the properties of the entities in the sidebar, as well as copy bindings to use in the application.
2020-08-10 14:22:45 +05:30
Abhinav Jha
591a5d3eff Close property pane when clicking outside the property pane. Select widget when toggling open the property pane. 2020-05-13 19:58:27 +05:30
Abhinav Jha
0bf035e927 Stop showing property pane on click 2020-05-08 15:31:36 +00:00
Vicky Bansal
fc5f417923 Fix/map issues 2020-05-07 10:51:37 +00:00
Abhinav Jha
a0872b97f2 Generate widgets from blueprint. Close previously open modals when showing a modal. Fix unicode page name issue in pagelist sidebar 2020-03-27 09:02:11 +00:00
Satbir Singh
39009b0807 Page events 2020-03-18 14:31:30 +00:00
Satbir Singh
cfb967117c More events 2020-03-11 13:59:46 +00:00
Abhinav Jha
e3d63f0b22 Remove roboto font. Change the property pane toggling mechanism. Increase max bottom row offset for main container from 2 to 5. Fix padding and offsets for the widget border component, resize handles. 2020-03-06 09:33:20 +00:00
Abhinav Jha
37c96ab839 Fix - P0 issues 2020-03-04 08:10:40 +00:00
Satbir Singh
d6d6d4b40d Feature/events 2020-03-03 07:02:53 +00:00
Abhinav Jha
7e48cfa70a Add classes to property controls 2020-02-27 03:56:30 +00:00
Abhinav
b0211049f8 Fix resize flicker. Add resize handles to corners. Enforce minimum width and height for widgets. 2020-02-19 15:30:03 +05:30
Abhinav
2340250ba0 Fix cherry pick conflicts 2020-02-19 01:33:55 +05:30
Abhinav Jha
dac746d1e6 Transparent Canvas - Template 1 2020-02-13 09:32:24 +00:00
Abhinav Jha
12c8bfe374 Focus widget only if not already focused. Remove routerparams reducer, we have the info in editorReducer. Change anchor link to button to remove accessibility warnings. 2020-02-12 15:06:08 +05:30
Abhinav Jha
474f98f4fc Misc UI Fixes 2020-01-28 17:16:04 +05:30
Abhinav Jha
f92c233323 Ad-hoc changes for ui styles. 2020-01-28 08:21:22 +00:00
Abhinav Jha
b1b5f5c669 Remove double click, add single click to property pane. 2020-01-24 10:44:15 +00:00
Abhinav Jha
2b44c712e9 New Widget drag effects 2020-01-20 09:00:37 +00:00
Abhinav Jha
99d660370d Cleanup
DragLayerComponent
2020-01-16 11:46:21 +00:00
Abhinav Jha
92b9ca664f Fix widget drag issue 2020-01-10 17:45:54 +05:30
Satbir Singh
f9b7777828 Column resize reorder and hiding columns 2020-01-09 11:39:26 +00:00
Abhinav Jha
3d5fa544fc When dragging/resizing a widget, the other widgets' boundaries show up. 2020-01-08 10:49:01 +05:30
Abhinav Jha
00bbbd89cd Show props button is now toggle button. New widgets get selected on addition 2020-01-07 17:59:55 +05:30
Abhinav Jha
9d7eaaca80 Optimize popper creation and destructions. Preserve property pane visibility before and after actions. 2020-01-07 17:58:58 +05:30
Abhinav Jha
40d160fb78 Widget name colors and resize handle colors and edit control colors 2020-01-07 17:57:50 +05:30
Abhinav Jha
3483975e0b Selected and Focused states of widgets 2020-01-06 16:32:22 +05:30
Abhinav Jha
189c380e85 Property pane should open on move, add and resize 2020-01-02 18:12:02 +05:30
Abhinav Jha
3e88ae0074 Property pane toggle scenario updates 2020-01-02 16:34:36 +05:30
Abhinav Jha
d9b8059799 Focus widget on hover. Show property pane on double click 2019-12-27 15:40:04 +05:30
Abhinav Jha
a7a83119ee Drag all widgets on touch and move 2019-12-25 14:47:37 +05:30
Abhinav Jha
64996d1c3e Fix #413: Adhere widget name and controls to designs 2019-12-19 12:14:31 +05:30
Hetu Nandu
fbb7742f0e moved to absolute paths for all fiels 2019-11-25 10:37:27 +05:30
Abhinav Jha
03e78f0751 WIP: Allow absolute paths for imports. Refactor ContainerComponent.tsx to PositionedContainer.tsx, CanvasWidgetContainer.tsx, ContainerComponent.tsx. Refactor all widgets and components to adhere to new props and apis. 2019-11-13 07:00:25 +00:00
Nikhil Nandagopal
3e9f278b95 Release 2019-11-05 05:09:50 +00:00