gustaveroudproject / roud-oeuvres-app

« Gustave Roud, Œuvres complètes », Université de Lausanne + DaSCH
https://www.unil.ch/clsr/home/menuinst/projets-de-recherche/gustave-roud-oeuvres-completes.html
GNU General Public License v3.0
3 stars 0 forks source link

loading indicator, nicer arks #162

Closed loicjaouen closed 2 years ago

elespdn commented 2 years ago

Start working on the loader (for now, implemented only ms-page) on branch https://github.com/gustaveroudproject/roud-oeuvres-app/tree/wip/%23162

The mechanism to show it is the same as in https://github.com/dasch-swiss/dsp-app/blob/d16e5b5032268dc99c6f46e55de10ed10127c530/src/app/workspace/resource/values/link-value/link-value.component.ts (loadingResults = true).

The problem is that it should last more. Now it is active until the answer to retrieve the pages (images) arrive, which is the last response looking at the logs ... but it is not enough.

loicjaouen commented 2 years ago

please have a look, I propose to increment the tag at each expected result and to systematically decrease it whenever the request ends.

Do you have a link to get into a MsPage?

elespdn commented 2 years ago

I will have a look, thanks! Here it is a link to a ms: http://localhost:4200/archive/ms/http%253A%252F%252Frdfh.ch%252F0112%252FfUWmQCSPTAiI3DQVJr6ekg#http://rdfh.ch/0112/fUWmQCSPTAiI3DQVJr6ekg

loicjaouen commented 2 years ago

it works better on the full-text search, I'll have a look at MsPage

elespdn commented 2 years ago

On the following components: