-
Notifications
You must be signed in to change notification settings - Fork 3
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
obs: provide URL shortcut to edit observation(s) #165
Comments
A way to avoid having to shorten the URL is to batch edit in smaller batches so we don't exceed Discord's embed size limits. |
A mockup using EmbedUtils with a very long URL succeeds:
The result is a very long /edit/batch URL that loads all those observation IDs. It appears that the only limit to length that might apply here to the URL is the whole Embed can't exceed 6000 characters total. So long as we stick to pages of 200 IDs of up to 10 digits (and sometime in the not too distant future, 11 digits), then the URL will still be well within the limit. The original use case that led to us recording this idea has seemingly hit a dead end, though: https://forum.inaturalist.org/t/add-missing-api-filters-to-batch-editing/3806/6 While the idea recorded in this issue is still a good one, it doesn't address the problem of batch editing all your "Galls of North America" observations (or some other project) to add an Annotation for Evidence of Presence: Gall, since the batch edit form doesn't support it. So right now, this is a solution waiting for a real-world problem before we consider moving forward with it. |
The basic idea is:
,edit
(or,edit on
),obs
or,s obs
display is automatically filtered to only your own personal observations (i.e. implicitby me
in the query)https://www.inaturalist.org/observations/#/edit
https://www.inaturalist.org/edit/batch?o=#,#,#,...
for as many observations as are in the current "page" (up to 200 - this URL can be huge, so we might need to use a URL shortener!)opt page=2
, etc.The text was updated successfully, but these errors were encountered: