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

feat(hub-common): hubSearchEvents switch to new POST events search route #1787

Merged

Conversation

velveetachef
Copy link
Contributor

affects: @esri/hub-common

https://devtopia.esri.com/dc/hub/issues/12274

  1. Description: In hubSearchEvents, swap getEvents with searchEvents. This function points to the new POST /events/search route. Update the process filter and options functions for the new interface (remove parsing to string)

  2. Instructions for testing:

  3. Closes Issues: # (if appropriate)

  4. Updated meaningful TSDoc to methods including Parameters and Returns, see Documentation Guide

  5. used semantic commit messages

  6. PR title follows semantic commit format (CRITICAL if the title is not in a semantic format, the release automation will not run!)

  7. updated peerDependencies as needed. CRITICAL our automated release system can not be counted on to update peerDependencies so we must do it manually in our PRs when needed. See the updating peerDependencies section of the release instructions for more details.

@velveetachef velveetachef force-pushed the f/12274-hubSearchEvents-use-new-post-search-events-route branch from bf96ac7 to fa81971 Compare January 30, 2025 00:03
Copy link
Contributor

@juliannaeapicella juliannaeapicella left a comment

Choose a reason for hiding this comment

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

LGTM! Thanks for making these updates.

Copy link
Contributor

@rweber-esri rweber-esri left a comment

Choose a reason for hiding this comment

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

LGTM, I pulled this branch into my opendata-ui sandbox and verified things are working as expected. Nj!

One minor request, would you remind removing this line as userId is not a supported filter.

@velveetachef velveetachef force-pushed the f/12274-hubSearchEvents-use-new-post-search-events-route branch from 98a0d14 to 945a1d1 Compare January 31, 2025 17:09
@velveetachef velveetachef merged commit 8fbb944 into master Jan 31, 2025
5 checks passed
@velveetachef velveetachef deleted the f/12274-hubSearchEvents-use-new-post-search-events-route branch January 31, 2025 17:34
esri-dcdev-2 pushed a commit that referenced this pull request Jan 31, 2025
# @esri/hub-common [15.26.0](https://github.com/Esri/hub.js/compare/@esri/[email protected]...@esri/[email protected]) (2025-01-31)

### Features

* **hub-common:** hubSearchEvents switch to new POST events search route ([#1787](#1787)) ([8fbb944](8fbb944))
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.

4 participants