Skip to content

Move Kafka/URL/S3 resource creation into + New; simplify pages (closes #175)#176

Merged
rbardaji merged 2 commits into
mainfrom
feature/175-resources-into-new-menu
May 21, 2026
Merged

Move Kafka/URL/S3 resource creation into + New; simplify pages (closes #175)#176
rbardaji merged 2 commits into
mainfrom
feature/175-resources-into-new-menu

Conversation

@rbardaji

Copy link
Copy Markdown
Collaborator

Summary

  • The "+ New" menu now creates Kafka topic, URL resource and S3 resource too (alongside Organization, Dataset, Service).
  • /kafka-topics, /url-resources, /s3-resources are 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.
  • The "Resources" navigation dropdown is removed; S3 Management (bucket/object tool, not a catalog-creation flow) becomes a top-level nav item. Dead dropdown state/refs/handlers and the unused FolderOpen import were cleaned up.

Backwards compatibility

  • UI-only reorganization. No API behavior, request/response shapes, or routes change. /kafka-topics, /url-resources, /s3-resources remain (now create-only); /s3-management is unchanged.
  • Resources registered before the creator-hash feature don't expose Delete on Search; no migration.

Test plan

  • react-scripts build succeeds (-3.68 kB net thanks to the simplified pages).
  • End-to-end with raul/raul: POST /kafka, POST /url, POST /s3 each return 201 with the simplified payloads the new forms send.
  • Nav: "+ New" shows the six items; "Resources" dropdown gone; "S3 Management" is a top-level link.

Closes #175.

Raul Bardaji 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.
@rbardaji rbardaji merged commit 8cd1120 into main May 21, 2026
1 check passed
@rbardaji rbardaji deleted the feature/175-resources-into-new-menu branch May 21, 2026 08:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Move Kafka/URL/S3 resource creation into + New and simplify those pages

1 participant