Skip to content

Fix 30419 and 80649 - Allow Setting the Number of Recent Tasks #82757

Merged
alexr00 merged 6 commits intomicrosoft:masterfrom
hypercubestart:fix-30419
Oct 21, 2019
Merged

Fix 30419 and 80649 - Allow Setting the Number of Recent Tasks #82757
alexr00 merged 6 commits intomicrosoft:masterfrom
hypercubestart:fix-30419

Conversation

@hypercubestart
Copy link
Contributor

@hypercubestart hypercubestart commented Oct 17, 2019

This PR fixes #30419 and #80649

This creates a new setting section called quickOpen under Features and allows the user to specify the number of recent tasks in the quick open history to keep track of.

Not sure if it was a good idea to add a default parameter to the LRUCache set method, but it was the cleanest and quickest way to keep the ordering of the quick open tasks from most recent - least recent while using an LRUCache.

@hypercubestart hypercubestart changed the title Fix 30419 and 80649 Fix 30419 and 80649 - Allow Setting the Number of Recent Tasks Oct 17, 2019
@alexr00 alexr00 added this to the October 2019 milestone Oct 18, 2019
@alexr00 alexr00 self-requested a review October 18, 2019 09:21
Copy link
Member

@alexr00 alexr00 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the PR! Just a few changes then we'll be good to go.

@hypercubestart
Copy link
Contributor Author

hypercubestart commented Oct 21, 2019

@alexr00 Can you please review this PR again? Thank you!

Copy link
Member

@alexr00 alexr00 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, thank you for taking on this change and finishing it!

@alexr00 alexr00 merged commit 6bba03b into microsoft:master Oct 21, 2019
@github-actions github-actions bot locked and limited conversation to collaborators Mar 27, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add preference to turn off "recently used tasks"

2 participants