Anki-Android icon indicating copy to clipboard operation
Anki-Android copied to clipboard

Remove mostly unused / brittle "Lookup dictionary" feature

Open snowtimeglass opened this issue 11 years ago • 15 comments

It is appropriate that the following texts ("None" and "Eijiro") should be translated. image

snowtimeglass avatar Nov 28 '15 13:11 snowtimeglass

Hello 👋, this issue has been opened for more than 2 months with no activity on it. If the issue is still here, please keep in mind that we need community support and help to fix it! Just comment something like still searching for solutions and if you found one, please open a pull request! You have 7 days until this gets closed automatically

github-actions[bot] avatar Jun 03 '20 13:06 github-actions[bot]

great first issue

mikehardy avatar Jun 03 '20 15:06 mikehardy

@mikehardy can u elaborate more on what needs to be done? I want to work on this.

Arnold2381 avatar Mar 17 '21 20:03 Arnold2381

It'd likely be best to find another issue to work on until 2.15 is out. I think we'll be able to remove this feature: #8263

This would involve extracting strings to resource files, see: https://github.com/ankidroid/Anki-Android/wiki/Development-Guide#adding-translations

david-allison avatar Mar 18 '21 00:03 david-allison

I want to work on this issue. Please elaborate it for me @mikehardy

manastole03 avatar Oct 17 '21 19:10 manastole03

I think the results are in. The Lookup feature was used about 105 times over the course of nearly 90 days, or about once per day according to analytics.

Now, analytics is doing a sampling strategy of 10% of users that have opted-in, Google Play is telling us we have about 2,000,000 users, and Analytics is showing us around 100,000 users in last 28 days, so it is safe to say we are sampling around 5% of the user base.

That implies that 105 * 20 is about 2000 total uses of this feature over the course of 90 days. Versus, for example 20,000 people in the same time using the context menu on the model browser (which almost no one uses) There are almost as many users for the add-on browser which is just in testing even! :-)

I think this feature is brittle and should probably go

So the task is actually to remove the lookup dictionary feature now.

Data:

image

mikehardy avatar Oct 17 '21 20:10 mikehardy

@mikehardy image image So, the issue is just to remove the lookup dictionary feature/ tab from the app?

Kritartha1 avatar Jan 12 '22 18:01 Kritartha1

Yes!

mikehardy avatar Jan 13 '22 19:01 mikehardy

Hey, I actually liked this feature :( How about instead of removing it completely just make it easier to use? For example, show dictionary by double tapping on a word (no need for copying or any other slow stuff). By the way, Lookup dictionary is currently bound to long tap gesture programmatically (even though this gesture is not accessible from the menu), so that should also be accounted for when this feature will be removed.

shocoman avatar Jan 21 '22 11:01 shocoman

We will never be able to make everyone happy unfortunately. I understand the feature is in use, it's just that use is vanishingly small, and the feature itself is complicated, and limited (only a few languages. No one works on it, it's brittle as the online dictionaries change semi-frequently, so to my view as a maintainer it is not justifying it's existence vs it's carry cost. It's a difficult reality.

mikehardy avatar Jan 21 '22 13:01 mikehardy

Can I work on this?

BrayanDSO avatar Feb 12 '22 22:02 BrayanDSO

Sure!

david-allison avatar Feb 12 '22 23:02 david-allison

Just a question, is there a standard procedure to remove an unused string from resources or should I just do a mass find and replace?

BrayanDSO avatar Feb 12 '22 23:02 BrayanDSO

Just a question, is there a standard procedure to remove an unused string from resources or should I just do a mass find and replace?

As stated at the development guide, I believe I should just edit things at only values. So I guess this answers my question.

BrayanDSO avatar Feb 12 '22 23:02 BrayanDSO

Just delete from /values, our translation process handles mass removal

david-allison avatar Feb 13 '22 19:02 david-allison