Commit Graph

16 Commits

Author SHA1 Message Date
Aswath K
3824435f7d
chore: Adds analytics for Property Pane keyboard navigation (#13703)
* Adds analytics for DropdownControl

* Add isUpdatedViaKeyboard to WIDGET_PROPERTY_UPDATE

* fix: jest test for iconselectorcontrol

* refactor: Interaction analytics event dispatching moved to a hook

* refactor: event collection logic to HOC

* Analytics for SwitchControl

* Analytics for CodeEditor

* Analytics for InputTextControl

* Analytics for ColorPicker

* fix issue with ColorPicker

* refactor to re-use ref

* rename the hook to ts

* Analytics for StepControl

* Analytics for ButtonTabComponent

* Analytics for NumericInputControl

* Analytics for IconSelector

* fix: failed test

* Analytics for ActionSelector

* fix: failed jest test

* fix: jest test for StepControl

* Analytics for Option Control

* Analytics for LocationSearchControl

* Adds Analytics for Tab key

* analytics for Property pane connections

* Add analytics for widget name

* Adds analytics for copy & delete button

* fix issue with widget name analytics

* add useCallback for tab keydown handler for button

* Create separate Event handling for design system

* removes unused imports

* changes ADS_EVENT to DS_EVENT

* Changes AdsEventTypes to DSEventTypes

* Changes AdsEventDetail to DSEventDetail

* changes occurences of Ads to DS

* avoids creation of intermediate function

* removes trace of 'analytics' from DS components

* rename dispatchDSEvent to emitDSEvent

* fix: Cypress selector
2022-07-14 10:30:30 +05:30
Aswath K
478ae29b34
feat: Disable js toggle button if field is not empty (#12754)
* feat: Disable js toggle button if field is not empty and on non-default value

* allows certain values based on control type

* adds handling for more control types

* Change disabled message

* feat: makes option control delete button keyboard accessible

* adds support for theme values

* Adds support for border radius & box shadow controls

* message change and refactor

* minor correction in the message

* Add proper condition for Datepicker control

* fix one cypress test

* updated tests

* add checks for OptionControl

* Updated table binding test

Co-authored-by: apple <nandan@thinkify.io>
2022-06-16 15:17:35 +05:30
Abhinav Jha
b49f5097c6
refactor: Widget Development API (#6405) 2021-09-09 20:40:22 +05:30
Abhinav Jha
27804d6ec6 DRY property control creation. Generate ids for property pane config on the client. Add Multi switch control. Add Icon Widget (WIP). Enable blueprint based actions. 2020-04-14 05:35:16 +00:00
Satbir Singh
bb9fc29409 Page Params 2020-04-01 08:09:57 +00:00
Satbir Singh
1a71c8f317 Default option value multi select 2020-03-31 03:21:35 +00:00
Satbir Singh
bc7c3b8765 Fixing radio option blur on edit. 2020-03-19 08:37:31 +05:30
Hetu Nandu
855b49caee Fix js toggle issues 2020-03-16 07:59:07 +00:00
Hetu Nandu
5e0beb9fe7 Property Pane - Convert control to dynamic 2020-02-26 12:44:56 +00:00
Hetu Nandu
4343d7bdd8 Dropdown widget fixes 2020-02-14 07:48:33 +00:00
Abhinav Jha
f92c233323 Ad-hoc changes for ui styles. 2020-01-28 08:21:22 +00:00
Satbir Singh
2e97517779 Column actions feature 2020-01-23 07:53:36 +00:00
Satbir Singh
e0999a1795 Fixed dropdown property pane css 2019-12-18 17:05:28 +00:00
Hetu Nandu
fbb7742f0e moved to absolute paths for all fiels 2019-11-25 10:37:27 +05:30
Satbir Singh
5653b046df Adding delete radio option button and fixing ordering issues. 2019-11-13 10:35:35 +00:00
Nikhil Nandagopal
3e9f278b95 Release 2019-11-05 05:09:50 +00:00