Use compute to show recent files to users in homepage panel
Created by: AdhamKhalifa
In the homepage panel for files, show recent files to user. If the git history is empty, then display the empty view.
The compute query will be used to get git history:
content:output((.|\n)* -> $repo) author:"[USER EMAIL HERE]" type:diff after:"1 year ago" count:all
Edge cases will include situations when the user has git history, but no recent files, or when the user doesn't have any git history. Any work done here should be under a feature flag and not show if the feature flag is disabled.
I'll be working from RecentFilesPanel.tsx