-
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
UI Improvements #65
Comments
IMO this puts too much workload onto maintainers. updating existing models is a common scenario that any uploader should be able to initiate. I am planning to add warnings for the reviewer, e.g. if authors or citations have been removed in a revised version, etc.
This does not make sense IMO. If changes were requested a user should be able to upload another staged version without the currently staged version vanishing... @oeway you asked for some sort of history to be preserved at some point in the discussion, so this 180 is a surprise.
very nice idea! can we generate a badge like button then?? maybe we should incorporate this into the status (version.json) instead? @jmetz what would be more convenient for you?
possibly (per default) only showing the last log entry per category (the 'latest' log entry), what do you think @oeway @jmetz ?
👍 For the accept button, we will solved the bug by one staged version.
|
Oh sorry. I misunderstood. I thought you meant bioimage.io maintainers, not model maintainers. Yeah m that makes a lot of sense. I'll put that limit in backoffice. @jmetz please adjust the frontend accordingly. Let's chat about it if you need additional backend support for this. Maintainers need to be read out from the rdf currently. And bioimageio maintainers should of course also always be eligible. |
Right! Exactly, so maybe call bioimage.io admin instead of maintainers.
I think it's good to keep the staged version history, however, there should be only one active staged version (the latest one), once a new staged version is uploaded, all the historical staged versions should be locked -- this is not the case at the moment, reviewers can review and accept any of the staged versions which is confusing and causing trouble for publishing. Some where, either frontend or backend, should limit the actions, and make sure there is only one active staged version. Also keep in mind, only the model maintainers (typically 1 person) who is uploading the staged versions for the same model, and the bioimage.io admin will upload new staged versions. So it doesn't make sense to maintain parallel variants of staged versions, they should be all follow a lineage with strict inherence relationship. The frontend should make sure the uploader are informed about previous version of staged versions, and the latest one becomes active.
We are thinking about a very brief summary of logs, and delegate the details in the github action logs.
The bug is also mentioned above, right now we can accept any staged version at any time. I think all the historical staged versions should be locked. @jmetz @FynnBe Also, I am thinking that since we will always only have 1 active staged version (if @FynnBe agrees), it doesn't make sense to have separate status page for every staged versions, could you maybe merge all the information about a model into 1 status page? Like that, one same page, we should a full history (collapsed) of all the staged version, published version, logs for each version, and also chat history for all the versions. Then there will be only 1 status page for each model, and this can also be directly embedded into the bioimage.io model info page. |
oh I see now what you had in mind... yes, superseding staged versions by newly staged versions makes sense and does simplify the process 👍 I'll add that to backoffice |
Re: chat (default to last version) this would mean users end up in a chat expecting their old messages, maybe answers... but it's empty as a new version came.. oor.. we try a more proper, existing solution like matrix rooms, etc.. ? we shouldn't reinvent a chat program |
to validate if an uploader is eligible to upload a new version I have to check the uploder.email (meaning that email needs to be present in the maintainer/author entry (which is an optional field) or the previous uploader.email of course. Fine. |
Yes, fine with me for the email ([email protected]), I have it for all my pypi packages too.
Since there won't be any parallel active staged or published versions, would it make sense to have a single summary log file and we always append information to the same summary log file (with links to github actions runs or potentially detailed log files).
Not really, on the frontend, all the chat history are stitched together by message creation time. It will be the same as a github PR page, when a new version comes, we just label the new version as a message inserted into the same message list. |
having it per resource version is a nice way to keep order and intuitively ignore outdated log entries. I would definitely keep a log per version. and there are parallel active published versions.
👍 |
from the backoffice side all tasks are done I think |
Log.svelte:31 SyntaxError: Unexpected token '<', "<?xml vers"... is not valid JSON
#82For the chat feature to be embedded into the bioimage.io model page:
?sandbox=1
for the uploader - see Switch from sandbox to production #67, Sandbox appears to be active on both sandbox and non-sandbox URLs #71, and Address global sandbox #72The text was updated successfully, but these errors were encountered: