Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rewrites need to be "remembered" to avoid repeated information for the user #232

Open
Akron opened this issue Nov 19, 2024 · 0 comments
Open
Assignees

Comments

@Akron
Copy link
Member

Akron commented Nov 19, 2024

When meta rewrites or query rewrites are shown in the user interface, these will occur for every search. This can get quite annoying, e.g. when a user searches with a default foundry like [base=Baum] and is always informed about the injected foundry when she just pages through the results.
To avoid such information overhead, messages already shown to a user need to be remembered for a session - maybe bound to a query string. A possible sollution is a list of hashes for these rewrite objects stored in the cookie or html5 client stores. When rewrites are collected from the KoralQuery, Kalamar checks, if they were already shown to the user, and only makes them visible, if they weren't.

P.S. As corpus rewrites are currently adopted by Kalamar, no repeated rewrites will occur. That's why this section isn't part of this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants