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

Podozrivo casty KeyError #133

Open
TomiBelan opened this issue Jan 16, 2019 · 0 comments
Open

Podozrivo casty KeyError #133

TomiBelan opened this issue Jan 16, 2019 · 0 comments

Comments

@TomiBelan
Copy link
Member

Konkretne teda KeyError z funkcie find_row.

KeyError vznika napriklad vtedy, ked si niekto spravi bookmark na URL ktora obsahuje nejake ID (predmetu, skusky, ...) a ta vec medzitym prestane existovat a on potom pride nazad a Votr to nebude vediet najst.

Tejto teorii prestavam verit lebo ich je podozrivo vela a su podozrivo rozne (aj jedinecne). Treba zistit, ci v tom nie je nejaky iny problem.

TomiBelan added a commit that referenced this issue Feb 19, 2023
Users often open Votr with a saved link from their bookmarks or history. If the
link is bad (e.g. it has an invalid key for some reason), the user gets an error
every time they log in with it. Even for valid URLs, I'm not so sure whether the
user really wanted to visit that page or it's just a waste of resources.

The login page now has a checkbox to respect the current URL. It is false by
default, but it is persisted in localStorage. I hope this will be better for
users who use saved links by accident, while still allowing power users to
bookmark pages if they want.

Stats for 2023-01:
- 71% of logins had empty destination
- 21% of logins only had ?action= in destination
- 8% of logins had multiple query parameters

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

No branches or pull requests

1 participant