-
Notifications
You must be signed in to change notification settings - Fork 26
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
Terminate Field Slip Status Requests #2723
base: main
Are you sure you want to change the base?
Conversation
JoeCohen
commented
Feb 18, 2025
•
edited
Loading
edited
- Fixes how the js controller stops sending GET requests when the job is done.
- Contains only one commit, authored by @Nimmo, (cherry picked from commit 70155d9) and effectively moved from InatImportJobTracker auto updates #2702 so that it can be considered separately.
(cherry picked from commit 70155d9)
- These changes have been moved to a separate PR against main #2723
Looks reasonable to me. Wonder if we have any way to test it. |
@nimmolo: Like @mo-nathan said here, I also don't understand what this fixes in Field Slips. |
There must be something different about the Stimulus that I didn't notice when comparing to iNatImport Stimulus. Oh i know. It's the difference between update and replace. |
Actually I do think this PR is still worth it, for two reasons.
Currently the "pdf finished" code clears the interval and removes the name of the controller from the "data-stimulus" attribute, but does not actually disconnect the controller; that's handled in the |