Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enhancement/improve time to retain usability v2 #35

Merged
merged 2 commits into from
Apr 28, 2020

Conversation

Gataniel
Copy link
Contributor

@Gataniel Gataniel commented Apr 20, 2020

#21
time to retain field is hard to use due to its value in ms
made the field more user-friendly by adding buttons to the bottom of the input which set the value in ms, but represent it as custom text within a button, f.e 12h, 1d, 2d, 1w etc

the first option was to use html5 datalist, but I changed my mind since its well supported in Chrome only, as for the other browsers its not that usable, especially Safari

@Gataniel Gataniel requested a review from workshur April 20, 2020 09:32
@Gataniel Gataniel self-assigned this Apr 20, 2020
@germanosin germanosin merged commit 2d45c48 into master Apr 28, 2020
@germanosin germanosin deleted the enhancement/improve-time-to-retain-usability-v2 branch April 28, 2020 11:21
@germanosin germanosin added this to To do in Kafka UI Apr 28, 2020
@germanosin germanosin moved this from To do to Done in Kafka UI Apr 28, 2020
yazebochan added a commit that referenced this pull request May 12, 2020
* Refactor for mono (#28)

* starting refactor mono

* topics and cluster refactored into mono way instead of get

* fixed dirty mistakes

* param

* changed collecttopicdata method to correctly

* refactored metrics to copyonwrite methoology

* metrics params updated

* fixed silly mistake

* Let's think immutable

* immutable

* dumb mistakes fixed

* changed to immutable

* added new mappers

* changed to immutable

* typo was fixed

* imports were cleared

* Refactored

* imports were optimized

Co-authored-by: Roman Nedzvetskiy <roman@Romans-MacBook-Pro.local>
Co-authored-by: German Osin <german.osin@gmail.com>

* need to refactor

* issue-31/add-ui-prefix-for-react-routes (#34)

* issue-31/add-ui-prefix-for-react-routes

* added route for /ui path (#40)

Co-authored-by: Roman Nedzvetskiy <roman@Romans-MacBook-Pro.local>

Co-authored-by: Roman Nedzvetskiy <gmcodemail@gmail.com>
Co-authored-by: Roman Nedzvetskiy <roman@Romans-MacBook-Pro.local>

* fix-bug-topic-not-creatable-when-no-custom-params (#37)

* fix-bug-topic-not-creatable-when-no-custom-params

* remove-linter-changes-to-cleanup-PR

* Enhancement/improve time to retain usability v2 (#35)

* enhancement/improve-time-to-retain-usability

* add-btn-controls-for-time-to-retain-for-topics

* updating of topic done properly

* Added supportedCommands enum in cluster for getting correct method for topics settings update, changed request version from patch to put

* AdminClient now boxed into extendedAdminClient

* Redundant imports removed

* SupportedFeatures method moved to util

* Methods of updating cluster separated

* Subsribed to change topics methods, replaced path of ts class

* fix-routes-for-details (#45)

* Added test and changed getAdminClient logic from clusterId to clusterName

* Changed updating methods mono logic, added update cluster topic method

* Fixed test by removing updateCluster calls, fixed add topic

* Removed redundant injection and import

* Added behaviour if topic wasn't created

* Removed redundant imports

* Dublicate lines in ClusterService moved to updateCluster method

* CreateTopic method updated -- now returns topicName, update topic method changed -- removed redundant param clusterName

Co-authored-by: Roman Nedzvetskiy <roman@Romans-MacBook-Pro.local>
Co-authored-by: German Osin <german.osin@gmail.com>
Co-authored-by: Azat Gataullin <Gataniel@gmail.com>
javalover123 pushed a commit to javalover123/kafka-ui that referenced this pull request Dec 7, 2022
* enhancement/improve-time-to-retain-usability

* add-btn-controls-for-time-to-retain-for-topics
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
Kafka UI
  
Done
Development

Successfully merging this pull request may close these issues.

None yet

2 participants