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

fix: skip deprecated keyboards #147

Merged
merged 1 commit into from
Aug 6, 2020

Conversation

mcdurdin
Copy link
Member

@mcdurdin mcdurdin commented Aug 4, 2020

Added a link into the archive page to give access to obsolete keyboards. By default, they will not be listed.

Relates to keymanapp/api.keyman.com#87.

@@ -66,6 +66,7 @@
<form method='get' action='/keyboards' name='f'>
<input id="search-q" type="text" placeholder="Enter language or keyboard" name="q" autofocus>
<input id="search-f" type="image" src="<?= cdn('img/search-button.png"') ?>" value="Search" onclick="return do_search()">
<input id="search-obsolete" type="hidden" name="obsolete" value="0">
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does the keyboard search in /_includes/2020/templates/Menu.php also get updated (phone-menu and top-menu1)?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, this is the only interface where obsolete keyboard searches will be possible; if the field is missing, then it's treated as 0

Base automatically changed from fix/hide-page-1-of-0 to staging August 6, 2020 02:06
@mcdurdin mcdurdin merged commit d3e6a7f into staging Aug 6, 2020
@mcdurdin mcdurdin deleted the fix/skip-deprecated-keyboards-by-default branch August 6, 2020 02:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants