keyboards icon indicating copy to clipboard operation
keyboards copied to clipboard

Deprecated version of Mozhi Malayalam listed

Open beniza opened this issue 3 years ago • 2 comments

A deprecated version of the Mozhi Malayalam Keyboard is listed on the site image If it is mandatory to have it there, could you please specify the old one as a deprecated version?

beniza avatar May 17 '22 06:05 beniza

@LornaSIL or @mcdurdin will need to help me out. release/m/mozhi_malayalam/mozhi_malayalam.keyboard_info has:

"mozhi": { "deprecates": true },
"mozhi_1_1_0": { "deprecates": true },
"mozhi_5_1": { "deprecates": true },
"mozhi51": { "deprecates": true }

and each of those legacy mozhi* keyboards has a DEPRECATED.md file, yet the second "Mozhi Malayalam" link in the image points to mozhi_1_1_0.

How can we avoid listing this deprecated keyboard?

DavidLRowe avatar May 18 '22 17:05 DavidLRowe

Sadly, it's not trivial to remove deprecated keyboard help from the keyboard help index page. Currently, that help page does not reference the keyboard database. It is built from the list of folders on the site, and deprecated keyboards are not identified in the help site data.

This could be opened as an issue at https://github.com/keymanapp/help.keyman.com if you feel it is important enough.

One way to fix this: we'd need to query api.keyman.com on the /keyboards/ page for the list of current keyboards and filter the folder list against it. (It would slow that page even further -- it's already slow to load -- so we may need to look at alternative ways to build the list statically when the keyboard site is updated.)

mcdurdin avatar May 19 '22 00:05 mcdurdin