dieterich-lab / scimodom

Sci- ModoM: A quantitative database of transcriptome-wide high-throughput RNA modification sites
https://dieterich-lab.github.io/scimodom/
GNU Affero General Public License v3.0
0 stars 0 forks source link

Move to TypeScript #160

Open eboileau opened 1 week ago

eboileau commented 1 week ago

A clear and concise description of what the bug is.

Branch feature/typescript, cf. 5fd9fad0eb3f8a0f308298f6415363b66a55a654

Index (Release)

Index (Login)

Search

Browse

Compare - this view is critical, and it is difficult to check everything, but it looks substantially broken...

Project template

Dataset upload

HaraldWilhelmi commented 1 week ago

The message

Module "util" has been externalized for browser compatibility. Cannot access "util.debuglog" in client code.

should only appear in DEV server setup.

eboileau commented 3 days ago

I fixed a few more things, but error handling is to be re-written. In short, BE should always handle errors, then send however much error handling and feedback to the FE.

I guess I don't want to touch the VirtualScroller now. We're using primevue@3.53.0, and the latest version has been rewritten using the a preprocessor approach with apply instead of pass-through (I don't know if this would still work)... updating PrimeVue will most likely break a few things...

eboileau commented 1 hour ago

Error handling still fail to catch and backtrace unhandled errors, in particular the API throws TypeError: error.response is undefined.