Move Kafka/URL/S3 resource creation into + New; simplify pages (closes #175)#176
Merged
Conversation
added 2 commits
May 21, 2026 02:49
Closes #175. Mirror the organization/service/dataset reorganization for the three remaining catalog resource types: - The "+ New" menu gains "Kafka topic", "URL resource" and "S3 resource" items next to Organization, Dataset and Service. - /kafka-topics, /url-resources and /s3-resources are simplified to single-purpose creation forms (org dropdown + type-specific fields + key/value extras). Listing, editing and deletion are dropped — those resources are CKAN packages, so they already appear in the Search Datasets group and owned ones expose the existing Delete action. - The "Resources" navigation dropdown is removed. Its only remaining entry that is not a catalog-creation flow, S3 Management (bucket and object management), becomes a top-level nav item. The now-unused dropdown state/refs/handlers and the FolderOpen import are cleaned up. Routes are unchanged (/kafka-topics, /url-resources, /s3-resources stay, now create-only; /s3-management unchanged), and no API behavior or payload shapes change.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
/kafka-topics,/url-resources,/s3-resourcesare simplified to single-purpose creation forms (org dropdown + type-specific fields + key/value extras). Listing/edit/delete are dropped — these are CKAN packages, so they appear in the Search Datasets group and owned ones expose the existing Delete action.FolderOpenimport were cleaned up.Backwards compatibility
/kafka-topics,/url-resources,/s3-resourcesremain (now create-only);/s3-managementis unchanged.Test plan
react-scripts buildsucceeds (-3.68 kB net thanks to the simplified pages).raul/raul:POST /kafka,POST /url,POST /s3each return 201 with the simplified payloads the new forms send.Closes #175.