-
Notifications
You must be signed in to change notification settings - Fork 2
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
Search Item Resources #3
Comments
Thanks for submitting this, @kerryrobinson! We have discussed a search for Item Resources but hadn't prioritized it because we had not seen many cases where there were more than a handful of resources per item. This is a perfect one 🙂 Out of curiosity – how useful would you find filtering capabilities like we've mocked up below? cc @codylawson |
@jpeterson Great. I think your mockup would work well... a combination of search and filtering by file type is perfect. Also the ability to view/edit a json file that's an item resource. |
Hey @kerryrobinson, just wanted to check back with a status update on this one... Here are a few implementation notes/questions we're pondering: Item Resources don't support queryingThe item resources endpoint (REST API, rest-js) doesn't appear to support querying or filtering of any kind. This means we would need to fetch all resources and do any filtering client-side. Should we prompt users to fetch all resources when there are many?It's possible there will be many resources for an item (this Web Style has 8,379). A couple approaches we could take:
|
Thanks @jpeterson. I think the second option is OK. |
Just updating this issue to note that we are planning to hold off on this until the /resources endpoint in the ArcGIS REST API supports searching and filtering. |
Is your feature request related to a problem? Please describe.
So glad that we can look at item resources now in ArcGIS assistant! This is helpful to me especially for looking into web styles. One issue is that there are thousands of small files that make up a web style, so it is hard to find the particular resource I'm interested in.
Describe the solution you'd like
A search bar in Item Resources would be make it much easier to find the file I need.
Describe alternatives you've considered
None.
Additional context
Example result looking at a web style resources:
The text was updated successfully, but these errors were encountered: