ResonantGeoData / RD-WATCH

RD-WATCH Documentation
https://resonantgeodata.github.io/RD-WATCH/
Apache License 2.0
7 stars 5 forks source link

Fix ModelRunList styles and pagination #502

Closed floryst closed 2 months ago

floryst commented 2 months ago

These are issues I discovered as I was moving the loadModelRuns function out of the ModelRunList component and into the store. I'll be looking to add cleaner pagination handling when I do so.

floryst commented 2 months ago

The failing test (test_list_model_run_rest_list) is failing because we are now returning a page size of 10 instead of the default 100. Do we want GET /model-runs/ to return a page size of 10 or 100 (or another value)? I kept with 10 because that's what the ModelRunList.vue component wanted with const limit = 10.

The easiest solution is to only bulk create 10 items in the test rather than 20.