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

Datahub: fix some issues in query URL generation form #1106

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

jahow
Copy link
Collaborator

@jahow jahow commented Jan 31, 2025

Description

This PR fixes #1067 to use the correct mime-type when generating an URL in the API form.

This also supports specifying a collection name alongside an OGC API link instead of having the URL already point to a specific collection.

Architectural changes

none

Screenshots

image

Quality Assurance Checklist

  • Commit history is devoid of any merge commits and readable to facilitate reviews
  • If new logic ⚙️ is introduced: unit tests were added
  • If new user stories 🤏 are introduced: E2E tests were added
  • If new UI components 🕹️ are introduced: corresponding stories in Storybook were created
  • If breaking changes 🪚 are introduced: add the breaking change label
  • If bugs 🐞 are fixed: add the backport <release branch> label
  • The documentation website 📚 has received the love it deserves

Copy link
Contributor

github-actions bot commented Jan 31, 2025

Affected libs: ui-elements,
Affected apps: metadata-editor,

  • 🚀 Build and deploy storybook and demo on GitHub Pages
  • 📦 Build and push affected docker images

@jahow jahow added this to the 2.4.0 milestone Jan 31, 2025
Copy link
Contributor

github-actions bot commented Jan 31, 2025

📷 Screenshots are here!

@jahow jahow force-pushed the fix-ogc-api-url-generation branch 2 times, most recently from 37290df to 9172df7 Compare January 31, 2025 10:52
@coveralls
Copy link

coveralls commented Jan 31, 2025

Coverage Status

coverage: 84.26% (-1.4%) from 85.69%
when pulling d6933a5 on fix-ogc-api-url-generation
into 513309b on main.

jahow added 2 commits January 31, 2025 12:20
If multiple collections are available in an endpoint then use the name in the
online resource instead of the first collection
@jahow jahow force-pushed the fix-ogc-api-url-generation branch from 9172df7 to d6933a5 Compare January 31, 2025 11:21
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.

datahub - incorrect query to OGC API Features
2 participants