Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
purescript-gargantext
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
131
Issues
131
List
Board
Labels
Milestones
Merge Requests
3
Merge Requests
3
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
gargantext
purescript-gargantext
Commits
ecdeeed1
Verified
Commit
ecdeeed1
authored
Jun 11, 2024
by
Przemyslaw Kaminski
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev' into dev-websockets
parents
ac1a74db
29d81ed7
Changes
10
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
207 additions
and
27 deletions
+207
-27
bootstrap-darkster.css
dist/styles/bootstrap-darkster.css
+13
-0
bootstrap-default.css
dist/styles/bootstrap-default.css
+13
-0
bootstrap-greyson.css
dist/styles/bootstrap-greyson.css
+13
-0
bootstrap-herbie.css
dist/styles/bootstrap-herbie.css
+13
-0
bootstrap-monotony.css
dist/styles/bootstrap-monotony.css
+13
-0
package.json
package.json
+1
-1
Node.purs
src/Gargantext/Components/Forest/Tree/Node.purs
+19
-11
Settings.purs
src/Gargantext/Components/Forest/Tree/Node/Settings.purs
+0
-1
DetailsTab.purs
...rgantext/Components/PhyloExplorer/Sidebar/DetailsTab.purs
+105
-14
_phylo.scss
src/sass/_legacy/_phylo.scss
+17
-0
No files found.
dist/styles/bootstrap-darkster.css
View file @
ecdeeed1
...
@@ -11998,6 +11998,19 @@ select.form-control {
...
@@ -11998,6 +11998,19 @@ select.form-control {
.phylo-details-tab__counter__value
{
.phylo-details-tab__counter__value
{
font-weight
:
bold
;
font-weight
:
bold
;
}
}
.phylo-details-tab__params
{
margin
:
16px
20px
;
}
.phylo-details-tab__params__item
{
margin-left
:
16px
;
list-style
:
initial
;
}
.phylo-details-tab__params__label
{
font-weight
:
bold
;
}
.phylo-details-tab__params__value
{
margin-left
:
16px
;
}
.phylo-details-tab__delimiter
{
.phylo-details-tab__delimiter
{
margin
:
16px
20px
;
margin
:
16px
20px
;
}
}
...
...
dist/styles/bootstrap-default.css
View file @
ecdeeed1
...
@@ -11802,6 +11802,19 @@ select.form-control {
...
@@ -11802,6 +11802,19 @@ select.form-control {
.phylo-details-tab__counter__value
{
.phylo-details-tab__counter__value
{
font-weight
:
bold
;
font-weight
:
bold
;
}
}
.phylo-details-tab__params
{
margin
:
16px
20px
;
}
.phylo-details-tab__params__item
{
margin-left
:
16px
;
list-style
:
initial
;
}
.phylo-details-tab__params__label
{
font-weight
:
bold
;
}
.phylo-details-tab__params__value
{
margin-left
:
16px
;
}
.phylo-details-tab__delimiter
{
.phylo-details-tab__delimiter
{
margin
:
16px
20px
;
margin
:
16px
20px
;
}
}
...
...
dist/styles/bootstrap-greyson.css
View file @
ecdeeed1
...
@@ -11652,6 +11652,19 @@ select.form-control {
...
@@ -11652,6 +11652,19 @@ select.form-control {
.phylo-details-tab__counter__value
{
.phylo-details-tab__counter__value
{
font-weight
:
bold
;
font-weight
:
bold
;
}
}
.phylo-details-tab__params
{
margin
:
16px
20px
;
}
.phylo-details-tab__params__item
{
margin-left
:
16px
;
list-style
:
initial
;
}
.phylo-details-tab__params__label
{
font-weight
:
bold
;
}
.phylo-details-tab__params__value
{
margin-left
:
16px
;
}
.phylo-details-tab__delimiter
{
.phylo-details-tab__delimiter
{
margin
:
16px
20px
;
margin
:
16px
20px
;
}
}
...
...
dist/styles/bootstrap-herbie.css
View file @
ecdeeed1
...
@@ -11873,6 +11873,19 @@ select.form-control {
...
@@ -11873,6 +11873,19 @@ select.form-control {
.phylo-details-tab__counter__value
{
.phylo-details-tab__counter__value
{
font-weight
:
bold
;
font-weight
:
bold
;
}
}
.phylo-details-tab__params
{
margin
:
16px
20px
;
}
.phylo-details-tab__params__item
{
margin-left
:
16px
;
list-style
:
initial
;
}
.phylo-details-tab__params__label
{
font-weight
:
bold
;
}
.phylo-details-tab__params__value
{
margin-left
:
16px
;
}
.phylo-details-tab__delimiter
{
.phylo-details-tab__delimiter
{
margin
:
16px
20px
;
margin
:
16px
20px
;
}
}
...
...
dist/styles/bootstrap-monotony.css
View file @
ecdeeed1
...
@@ -11946,6 +11946,19 @@ select.form-control {
...
@@ -11946,6 +11946,19 @@ select.form-control {
.phylo-details-tab__counter__value
{
.phylo-details-tab__counter__value
{
font-weight
:
bold
;
font-weight
:
bold
;
}
}
.phylo-details-tab__params
{
margin
:
16px
20px
;
}
.phylo-details-tab__params__item
{
margin-left
:
16px
;
list-style
:
initial
;
}
.phylo-details-tab__params__label
{
font-weight
:
bold
;
}
.phylo-details-tab__params__value
{
margin-left
:
16px
;
}
.phylo-details-tab__delimiter
{
.phylo-details-tab__delimiter
{
margin
:
16px
20px
;
margin
:
16px
20px
;
}
}
...
...
package.json
View file @
ecdeeed1
{
{
"name"
:
"Gargantext"
,
"name"
:
"Gargantext"
,
"version"
:
"0.0.7.1.
5.4
"
,
"version"
:
"0.0.7.1.
6.1
"
,
"scripts"
:
{
"scripts"
:
{
"build"
:
"spago build"
,
"build"
:
"spago build"
,
"bundle"
:
"spago bundle --module Main --outfile dist/bundle.js"
,
"bundle"
:
"spago bundle --module Main --outfile dist/bundle.js"
,
...
...
src/Gargantext/Components/Forest/Tree/Node.purs
View file @
ecdeeed1
...
@@ -214,6 +214,22 @@ nodeSpanCpt = here.component "nodeSpan" cpt
...
@@ -214,6 +214,22 @@ nodeSpanCpt = here.component "nodeSpan" cpt
host <- R2.getPortalHost
host <- R2.getPortalHost
-- Tooltip
let hasTooltip = nodeType == GT.NodeUser
tooltipEl = if hasTooltip then
nodeTooltip
{ id
, nodeType
, name
}
[
case mVersion of
Nothing -> mempty
Just v -> versionComparator v
]
else
H.div {} []
-- Render
-- Render
pure $
pure $
...
@@ -235,17 +251,9 @@ nodeSpanCpt = here.component "nodeSpan" cpt
...
@@ -235,17 +251,9 @@ nodeSpanCpt = here.component "nodeSpan" cpt
-- // Abstract informations //
-- // Abstract informations //
-- nodeTooltip
tooltipEl
-- { id
-- , nodeType
,
-- , name
-- }
-- [
-- case mVersion of
-- Nothing -> mempty
-- Just v -> versionComparator v
-- ]
-- ,
R.createPortal
R.createPortal
[
[
fileTypeView
fileTypeView
...
...
src/Gargantext/Components/Forest/Tree/Node/Settings.purs
View file @
ecdeeed1
...
@@ -156,7 +156,6 @@ settingsBoxLens Corpus =
...
@@ -156,7 +156,6 @@ settingsBoxLens Corpus =
, Calc
, Calc
, NodeTexts
, NodeTexts
, NodeList
, NodeList
, Graph
-- , Dashboard
-- , Dashboard
, Phylo
, Phylo
-- , NodeFrameNotebook
-- , NodeFrameNotebook
...
...
src/Gargantext/Components/PhyloExplorer/Sidebar/DetailsTab.purs
View file @
ecdeeed1
...
@@ -75,8 +75,8 @@ detailsTabCpt = here.component "" cpt where
...
@@ -75,8 +75,8 @@ detailsTabCpt = here.component "" cpt where
-- Phylo params
-- Phylo params
H.ul
H.ul
{ className: "phylo-details-tab__counter" }
{ className: "phylo-details-tab__counter" }
[ details
TimeUnit c.timeUnit
[ details
Params c.levelOfObservation "Level of observation"
, details
Params c.levelOfObservation "Level of observation"
, details
TimeUnit c.timeUnit
, detailsClique c.clique
, detailsClique c.clique
, detailsParams c.proximity "Proximity"
, detailsParams c.proximity "Proximity"
, detailsParams c.synchrony "Synchrony"
, detailsParams c.synchrony "Synchrony"
...
@@ -104,27 +104,118 @@ detailsCount value label =
...
@@ -104,27 +104,118 @@ detailsCount value label =
detailsParams :: forall a. (Show a) => a -> String -> R.Element
detailsParams :: forall a. (Show a) => a -> String -> R.Element
detailsParams value label =
detailsParams value label =
H.li {} [ H.text $ label <> ": " <> show value ]
H.li
{ className: "phylo-details-tab__params__item"}
[
H.span
{ className: "phylo-details-tab__params__label"}
[
H.text $ label <> ":"
]
,
H.span
{ className: "phylo-details-tab__params__value"}
[ H.text $ show value]
]
detailsClique :: Cluster -> R.Element
detailsClique :: Cluster -> R.Element
detailsClique c =
detailsClique c =
H.li {} [ H.text $ "Cluster algo: " <> parseClique c]
R.fragment [
H.li
{ className: "phylo-details-tab__params__item"}
[ H.span
{ className: "phylo-details-tab__params__label"}
[ H.text "Topic detection strategy" ]
]
,
H.ul
{ className: "phylo-details-tab__counter" }
(parseClique c)
]
where
where
parseClique (Fis { _fis_support, _fis_size }) = "FIS. Support: " <> show _fis_support <> ". Size: " <> show _fis_size
parseClique :: Cluster -> Array R.Element
parseClique (Fis { _fis_support, _fis_size }) =
[
detailsParams "Fis" "Algorithm"
,
detailsParams _fis_support "Support"
,
detailsParams _fis_size "Size"
]
parseClique (MaxClique { _mcl_size, _mcl_threshold, _mcl_filter}) =
parseClique (MaxClique { _mcl_size, _mcl_threshold, _mcl_filter}) =
"MaxClique. Size: " <> show _mcl_size <> ". Threshhold: " <> show _mcl_threshold <> ". Filter: " <> _mcl_filter
[
detailsParams "MaxClique" "Algorithm"
,
detailsParams _mcl_size "Size"
,
detailsParams _mcl_threshold "Threshold"
,
detailsParams _mcl_filter "Filter"
]
detailsTimeUnit :: TimeUnit -> R.Element
detailsTimeUnit :: TimeUnit -> R.Element
detailsTimeUnit t =
detailsTimeUnit t =
H.li {} [ H.text $ "Time unit: " <> parseTimeUnit t]
R.fragment [
H.li
{ className: "phylo-details-tab__params__item" }
[ H.span
{ className: "phylo-details-tab__params__label" }
[ H.text "Inter-temporal Matching" ]
]
,
H.ul
{ className: "phylo-details-tab__counter" }
(parseTimeUnit t)
]
where
where
parseTimeUnit (Epoch {_epoch_period, _epoch_step, _epoch_matchingFrame}) =
parseTimeUnit :: TimeUnit -> Array R.Element
"Epoch. Period: " <> show _epoch_period <> ". Step: " <> show _epoch_step <>". Matching frame: " <> show _epoch_matchingFrame
parseTimeUnit (Epoch {_epoch_period, _epoch_step, _epoch_matchingFrame}) =
[
detailsParams "Epoch" "Time unit"
,
detailsParams _epoch_period "Period"
,
detailsParams _epoch_step "Step"
,
detailsParams _epoch_matchingFrame "Matching frame"
]
parseTimeUnit (Year {_year_period, _year_step, _year_matchingFrame}) =
parseTimeUnit (Year {_year_period, _year_step, _year_matchingFrame}) =
"Year. Period: " <> show _year_period <> ". Step: " <> show _year_step <>". Matching frame: " <> show _year_matchingFrame
[
detailsParams "Year" "Time unit"
,
detailsParams _year_period "Period"
,
detailsParams _year_step "Step"
,
detailsParams _year_matchingFrame "Matching frame"
]
parseTimeUnit (Month {_month_period, _month_step, _month_matchingFrame}) =
parseTimeUnit (Month {_month_period, _month_step, _month_matchingFrame}) =
"Month. Period: " <> show _month_period <> ". Step: " <> show _month_step <>". Matching frame: " <> show _month_matchingFrame
[
parseTimeUnit (Week {_week_period, _week_step, _week_matchingFrame}) =
detailsParams "Month" "Time unit"
"Week. Period: " <> show _week_period <> ". Step: " <> show _week_step <>". Matching frame: " <> show _week_matchingFrame
,
detailsParams _month_period "Period"
,
detailsParams _month_step "Step"
,
detailsParams _month_matchingFrame "Matching frame"
]
parseTimeUnit (Week {_week_period, _week_step, _week_matchingFrame}) =
[
detailsParams "Week" "Time unit"
,
detailsParams _week_period "Period"
,
detailsParams _week_step "Step"
,
detailsParams _week_matchingFrame "Matching frame"
]
parseTimeUnit (Day {_day_period, _day_step, _day_matchingFrame}) =
parseTimeUnit (Day {_day_period, _day_step, _day_matchingFrame}) =
"Day. Period: " <> show _day_period <> ". Step: " <> show _day_step <>". Matching frame: " <> show _day_matchingFrame
[
detailsParams "Day" "Time unit"
,
detailsParams _day_period "Period"
,
detailsParams _day_step "Step"
,
detailsParams _day_matchingFrame "Matching frame"
]
src/sass/_legacy/_phylo.scss
View file @
ecdeeed1
...
@@ -586,6 +586,23 @@ $decreasing-color: #11638F;
...
@@ -586,6 +586,23 @@ $decreasing-color: #11638F;
}
}
}
}
&
__params
{
margin
:
$margin-y
$margin-x
;
&
__item
{
margin-left
:
space-x
(
2
);
list-style
:
initial
;
}
&
__label
{
font-weight
:
bold
;
}
&
__value
{
margin-left
:
space-x
(
2
);
}
}
&
__delimiter
{
&
__delimiter
{
margin
:
$margin-y
$margin-x
;
margin
:
$margin-y
$margin-x
;
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment