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

Minor UI improvements #1892

Merged
merged 9 commits into from
Oct 4, 2024
Merged

Conversation

szczygiel-m
Copy link
Contributor

What has been done in this PR?

  • Fix validation of topics retention time
  • Admin is able to create JSON and AVRO topic regardless config
  • Form validation can be bypassed by admin
  • Additional topic and subscription form parameters for admin

@szczygiel-m szczygiel-m marked this pull request as ready for review September 9, 2024 08:51
@moscicky moscicky self-requested a review September 16, 2024 09:56
@@ -43,7 +43,8 @@ export const dummyTopicFormValidator = {
ownerSource: [required()],
owner: [required()],
contentType: [required()],
retentionTimeDuration: [required(), min(0), max(7)],
retentionTimeDurationDays: [required(), min(0), max(7)],
retentionTimeDurationHours: [required(), min(0), max(7)],
Copy link
Collaborator

@moscicky moscicky Sep 16, 2024

Choose a reason for hiding this comment

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

in hermes-console/src/composables/topic/use-form-topic/useFormTopic.ts we used max of 24 and different mins, is this intentional ?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

typo 😄 fixed

moscicky
moscicky previously approved these changes Sep 16, 2024
@szczygiel-m szczygiel-m force-pushed the minor_ui_improvements_august_2024 branch from 62c0b68 to d93066d Compare September 17, 2024 09:00
@szczygiel-m szczygiel-m merged commit 4d47803 into master Oct 4, 2024
26 of 27 checks passed
@szczygiel-m szczygiel-m deleted the minor_ui_improvements_august_2024 branch October 4, 2024 11:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants