jiacai2050 / history-master

📈📉📊A Firefox/Chrome extension to visualize browsing history, sync among different browsers!
415 stars 43 forks source link

Search entire history #30

Closed devurandom closed 5 years ago

devurandom commented 6 years ago

Currently I seem to have to select a range of dates when searching for a term, otherwise nothing will be found (but if I select a range of dates from far in the past until today, several items will be found). It would be nice if "no range of dates selected" would mean "all of time", so I could find all mentions of a certain search term in all of my browsing history.

jiacai2050 commented 6 years ago

For now the default range is Last 7 days, I think this is enough for most situation. Also this extension will do lots of CPU-bound work to draw the charts, I don't want to deal with all histories unless users choose to.

The max presetted range is Last 30 days, maybe we can add another Entire range to solve your problem, make senses?

devurandom commented 6 years ago

Having such preset range would be good, yes, if I don't have to find the earliest day of my browsing history myself.

Maybe you could prefill the search range fields with dates that are equivalent to Last 7 days and not setting them (i.e. them being null or the empty string) meaning All?

jiacai2050 commented 6 years ago

No, it defaults to 24 hours in the past.

devurandom commented 6 years ago

Is this the same when using Firefox?

I am confused: What is the default? Last 7 days or Last 24 hours?

jiacai2050 commented 6 years ago

It's the same with Firefox. The API defaults to Last 24 hours, but this extension defaults to Last 7 days

Bluscream commented 6 years ago

Any news to this?

jiacai2050 commented 6 years ago

This update require more work than I think, the problem is if you search all history, the leftside navigation will be too long to display, maybe pagination is required here, I haven't made it clearly yet.

jiacai2050 commented 6 years ago

@devurandom @Bluscream Hi guys, I decide to remove left-side navigator, users will be only allowed to use page up/down to scroll histories, this both solve this issue and https://github.com/jiacai2050/history-master/issues/24. If users want to view histories in one day, do it by select right date ranges. Make sense?

petedermott commented 5 years ago

Is there anyway to get History Master to store more than 7 days worth of data?

I don't really mind if older pages don't get included in statistics but it would be super helpful to me if it didn't automatically delete them.

Bluscream commented 5 years ago

I still don't quite get it. Where is the "all button"?

jiacai2050 commented 5 years ago

Select All will freeze the page if you have lots of histories, so I hesitate to add this button.

Bluscream commented 5 years ago

As long as it provides stats for everything i dont care if it freezes

jiacai2050 commented 5 years ago

close in https://github.com/jiacai2050/history-master/commit/8b1952d37b637b979f217ed204b7eff90f2e9e3c