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

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

Merged
merged 2 commits into from
Apr 28, 2020

Conversation

Gataniel
Copy link
Contributor

@Gataniel Gataniel commented Apr 21, 2020

Topic is not creatable with no custom params (spread merging undefined)

pay attention to https://github.com/provectus/kafka-ui/pull/37/files#diff-49f415954bd30f9765f7c00b7d0cd903R53 - the one and only thing changed

@Gataniel Gataniel added type/bug Something isn't working scope/frontend labels Apr 21, 2020
@Gataniel Gataniel self-assigned this Apr 21, 2020
@Gataniel Gataniel requested a review from workshur April 21, 2020 10:29
result[customParam.name] = customParam.value;
return result;
}, {});
const customParams =
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is the only changed line
the other changes are caused by linter

@germanosin germanosin merged commit 3c5b46b into master Apr 28, 2020
@germanosin germanosin deleted the fix-bug-topic-not-creatable-when-no-custom-params branch April 28, 2020 11:18
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
* fix-bug-topic-not-creatable-when-no-custom-params

* remove-linter-changes-to-cleanup-PR
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
scope/frontend type/bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants