Qalculate / qalculate-gtk

Qalculate! GTK+ UI
https://qalculate.github.io/
GNU General Public License v2.0
976 stars 72 forks source link

Date & time of history items #537

Closed UlyssesZh closed 1 month ago

UlyssesZh commented 5 months ago

Is the date & time of each history item stored? Can I see it on the UI?

hanna-kn commented 5 months ago

It is not currently stored.

UlyssesZh commented 5 months ago

May it be a feature in the future? It can be very useful. Sometimes I want to see what I entered into the calculator back when I did a homework in the past.

hanna-kn commented 5 months ago

I will investigate the feasibility of this. I would probably prefer not to show the dates and only make it a searchable property. It might also be useful to be able to specify the maximum age of saved history items, instead of number of lines.

hanna-kn commented 5 months ago

As an alternative I recommend that you try the bookmarks (in history context menu) or comments (text after # in expression) features. Note that bookmarked items will never be removed from history.

UlyssesZh commented 5 months ago

Thank you for the tip. I was aware of that, but it is kind of hard to predict whether I will refer to a history item in the future.

hanna-kn commented 5 months ago

Done. Search by date has now been added to the context menu. The date of the selected history item is shown in the label of the menu item.