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

Add windows hide option to process exection for windows users #701

Merged
merged 1 commit into from
Aug 2, 2021

Conversation

mattseddon
Copy link
Contributor

@mattseddon mattseddon commented Aug 2, 2021

I saw this bug this morning when working through onboarding for #496 with @hantatsang, this should fix the windows in Windows issue that we were seeing.

@mattseddon mattseddon added the bug Something isn't working label Aug 2, 2021
@mattseddon mattseddon self-assigned this Aug 2, 2021
@codeclimate
Copy link

codeclimate bot commented Aug 2, 2021

Code Climate has analyzed commit b6d9b6c and detected 0 issues on this pull request.

The test coverage on the diff in this pull request is 100.0% (85% is the threshold).

This pull request will bring the total coverage in the repository to 94.2% (0.0% change).

View more on Code Climate.

@@ -33,7 +33,8 @@ export const createProcess = ({
all: true,
cwd,
env,
extendEnv: true
extendEnv: true,
windowsHide: true
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Screen Shot 2021-08-02 at 12 15 13 pm

@mattseddon mattseddon requested a review from rogermparent August 2, 2021 02:20
@mattseddon mattseddon marked this pull request as ready for review August 2, 2021 02:20
@mattseddon mattseddon merged commit bf1b90a into master Aug 2, 2021
@mattseddon mattseddon deleted the add-windows-hide-option branch August 2, 2021 02:40
mattseddon added a commit that referenced this pull request Aug 11, 2021
* Get sortBy tree to the point where it displays sorts

* Adapt to renamed field

* Big refactor

- Split getChildren branches into methods
- Await experiments for root
- Turn getSort into getSorts (multi sorts not actually implemented)

* Sort sortByTree roots like paramsAndMetricsTree roots

* Add contextValue to TreeItems

* Remove accidentally merged file

* Revert file accidentally changed by merge

* Add commands to tree title and add tests

* Build mocked TreeItem that uses contructor

* Remove double mocks

* Remove unused mocks

* Prefix TreeItem contextValues with dvc

* Rename clearSort to clearSorts

* Add multi-sort capability to sort function

* More multi-sort support with test for sort function

* Add another test

* Add multi-sort functionality

* Fix integration test

* add windows hide option for windows users (#701)

* Switch `ExperimentsParamsAndMetricsTree` to string | ParamsAndMetricsItem tree type (#700)

* move params and metrics tree to mixed type

* remove get param or metric methods where possible

* rework tree data type

* improve test

* improve test variable names

* Add createTreeView wrapper (#703)

* move params and metrics tree to mixed type

* remove get param or metric methods where possible

* rework tree data type

* improve test

* improve test variable names

* add create tree view wrapper

Co-authored-by: rogermparent <rogermparent@gmail.com>

* add notes on disabling cli analytics to help performance (#699)

Co-authored-by: Roger <rogermparent@gmail.com>

* Add basic integration test and make sortBy non-mutating

* Add multi-sort to sorts integration test

* Add single sort removal to integration test

* Use removeAllSorts for final clear

* Add repo-level addSort and rework data piping so await works for it

* Add "all items are equal" test for multi-sort

* Add sort modification to integration test

* Return this.notifyChanged again to simplify diff

* clearExperimentsTableSort -> removeExperimentsTableSorts

* Rename a few commands and combine removeSorts commands

* Display empty array when there are are projects but no sorts

* Use createTreeView utility

* Change pluckTestParams inline helper to be a no-arg function

* Trim back sort integration test data to only params

* Rename command strings and remove unused ones

* Combine add and remove sort commands

* Swap removeSort params and use getRepository

* import { join } from 'path'

* interface SortDefinitionWithParent => type SortItem

* build => pick and simplify buildExperimentSortFunction

* Inline pickSort into experiments repository class, can => should

* Remove getOrPickRepo and change removeSorts behavior to be like filters

* Add another entry to integration test data

Co-authored-by: mattseddon <37993418+mattseddon@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants