Nicolas CARPi
Nicolas CARPi
Hello, Yes, I can confirm, thank you for the report.
Yeah, the elabid sharing was kind of a quick and dirty hack. It should probably be replaced by something better like you describe!
Everytime I touch the "links" code I think about how nightmarish it will be to also have experiments links, as there are so many things that expect the links to...
It might be a good idea if it comes with a set of easy-to-use filters that make sense; to find what we're looking for. We already have a "category" filter....
Fixed the conflicts. Still very much work in progress but now it's workable at least. I think it would be best that the api changes from /experiments/42/links/ to /experiments/42/experiments_links and...
Also, it would make sense then to create an ExperimentsLinks and ItemsLinks classes, extending Links but with properties of their own to get the correct table.
> Also, it would make sense then to create an ExperimentsLinks and ItemsLinks classes, extending Links but with properties of their own to get the correct table. This is done...
> For experiments/db items with a long body that could be quite some traffic. I was thinking of having an `only` query parameter to filter the columns. So `GET /api/v2/experiment/2/?only=title,userid,date`...
Hello, Yes that sounds like a good idea. I'll look into it!
> Related: https://github.com/elabftw/elabftw/issues/521 Yes, I think first we need to have an "Archived" state for experiments/items, that don't show up normally, unless explicitely requested. And the "Archive user" action should...