Skip to content

Commit c920f12

Browse files
committed
Merge pull request #549 from ScottLogic/dev
Merge dev to master v9.2.0
2 parents 6d3d932 + 0884516 commit c920f12

16 files changed

Lines changed: 46 additions & 22 deletions

File tree

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,12 @@ grunt serve
4646

4747
The project is also accessible at http://localhost:5000
4848

49+
#### Releasing
50+
51+
To release, run the Grunt task: `grunt release` for a major release, or `grunt bump:minor`
52+
for a minor. This updates all the version references to a new version. Then, submit a PR
53+
with this new version in to `dev`, and then merge it to `master`. Finally, run
54+
`grunt deploy:upstream` or `grunt deploy`, depending on how your remotes are set up.
4955

5056
## License
5157

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "bitflux-openfin",
3-
"version": "9.1.0",
3+
"version": "9.2.0",
44
"scripts": {
55
"test": "grunt ci",
66
"postinstall": "cd node_modules/BitFlux && npm i"

src/closedWindows/closedWindowList/closedWindowList.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<div class="favourite-closed">
2-
<icon name="{{icon}}" icon-click="closedWindowListCtrl.click(); $event.stopPropagation();"></icon>
2+
<icon name="{{icon}}" icon-click="closedWindowListCtrl.click(); $event.stopPropagation();" tooltip="Last Closed Windows"></icon>
33
</div>
44
<div ng-show="closedWindowListCtrl.closedTabsShow" class="favourite-closed-cover" ng-click="closedWindowListCtrl.closedTabsShow = false">
55
<div class="bubble-head"></div>

src/config-service.js

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,14 @@
3535
maxHeight: RESIZE_NO_LIMIT,
3636
defaultWidth: 1280,
3737
defaultHeight: 720,
38-
shadow: true
38+
shadow: true,
39+
resizeRegion: {
40+
size: 7,
41+
topLeftCorner: 14,
42+
topRightCorner: 14,
43+
bottomRightCorner: 14,
44+
bottomLeftCorner: 14
45+
}
3946
};
4047
}
4148

src/icon/icon-directive.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@
88
templateUrl: 'icon/icon.html',
99
scope: {
1010
name: '@',
11-
iconClick: '&'
11+
iconClick: '&',
12+
tooltip: '@'
1213
},
1314
controller: 'IconCtrl',
1415
controllerAs: 'iconCtrl'

src/icon/icon.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
<img class="{{name + '-button'}}" ng-src="assets/png/{{iconCtrl.url()}}.png" ng-click="iconCtrl.click($event);"
2-
ng-mouseenter="iconCtrl.enter()" ng-mouseleave="iconCtrl.leave()" draggable="false"/>
2+
ng-mouseenter="iconCtrl.enter()" ng-mouseleave="iconCtrl.leave()" title="{{tooltip}}" draggable="false"/>

src/main/version/version-controller.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
(function() {
22
'use strict';
33

4-
const VERSION = { version: '9.1.0' };
4+
const VERSION = { version: '9.2.0' };
55

66
class VersionCtrl {
77
constructor(currentWindowService) {

src/sidebars/favourites/favourite.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
<div class="favourite darkens{{selection() !== stock.code ? '' : ' dark'}}" ng-click="singleClick(stock)" ng-dblclick="doubleClick(stock)" draggable="false"
33
ng-init="(selection() == null || selection() === '') && select(stock);">
44
<div class="top">
5-
<img class="tearable {{single()}}" src="assets/png/drag_handle.png" draggable="false" />
5+
<img class="tearable {{single()}}" src="assets/png/drag_handle.png" title="Move Stock" draggable="false" />
66
<div class="star">
7-
<star stock="stock"></star>
7+
<star stock="stock" confirm="true"></star>
88
</div>
99
<div class="stock-name name">{{stock.name | truncate}}</div>
1010
<div class="code">{{stock.code | uppercase}}</div>

src/sidebars/favourites/tearout-directive.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,7 @@
121121
newWindow.moveTo(e.screenX - newCardOffset[0], e.screenY - newCardOffset[1]);
122122
var newStore = window.storeService.open(newWindow.name);
123123
newStore.add(scope.stock);
124+
store.remove(scope.stock);
124125
newStore.toggleCompact(compact);
125126
});
126127
}

src/sidebars/search/search-controller.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,10 @@
154154
}
155155
});
156156
}
157+
158+
darkenClass(stock) {
159+
return (this.selection() === stock.code || stock.isHovered) ? 'dark' : '';
160+
}
157161
}
158162
SearchCtrl.$inject = ['$scope', 'quandlService', 'selectionService', 'currentWindowService'];
159163

0 commit comments

Comments
 (0)