Triply-Dev / YASGUI.legacy

Yet another SPARQL GUI
http://legacy.yasgui.org
MIT License
44 stars 8 forks source link

Delay in adding namespaces #264

Closed rasvaan closed 9 years ago

rasvaan commented 10 years ago

When I for example add a dcterms predicate to my query, dc also gets added to the list of prefixes. Half a second delay in adding them would fix this.

LaurensRietveld commented 10 years ago

in (I guess) the most common usecase, this won't be a problem right? I.e., typing your perfix, and ending with a colon (the last character triggers adding the namespace). The case you are describing, is when you've already typed your colon, and are prepending characters.

Reason I'm saying this, is that a solution to this problem is not simply adding a delay (which I thought at first). After this delay, there needs to be some logic on deciding whether to still add this prefix (e.g. 'dc'), or not. Adding this logic might create some other corner cases as well

rasvaan commented 10 years ago

Aah, yes, you're right, I changed them at the moment a colon was already present. I will work around it, at least remove the colon while coming up with the right prefix.

LaurensRietveld commented 9 years ago

meteor version is discontinued.