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

Second level of action: !gmail !u1 #13

Open
4www opened this issue Jul 20, 2018 · 0 comments
Open

Second level of action: !gmail !u1 #13

4www opened this issue Jul 20, 2018 · 0 comments

Comments

@4www
Copy link
Contributor

4www commented Jul 20, 2018

In theory it is possible to build a more complex query for querying a particular search engine

As an illustration, let's say gmail example, where !gmail hello searches gmail for hello.

The url pattern of gmail, when there are multiple users are logged in gmail at the root url is https://mail.google.com/mail/u/0/#inbox, where in mail/u/0/#inbox:

  • mail is a root prefix that does not seem to change across the mail app
  • u is a prefix for saying there are multiple user accounts that are used on this browser and terminal (maybe, see next point)
  • 0 is the local id of the stored user (probably in local storage etc). If you open your second inbox you'll see that number becoming 1
  • #inbox is some sort of query param that is bound to the search input, but not just to simple search, to a more advanced boolean search in:inbox, or is:draft for #draft

This seems to be very similar on Google Drive too.

Therefore we can imagine a find queries such as:

The only new thing in these examples, is the second level of bang !, which would be the thing that has to be investigated and defined in feature design.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant