kafka-ui/kafka-ui-react-app/src/components/common
Snowfox0618 18c046af5b
[FE] Fix number of partitions field validation issue (#3400)
* Now user can only input valid digits, and '-' is not allowed in positive-only inputs.

* Fix ISSUE#3319

Now user can only input valid digits, and '-' is not allowed in positive-only inputs.

* Revert "Fix ISSUE#3319"

This reverts commit a4e34f5af3.

* Fix ISSUE#3319
Created a helper function, and added a unit test to cover it.

* Fix ISSUE#3319
Located the helper function outside the component, and renamed some unit tests to make their meaning more clear.

* Fix ISSUE#3319
- Added an attribute 'integerOnly' to component 'Input', to represent whether this input component instance will accept decimal.
- Improved input-check function and paste-check function, to avoid invalid number format (like '3-3', '3.3.3').
- Added new unit tests to test new input-check and paste-check functions.
- Added attribute 'integerOnly' to Input instances in the TopicForm component.
2023-03-06 12:50:58 +04:00
..
ActionComponent [FE] Brokers: fix missing tooltip for config source (#3356) 2023-03-06 12:49:38 +04:00
Alert Testing library update to 14.4.3 (#2741) 2022-10-26 23:15:25 +04:00
Button FE: Redesign connector actions (#3197) 2023-02-23 15:47:59 +04:00
BytesFormatted [FE] Add a space to formatted sizes (#2848) 2022-11-07 17:01:57 +04:00
ConfirmationModal New Confirmation Messages modal (#2376) 2022-08-03 11:37:35 +03:00
ControlPanel Use back link instead of breadcrumbs (#2430) 2022-08-15 14:08:10 +03:00
DiffViewer replace enzyme with testing library (#1909) 2022-05-11 01:36:25 +03:00
Dropdown Role based access control (#2790) 2022-12-22 17:05:53 +04:00
Editor made adaptive heigth in connectors config component (#1583) 2022-02-10 15:07:03 +03:00
EditorViewer Upgrade dependancies (#2290) 2022-07-19 12:42:32 +03:00
Form Use back link instead of breadcrumbs (#2430) 2022-08-15 14:08:10 +03:00
heading got rid of the dead code (#2286) 2022-07-18 18:33:44 +03:00
Icons FE: Redesign connector actions (#3197) 2023-02-23 15:47:59 +04:00
IndeterminateCheckbox Use new table component for topics list (#2426) 2022-08-12 15:36:07 +03:00
Input [FE] Fix number of partitions field validation issue (#3400) 2023-03-06 12:50:58 +04:00
Logo [FE] Add the logo (#1611) 2022-02-18 12:32:54 +03:00
Metrics Topic statistics (#2413) 2022-08-09 16:13:03 +03:00
MultiSelect [Experimental] New Messages layout (#2462) 2022-09-20 13:44:02 +03:00
Navigation Role based access control (#2790) 2022-12-22 17:05:53 +04:00
NewTable [FE] Fix number of partitions field validation issue (#3400) 2023-03-06 12:50:58 +04:00
PageHeading Use back link instead of breadcrumbs (#2430) 2022-08-15 14:08:10 +03:00
PageLoader Redesign (#1045) 2021-12-15 12:10:36 +03:00
ProgressBar Topic statistics (#2413) 2022-08-09 16:13:03 +03:00
PropertiesList [Experimental] New Messages layout (#2462) 2022-09-20 13:44:02 +03:00
Search Testing library update to 14.4.3 (#2741) 2022-10-26 23:15:25 +04:00
Select Testing library update to 14.4.3 (#2741) 2022-10-26 23:15:25 +04:00
SlidingSidebar [Experimental] New Messages layout (#2462) 2022-09-20 13:44:02 +03:00
SQLEditor replace enzyme with testing library (#1909) 2022-05-11 01:36:25 +03:00
SuspenseQueryComponent [FE] Implement 404/403s (#2966) 2022-12-09 13:31:51 +04:00
Switch got rid of the dead code (#2286) 2022-07-18 18:33:44 +03:00
table Testing library update to 14.4.3 (#2741) 2022-10-26 23:15:25 +04:00
Tag Get rid of SmartTable component (#2444) 2022-08-15 13:46:13 +03:00
Textbox [ISSUE 1406] Get rid of direct use of colors map. Refactoring. 2022-01-25 18:10:02 +03:00
Tooltip [FE] Brokers: fix missing tooltip for config source (#3356) 2023-03-06 12:49:38 +04:00