Announcing the Universal Metadata Tool Beta

Can you try to reproduce this with the new version? I implemented code that seems to prevent it but maybe I’m not clicking fast enough in my testing :D Let me know if you still have the same problem and I’ll try more fixes.

Hey @Megachile - thanks for implementing the three new actions!

Regarding the new code you just implemented for @lmtaylor’s request - I think you might have affected something else, too.

Used to be that if you were in an observation, clicked a hotkey to add something, then flipped to a new observation before you saw it “recorded,” you’d still be adding to the original observation. That mimics iNaturalist’s default/vanilla situation - if you move fast enough, you can kind of get “ahead” of the recording, but it still records in the observation you were on when you hit the hotkey.

Now, if you’re in an observation, click a hotkey to add something, and then flip to a new observation before you see it “recorded,” it’s adding to the new observation. Which isn’t ideal, I don’t think - I can click on a hotkey to add something before I’m even in the observation!

Edit: Just confirmed my 7 Jan 2025 @ 11:50 CST download exhibited the old (better) behavior, and my 12 Jan 2025 @ 5:55 CST download exhibits the new behavior.

I haven’t had a chance to install the new version yet. But given what comradejon says, maybe this bug isn’t a high priority to fix – how often does someone have a mouse malfunction in the manner I did? BTW the trick to speed is to bounce your finger lightly on the button. Arrg. Race conditions bad to deal with…

Thanks for helping test! I just reverted the changes back to the new actions and before the changes to click behavior; should be fine now.

That took care of it - all is well!

Always happy to test - given the time you’ve surely spent on this absolutely awesome extension, I’m glad to help in any way I can!

K, I just implemented a different fix and tested it more rigorously myself this time. It seems to work well IMO; it’s fast and responsive but blocks double button presses or clicks until the current attempt is finished. Let me know if you try it and run into issues though.

Excellent! And in reply to the query, I do think the flexibility of being able to insert the actions wherever is worthwhile even though it’ll be a job to add “unfollow” to all my 100-odd configurations. (Which I use to note plant species seen in insect observations – there are about 110 truly common species. Thank you so much for one click to add two fields, an annotation, and a project to each observation, and now, unfollow.) There are plenty of uses for these, such as mass-unfollowing the existing list. Also now it is possible to look at a page of search results, select some and perform an action on them, use “invert selection” to mark the rest as reviewed, and move on to more search results. “Invert selection” was a good idea.

I thought this would be easy because I already have “remove from project” code as the Undo action for the “Add to Project” action, but it turns out to be way more complicated. There are a bunch of reasons you may not be allowed to remove an observation from a project, and they all need to be detected and handled differently. Made some progress last night but need to finish ironing things out. Soon, though.

1 Like

Oh man yeah 100+ is rough. I will definitely put making this a global setting on my to-do list (and also let you keep it as an individual action ofc) but I don’t know when I’ll have it done.

1 Like

has the batch-edit version been updated as well?
Would it be possible to add the download Link to it to the first post? It kinda always gets lost somewhere in the thread.

1 Like

Second to that, and could you show the date of latest update on the download page?

1 Like

Quirk found: When I duplicate a configuration that has the following action set to “unfollow”, the duplicate shows up as “follow.” Also, when beginning to edit a configuration that contains “unfollow,” the action switches itself to “follow.”

1 Like

Now that the list of things to do on the configuration page is getting long, the haphazard organization of the list is hard to use. How would people like it organized… poll?
A) Alphabetical
B) Following the organization of pages, roughly left to right then top to bottom: First the “main space” (identifications, comments), then annotations, then projects, then fields, then data quality, then reviewing and following, then adding to lists
C) Other

“B” is my preference

They’re merged, the link in the OP is the one you want.

1 Like

I don’t think so on the download page specifically, that’s a third-party tool. But you can see the new updates on the github page
https://github.com/Megachile/Phenology/commits/main/

Thanks for catching this, it was an easy fix but I was lax about version control and now I need to finish up the project removal stuff before I can push it easily. Project management has been an ongoing challenge so it’ll be a couple more days.

A few more ideas for the metadata plugin:
It would be very useful if the quick buttons and keyboard shortcuts would also work in bulk mode. Compared to the single mode you would still see the dialog to confirm your action to make sure it’s less likely to accidentally do an action.
This would make things a bit more quickly since you’d have to only do one click to select an action then currently 3 (Select and Apply Action–>Select Action (to open list)–> Select item from list)

On the same note of the dialog. I would appreciate being able to confirm the action by pressing the return key.

Do you think there is a possibility to show more Observations on the page. So instead of the normal 30 you could do batches of 60 at the same time.

Thanks again for the great tool

This already exists–if you use the URL gen page there’s a setting in “Sorting and ranking” you can set to up to 200. You can also just append it to the Identify page URL manually ( &per_page=200 ).

3 Likes

Agree. It would be nice if, when you have bulk mode enabled and observations selected, you could use your keyboard shortcuts to go straight to the step of the software checking for overwrites.

Okay, one more difficulty. There are three places where there are sets of configurations displayed, and they all need to be independently sortable. This is already done for the buttons and for the list on the settings page, but not (as far as I can tell) for the dropdown list in the bulk actions. I suppose that’ll have to go somewhere on the settings page: “Order of configurations in bulk action” or some such.