Skip to content
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

Allow plugins to define default tabs, allow users to create a new layout without restarting the app #351

Merged
merged 3 commits into from
Jan 15, 2018

Conversation

SamCarlberg
Copy link
Member

Changes startup a bit to load the default tabs only after attempting to load the last save file. Previously, the default tabs were loaded first, then overwritten with the new ones. The old tabs would also perform autopopulation and source caching, which isn't something we should do before we have to

This prevents some issues with sources being created ahead-of-time by the autopopulation the default tabs, which would then be overwritten by the tabs from the save file.
@SamCarlberg SamCarlberg added ui api Related to the API module labels Jan 8, 2018
@codecov-io
Copy link

Codecov Report

Merging #351 into master will decrease coverage by 0.13%.
The diff coverage is 25%.

@@             Coverage Diff              @@
##             master     #351      +/-   ##
============================================
- Coverage     29.85%   29.72%   -0.14%     
- Complexity      661      665       +4     
============================================
  Files           222      224       +2     
  Lines          6132     6203      +71     
  Branches        484      492       +8     
============================================
+ Hits           1831     1844      +13     
- Misses         4178     4235      +57     
- Partials        123      124       +1

@SamCarlberg SamCarlberg merged commit e20c417 into wpilibsuite:master Jan 15, 2018
@SamCarlberg SamCarlberg deleted the tab-improvements branch January 15, 2018 18:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api Related to the API module ui
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants