Skip to content

Commit

Permalink
fix(GDE-11): Duplicating projects representation #8
Browse files Browse the repository at this point in the history
  • Loading branch information
jeilsonaraujo authored Jun 15, 2024
1 parent 6060f6c commit 62a95d0
Show file tree
Hide file tree
Showing 5 changed files with 103 additions and 266 deletions.
112 changes: 71 additions & 41 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,49 +1,79 @@
# Change Log
### 0.0.1
* Initial release with basic features
### 0.0.2
* Included a wonderful icon
### 0.0.3

* added other views to see individual tested master masked and isolated
* added hover to easy toggle on tested and master image
* change icon on primary sidebar
### 1.0.0
* fix size aspect ratio
* preparing code to new features
### 1.0.1
* added clear function
* tree view by project
### 1.0.2
* projects and items are sorted
* fix duplicated items on tree
### 1.0.3
* automatic refresh when detect new failures
### 1.0.4
* golden library gives support to find all golden images
### 1.0.5
* update tree view
### 1.0.6
* refactor code
* revert update tree view
### 1.0.7
* add a title to failures view this make easy to search for the test that is failing
### 1.0.8
* setup automatic deploy
### 1.0.9
* added license
### 1.1.0
* find golden image and failures wherever they are, this fix a bug that if the golden and failures folder are in a different location the list was not generated
### 1.1.1
* fix error that was loading incorrect project to failures
### 1.1.2
* fix error that was not loading project to all failures
### 2.0.1

- FIX(GDE-11): When a test fails it’s creating a tree node of project for every tests failed.

### 2.0.0
* implement a new visual style, use a windows simulator and center the image, remove the slider

- implement a new visual style, use a windows simulator and center the image, remove the slider

### 1.1.2

- fix error that was not loading project to all failures

### 1.1.1

- fix error that was loading incorrect project to failures

### 1.1.0

- find golden image and failures wherever they are, this fix a bug that if the golden and failures folder are in a different location the list was not generated

### 1.0.9

- added license

### 1.0.8

- setup automatic deploy

### 1.0.7

- add a title to failures view this make easy to search for the test that is failing

### 1.0.6

- refactor code
- revert update tree view

All notable changes to the "golden-diff" extension will be documented in this file.
### 1.0.5

- update tree view

### 1.0.4

Check [Keep a Changelog](http://keepachangelog.com/) for recommendations on how to structure this file.
- golden library gives support to find all golden images

### 1.0.3

- automatic refresh when detect new failures

### 1.0.2

- projects and items are sorted
- fix duplicated items on tree

### 1.0.1

- added clear function
- tree view by project

### 1.0.0

- fix size aspect ratio
- preparing code to new features

### 0.0.3

- added other views to see individual tested master masked and isolated
- added hover to easy toggle on tested and master image
- change icon on primary sidebar

### 0.0.2

- Included a wonderful icon

### 0.0.1

- Initial release with basic features
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"type": "git",
"url": "https://github.com/jeilsonaraujo/golden_diff.git"
},
"version": "2.0.0",
"version": "2.0.1",
"engines": {
"vscode": "^1.77.0"
},
Expand Down
11 changes: 10 additions & 1 deletion src/failure/golden_failure_item.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,14 @@ export class GoldenFailureItem extends vscode.TreeItem {
this.collapsibleState = collapsibleState;
}


public contains(projects:GoldenFailureItem[]) :boolean{
let contains = false;
projects.map(project=> {
if(this.failureFolder == project.failureFolder){
contains = true;
}
});

return contains;
}
}
215 changes: 0 additions & 215 deletions src/failure/src/old.ts

This file was deleted.

Loading

0 comments on commit 62a95d0

Please sign in to comment.