Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
Goshimmer_without_tipselection
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
COLLET Ismael
Goshimmer_without_tipselection
Commits
605f4124
Unverified
Commit
605f4124
authored
4 years ago
by
capossele
Browse files
Options
Downloads
Patches
Plain Diff
Upgrade fpc dashboard
parent
4aadb49a
No related branches found
No related tags found
No related merge requests found
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
plugins/analysis/dashboard/frontend/src/app/stores/FPCStore.tsx
+0
-27
0 additions, 27 deletions
...s/analysis/dashboard/frontend/src/app/stores/FPCStore.tsx
plugins/analysis/dashboard/packrd/packed-packr.go
+18
-0
18 additions, 0 deletions
plugins/analysis/dashboard/packrd/packed-packr.go
with
18 additions
and
27 deletions
plugins/analysis/dashboard/frontend/src/app/stores/FPCStore.tsx
+
0
−
27
View file @
605f4124
...
@@ -3,7 +3,6 @@ import {action, computed, observable, ObservableMap} from "mobx";
...
@@ -3,7 +3,6 @@ import {action, computed, observable, ObservableMap} from "mobx";
import
Col
from
"
react-bootstrap/Col
"
;
import
Col
from
"
react-bootstrap/Col
"
;
import
*
as
React
from
"
react
"
;
import
*
as
React
from
"
react
"
;
import
{
registerHandler
,
WSMsgType
}
from
"
app/misc/WS
"
;
import
{
registerHandler
,
WSMsgType
}
from
"
app/misc/WS
"
;
<<
<<
<<
<
HEAD
import
{
Link
}
from
'
react-router-dom
'
;
import
{
Link
}
from
'
react-router-dom
'
;
export
class
Node
{
export
class
Node
{
...
@@ -21,39 +20,13 @@ function SetColor(opinion) {
...
@@ -21,39 +20,13 @@ function SetColor(opinion) {
enum
Opinion
{
enum
Opinion
{
Like
=
1
,
Like
=
1
,
Dislike
Dislike
=======
export
class
Node
{
id
:
number
;
opinion
:
number
=
0
;
}
export
function
LightenDarkenColor
(
col
,
amt
)
{
var
num
=
parseInt
(
col
,
16
);
var
r
=
(
num
>>
16
)
+
amt
;
var
b
=
((
num
>>
8
)
&
0x00FF
)
+
amt
;
var
g
=
(
num
&
0x0000FF
)
+
amt
;
var
newColor
=
g
|
(
b
<<
8
)
|
(
r
<<
16
);
return
newColor
.
toString
(
16
);
}
function
SetColor
(
opinion
)
{
if
(
opinion
==
0
)
{
return
"
#BD0000
"
}
return
"
#00BD00
"
>>>>>>>
develop
}
}
class
VoteContext
{
class
VoteContext
{
nodeid
:
string
;
nodeid
:
string
;
rounds
:
number
;
rounds
:
number
;
opinions
:
number
[];
opinions
:
number
[];
<<
<<
<<
<
HEAD
status
:
number
;
status
:
number
;
=======
like
:
number
;
>>>>>>>
develop
}
}
class
Conflict
{
class
Conflict
{
nodesview
:
Map
<
string
,
VoteContext
>
nodesview
:
Map
<
string
,
VoteContext
>
...
...
This diff is collapsed.
Click to expand it.
plugins/analysis/dashboard/packrd/packed-packr.go
+
18
−
0
View file @
605f4124
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment