Skip to content
This repository was archived by the owner on Oct 30, 2018. It is now read-only.

Commit 8d50f00

Browse files
authored
Merge pull request #744 from littleskunk/bugfix
Bugfix developer console errors
2 parents cd66a7a + 57a5593 commit 8d50f00

File tree

3 files changed

+22
-26
lines changed

3 files changed

+22
-26
lines changed

app/package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,14 @@
44
"publisher": "Storj Labs Inc.",
55
"identifier": "com.storj.farmer",
66
"description": "Storj Share GUI",
7-
"version": "7.3.0",
7+
"version": "7.3.1",
88
"author": "Storj <alex@storj.io> <rforan@storj.io>",
99
"main": "main.js",
1010
"dependencies": {
1111
"applescript": "^1.0.0",
1212
"async": "^2.5.0",
13-
"bootstrap": "^4.0.0-alpha.6",
14-
"bootstrap-vue": "0.23.0",
13+
"bootstrap": "^4.0.0-beta.2",
14+
"bootstrap-vue": "^1.3.0",
1515
"bytes": "^3.0.0",
1616
"dnode": "^1.2.2",
1717
"merge": "^1.2.0",

app/views/overview/index.js

+18-20
Original file line numberDiff line numberDiff line change
@@ -53,9 +53,7 @@ module.exports = {
5353
<section>
5454
<error class="error-stream alert alert-danger alert-dismissible" v-bind:notes="store.errors" v-on:erase="store.actions.clearErrors"></error>
5555
<div v-if="appState.isTestnet">
56-
<b-tooltip content="Install or Build the Application to Farm on the Production Storj network.">
57-
<span style="position: fixed; bottom:0px; left:0px">Currently Running Storj on Test Network...</span>
58-
</b-tooltip content>
56+
<span v-b-tooltip title="Install or Build the Application to Farm on the Production Storj network." style="position: fixed; bottom:0px; left:0px">Currently Running Storj on Test Network...</span>
5957
</div>
6058
<overview-nav></overview-nav>
6159
@@ -111,35 +109,35 @@ module.exports = {
111109
112110
<td><span>{{index}}</span></td>
113111
114-
<td><b-tooltip content="The NodeID is the unique Storj identity of the node."><span>{{share.id}}</span></b-tooltip></td>
112+
<td><span v-b-tooltip title="The NodeID is the unique Storj identity of the node.">{{share.id}}</span></td>
115113
116114
<td>
117-
<div v-if="share.isValid && share.isRunning"><b-tooltip content="Online"><span class="node-status-on">ON</span></b-tooltip></div>
118-
<div v-if="share.isValid && !share.isRunning"><b-tooltip content="Offline"><span class="node-status-off">OFF</span></b-tooltip></div>
119-
<div v-if="!share.isValid"><b-tooltip content="Please Wait"><span class="node-status-loading">Loading</span></b-tooltip></div>
120-
<!-- <div><b-tooltip content="Warning Message"><span class="node-status-warning">Warning</span></b-tooltip></div> -->
121-
<!-- <div><b-tooltip content="Error Message"><span class="node-status-error">Error</span></b-tooltip></div> -->
115+
<div v-if="share.isValid && share.isRunning"><span v-b-tooltip title="Online" class="node-status-on">ON</span></div>
116+
<div v-if="share.isValid && !share.isRunning"><span v-b-tooltip title="Offline" class="node-status-off">OFF</span></div>
117+
<div v-if="!share.isValid"><span v-b-tooltip title="Please Wait" class="node-status-loading">Loading</span></div>
118+
<!-- <div><span v-b-tooltip title="Warning Message" class="node-status-warning">Warning</span></div> -->
119+
<!-- <div><span v-b-tooltip title="Error Message" class="node-status-error">Error</span></div> -->
122120
</td>
123121
<!-- <td class="storj">25,920 <span>STORJ</span></td> -->
124122
<td>{{share.config.storagePath}}</td>
125123
<td><span v-if="share.isRunning">{{share.meta.uptimeReadable}}</span></td>
126-
<td><b-tooltip content="A node will often restart when you receive an error. Search the log for ECONNRESET if this happens frequently.">{{share.meta.numRestarts}}</b-tooltip></td>
127-
<td><b-tooltip content="Used for legacy compatibility.">{{share.meta.farmerState.totalPeers}}</b-tooltip></td>
124+
<td><span v-b-tooltip title="A node will often restart when you receive an error. Search the log for ECONNRESET if this happens frequently.">{{share.meta.numRestarts}}</span></td>
125+
<td><span v-b-tooltip title="Used for legacy compatibility.">{{share.meta.farmerState.totalPeers}}</span></td>
128126
<td>
129-
<div v-if="!share.isValid || (share.isValid && !share.isRunning) || share.meta.farmerState.bridgesConnectionStatus === 0"><b-tooltip content="Not connected to any bridges"><span class="node-status-off">Disconnected</span></b-tooltip></div>
130-
<div v-if="share.isValid && share.isRunning && share.meta.farmerState.bridgesConnectionStatus === 1"><b-tooltip content="Connecting to bridges"><span class="node-status-loading">Connecting</span></b-tooltip></div>
131-
<div v-if="share.isValid && share.isRunning && share.meta.farmerState.bridgesConnectionStatus === 2"><b-tooltip content="Performing Proof of Work to join the network"><span class="node-status-loading">Confirming</span></b-tooltip></div>
132-
<div v-if="share.isValid && share.isRunning && share.meta.farmerState.bridgesConnectionStatus === 3"><b-tooltip content="Connected to bridges"><span class="node-status-on">Connected</span></b-tooltip></div>
127+
<div v-if="!share.isValid || (share.isValid && !share.isRunning) || share.meta.farmerState.bridgesConnectionStatus === 0"><span v-b-tooltip title="Not connected to any bridges" class="node-status-off">Disconnected</span></div>
128+
<div v-if="share.isValid && share.isRunning && share.meta.farmerState.bridgesConnectionStatus === 1"><span v-b-tooltip title="Connecting to bridges" class="node-status-loading">Connecting</span></div>
129+
<div v-if="share.isValid && share.isRunning && share.meta.farmerState.bridgesConnectionStatus === 2"><span v-b-tooltip title="Performing Proof of Work to join the network" class="node-status-loading">Confirming</span></div>
130+
<div v-if="share.isValid && share.isRunning && share.meta.farmerState.bridgesConnectionStatus === 3"><span v-b-tooltip title="Connected to bridges" class="node-status-on">Connected</span></div>
133131
</td>
134-
<td><b-tooltip content="How many times since you reset your node that the Bridge has asked your node for an alloc message. An alloc is basically telling the Bridge your node's status.">{{share.meta.farmerState.contractCount}}</b-tooltip><b-tooltip content="This is a count of how many shards you have received."> ({{share.meta.farmerState.dataReceivedCount}} received)</b-tooltip></td>
135-
<td><b-tooltip content="This shows how much space is being used by shards and the percentage of total space that is being used. If this says ... either your node is new and doesn't yet have any data, or there is potentially a corruption issue.">{{share.meta.farmerState.spaceUsed}} ({{share.meta.farmerState.percentUsed}}%)</b-tooltip></td>
132+
<td><span v-b-tooltip title="How many times since you reset your node that the Bridge has asked your node for an alloc message. An alloc is basically telling the Bridge your node's status.">{{share.meta.farmerState.contractCount}}</span><span v-b-tooltip title="This is a count of how many shards you have received."> ({{share.meta.farmerState.dataReceivedCount}} received)</span></td>
133+
<td><span v-b-tooltip title="This shows how much space is being used by shards and the percentage of total space that is being used. If this says ... either your node is new and doesn't yet have any data, or there is potentially a corruption issue.">{{share.meta.farmerState.spaceUsed}} ({{share.meta.farmerState.percentUsed}}%)</span></td>
136134
<td v-if="share.meta.farmerState.ntpStatus && share.meta.farmerState.ntpStatus.status === 2">
137-
<span class="connection" v-if="share.meta.farmerState.ntpStatus && share.isRunning" v-bind:status="share.meta.farmerState.ntpStatus.status"><b-tooltip content="Your clock's precision is out of sync. If it is 9999 this may indicate a one time NTP communication failure which can be ignored unless it happens for hours at a time.">{{share.meta.farmerState.ntpStatus.delta}}</b-tooptip></span>
135+
<span class="connection" v-if="share.meta.farmerState.ntpStatus && share.isRunning" v-bind:status="share.meta.farmerState.ntpStatus.status" v-b-tooltip title="Your clock's precision is out of sync. If it is 9999 this may indicate a one time NTP communication failure which can be ignored unless it happens for hours at a time.">{{share.meta.farmerState.ntpStatus.delta}}</span>
138136
</td>
139137
<td v-else>
140-
<span class="connection" v-if="share.meta.farmerState.ntpStatus && share.isRunning" v-bind:status="share.meta.farmerState.ntpStatus.status"><b-tooltip content="This is your clock's precision.">{{share.meta.farmerState.ntpStatus.delta}}</span>
138+
<span class="connection" v-if="share.meta.farmerState.ntpStatus && share.isRunning" v-bind:status="share.meta.farmerState.ntpStatus.status" v-b-tooltip title="This is your clock's precision.">{{share.meta.farmerState.ntpStatus.delta}}</span>
141139
</td>
142-
<td><b-tooltip placement="left" content="The port your node is listening on. Each node should be on a different port. Port status should be green. If your port status says UPnP, Tunneling, or is Red you should manually setup port forwarding. If your node status is black, you may need to configure port forwarding manually or you may have a loopback error. Please visit https://community.storj.io and join the channel #storjshare for further help."><span class="connection" v-if="share.meta.farmerState.portStatus && share.isRunning" v-bind:status="share.meta.farmerState.portStatus.connectionStatus">{{share.meta.farmerState.portStatus.listenPort}} {{share.meta.farmerState.portStatus.connectionType}}</span></b-tooltip></td>
140+
<td><span v-b-tooltip.html.left title="The port your node is listening on. Each node should be on a different port. Port status should be green. If your port status says UPnP, Tunneling, or is Red you should manually setup port forwarding. If your node status is black, you may need to configure port forwarding manually or you may have a loopback error. Please visit https://community.storj.io and join the channel #storjshare for further help." class="connection" v-if="share.meta.farmerState.portStatus && share.isRunning" v-bind:status="share.meta.farmerState.portStatus.connectionStatus">{{share.meta.farmerState.portStatus.listenPort}} {{share.meta.farmerState.portStatus.connectionType}}</span></td>
143141
<td class="text-right">
144142
<b-dropdown :id="'dropdownMenuLink' + share.id">
145143
<span slot="text">

app/views/share-wizard/wizard4.js

+1-3
Original file line numberDiff line numberDiff line change
@@ -88,9 +88,7 @@ module.exports = {
8888
class="port-number text-center">
8989
</numeric-input>
9090
<label for="doNotTraverseNat">Reachable</label>
91-
<b-tooltip class="nat-checkbox" content="This checkbox disables NAT traversal. Only check if you have port forwarded or are otherwise reachable from the Internet">
92-
<input type="checkbox" v-model="newShare.config.doNotTraverseNat">
93-
</b-tooltip>
91+
<input v-b-tooltip title="This checkbox disables NAT traversal. Only check if you have port forwarded or are otherwise reachable from the Internet" type="checkbox" v-model="newShare.config.doNotTraverseNat">
9492
<button v-on:click="chooseRandomPort" class="btn btn-secondary mr-3">Random</button>
9593
<button v-on:click="checkPort" class="btn" v-bind:disabled="uiState.isChecking">{{invalidPort.port === newShare.config.rpcPort ? 'Continue Anyways' : continueButtonText}}</button>
9694
</div>

0 commit comments

Comments
 (0)