Feature Request P3
Status Update
Comments
vi...@google.com <vi...@google.com>
vi...@google.com <vi...@google.com> #2
Please provide following information which will help us to investigate this further,
* What is the desired behavior of the feature? (Be specific!)
* If relevant, why are current approaches or workarounds insufficient?
* If relevant, what new use cases will this feature enable?
* What is the desired behavior of the feature? (Be specific!)
* If relevant, why are current approaches or workarounds insufficient?
* If relevant, what new use cases will this feature enable?
lb...@gmail.com <lb...@gmail.com> #3
@2
* What is the desired behavior of the feature? (Be specific!)
for "text selection" feature, allow to filter it by types of data, and tell us where the text was selected
* If relevant, why are current approaches or workarounds insufficient?
None.
* If relevant, what new use cases will this feature enable?
My request:
Allow to offer out app only if the text meets certain type/s. For example, a translation app might not need to offer a "translate" item for numbers or phone numbers. And, a phones app (or a chatting app) might need to only offer "search for phone number" only if the selected text is a valid phone number.
If a selected text contains a phone number, you could have "add to address book" even in the web browser.
This might be achieved by deciding which types to offer, or let us decide (using regex and min&max length, for example). Maybe even both (built in and customizable).
In addition, it would be nice to know where the selected text was selected (on the screen), so that instead of showing a full screen app, we could show a small dialog near the selected text, or at least create a nice animation from it.
* What is the desired behavior of the feature? (Be specific!)
for "text selection" feature, allow to filter it by types of data, and tell us where the text was selected
* If relevant, why are current approaches or workarounds insufficient?
None.
* If relevant, what new use cases will this feature enable?
My request:
Allow to offer out app only if the text meets certain type/s. For example, a translation app might not need to offer a "translate" item for numbers or phone numbers. And, a phones app (or a chatting app) might need to only offer "search for phone number" only if the selected text is a valid phone number.
If a selected text contains a phone number, you could have "add to address book" even in the web browser.
This might be achieved by deciding which types to offer, or let us decide (using regex and min&max length, for example). Maybe even both (built in and customizable).
In addition, it would be nice to know where the selected text was selected (on the screen), so that instead of showing a full screen app, we could show a small dialog near the selected text, or at least create a nice animation from it.
vi...@google.com <vi...@google.com> #4
Moving to androidx > TextClassifier component to check this request.
Description