-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Initial implementation of History View #3851
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Overall this is really solid, nice work!
I've verified that Command+Y only opens the History menu, and that it opens the full History view when the flag is enabled. One note though: the Command+Y shortcut to open the History view didn't work when enabling the flag and immediately trying to use it. After a relaunch of the app it worked fine though.
Beyond that, one issue I noticed is that the History view's search field doesn't respect dark mode:
![Screenshot 2025-02-09 at 7 06 36 PM](https://private-user-images.githubusercontent.com/183774/411392915-81f3f258-2aa1-4547-98f6-23c1196fbc5c.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk0NzY1NjIsIm5iZiI6MTczOTQ3NjI2MiwicGF0aCI6Ii8xODM3NzQvNDExMzkyOTE1LTgxZjNmMjU4LTJhYTEtNDU0Ny05OGY2LTIzYzExOTZmYmM1Yy5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjUwMjEzJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI1MDIxM1QxOTUxMDJaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT1iYWM0OGIyODdkNjMxYzEwNDJhNjk1YmNhNTNiYmJiZDJkYjBmNjM2ZTI2NzQ5ODYzZmVhNjlmNWYyNWQ3NDA1JlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.m5DDMEFAhEG1QxSEIT16b20TBwwb3QleX7w06ftEV9A)
The other issue I noticed is that I've ended up somehow with rows that have no URL value, making them unable to be opened in a tab view. See screenshot above, where there is a NY Times entry with no URL.
Finally, I also don't seem to have history displaying correctly after a refresh. After visiting Hacker News, I have entries in my History menu as expected, but refreshing the History view doesn't show them. This is also true after completely closing the tab and reopening it. (See above screenshot which shows no HNews entry but there's a tab open, and I confirmed that I reloaded the page)
@samsymons thanks for the review, and thanks for reporting your findings 🙌
|
@ayoy Ah, wrong screenshot - here it is: ![]() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM now after some further testing, DB history state is working fine on both DMG and App Store targets and refreshing works as expected. Really not sure what happened here, I tested this previously through multiple relaunches of the app and browsing a bunch of tabs, and the history wasn't refreshing at all. Sorry for the trouble!
Task/Issue URL: https://app.asana.com/0/0/1209328755192086/f
Description:
This change adds History View behind an internal-only opt-in feature flag.
It supports displaying, filtering and searching history, and opening history items.
Steps to test this PR:
Definition of Done:
Internal references:
Pull Request Review Checklist
Software Engineering Expectations
Technical Design Template
Pull Request Documentation