Provide the ability for Launcher to access file contents of the Recent root |
|||||||||||
Issue descriptionAs part of improving Launcher search suggestions to users, we should include relevant files as an option for the zero state. For the initial population logic, we can leverage the existing file contents of the Recent root in Files app. We should add the ability for Launcher to access this list (ex. via private API).
,
Jul 13
,
Jul 18
mmalpani@ - Checked with the Files engineers and there should be an existing API call that the Launcher can use to get the top Recent files: getRecentFiles(). Can your engineers take a look and let us know if you have any questions?
,
Jul 18
,
Aug 6
+fukino@, lucmult@ - jennyz@ is looking for the API call that Sasha had mentioned, but is unable to find it. Would you be able to assist?
,
Aug 6
,
Aug 7
Are you looking for the API to get recent files? It is chrome.fileManagerPrivate.getRecentFiles() in JS side https://codesearch.chromium.org/chromium/src/ui/file_manager/file_manager/foreground/js/directory_contents.js?rcl=281ab38ea8f7abbbfafd0a04b0c3a2e9db6b06d9&l=303 and chromeos::RecentModel::GetRecentFiles() in C++ https://codesearch.chromium.org/chromium/src/chrome/browser/chromeos/fileapi/recent_model.h?rcl=d8e75830dcc9965000b308bbd48534f749610fe8&l=58
,
Aug 7
We are looking for API to get the recent accessed documents from user's Google Drive with thumbnail image and fav icon images, similar to what Drive web UI displays under "Quick Access" row.
,
Aug 7
Re#8: Actually, we want all of the recent accessed files, including local and cloud files.
,
Aug 8
The API I mentioned includes local and cloud files. (Downloads, Android files, and Google Drive files) However, they are recently *modified* files. We can display recent accessed files from Google Drive, but it can be tricky for Downloads and Android files. Android's "Recent" view is sorted by modified time, and atime in VFS can be unreliable. The discussion in a design doc for Recent view might be helpful. https://docs.google.com/a/google.com/document/d/1-e_VHGdLPWSMJAyYucB88hfDWIZEZxQf_nigcmIZckQ/edit?disco=AAAABOaMiEg
,
Aug 14
,
Sep 27
,
Oct 2
jennyz@ - Are we still targeting M-71 for this?
,
Oct 3
No, not for M71
,
Oct 3
Thanks! I'm going to move this out to M73 for now. Feel free to move it back if it should happen sooner.
,
Nov 7
|
|||||||||||
►
Sign in to add a comment |
|||||||||||
Comment 1 by newcomer@chromium.org
, Jul 13Owner: omrilio@chromium.org