Closed Treora closed 7 years ago
Mostly done in 5ef86e7. What still remains is the UI to invoke it (#17), and possibly some improvements to avoid possible duplication, between logged visits and visits imported from browser history (this should be avoidable by importing only the history before the oldest visit in our log, but it's not a clean solution).
Get all of the browser history and add it to the database, while marking it as being imported.
Our current data model is quite similar to that of the browser's history API, separately representing pages (
HistoryItem
s) and visits to those pages (VisitItem
s), so it should be easy to map the whole thing one to one.