jena icon indicating copy to clipboard operation
jena copied to clipboard

Fuseki UI: /edit view should not count number of triples for each graph

Open nichtich opened this issue 1 year ago • 4 comments

Version

4.7.0

Feature

The "edit" view at /#/dataset/NAME/edit is barely usable for large sets of graphs because the number of triples is counted for each graph, a time-consuming query. The number of triples should better be requested only if a graph is selected or only for a few graphs when paging through the list of graphs.

Are you interested in contributing a solution yourself?

No

nichtich avatar Feb 28 '23 08:02 nichtich

(the edit view would hardly be able to edit huge graphs even if you don't show the counts, though)

SimonBin avatar Feb 28 '23 23:02 SimonBin

My use case is several dozen graphs of different size not to be edited via UI anyway, and a limited number of small graphs to be edited via UI. Having a deep link into edit view with graph URI as parameter (e.g. /#/dataset/NAME/edit?graph=GRAPH) would be a workaround but the URI does not support such link neither.

nichtich avatar Mar 01 '23 09:03 nichtich

if you need a quick hack you could edit the queries and remove the count => https://github.com/apache/jena/blob/main/jena-fuseki2/jena-fuseki-ui/src/services/fuseki.service.js#L23

SimonBin avatar Mar 01 '23 09:03 SimonBin

See also #1852

afs avatar Apr 25 '23 08:04 afs