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
148
Issues
148
List
Board
Labels
Milestones
Merge Requests
2
Merge Requests
2
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
6ddc0abd
Commit
6ddc0abd
authored
Feb 17, 2022
by
arturo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
>>> continue
parent
294c3bcd
Pipeline
#2493
failed with stage
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
2 deletions
+4
-2
Phylo.purs
src/Gargantext/Components/Nodes/Corpus/Phylo.purs
+3
-0
Resources.js
src/Gargantext/Components/PhyloExplorer/Resources.js
+0
-1
Ends.purs
src/Gargantext/Ends.purs
+1
-1
No files found.
src/Gargantext/Components/Nodes/Corpus/Phylo.purs
View file @
6ddc0abd
...
@@ -5,6 +5,7 @@ module Gargantext.Components.Nodes.Corpus.Phylo
...
@@ -5,6 +5,7 @@ module Gargantext.Components.Nodes.Corpus.Phylo
import Gargantext.Prelude
import Gargantext.Prelude
import DOM.Simple (document, querySelector)
import DOM.Simple (document, querySelector)
import DOM.Simple.Console (log)
import Data.Maybe (Maybe(..))
import Data.Maybe (Maybe(..))
import FFI.Simple ((..), (.=))
import FFI.Simple ((..), (.=))
import Gargantext.Components.App.Data (Boxes)
import Gargantext.Components.App.Data (Boxes)
...
@@ -69,6 +70,8 @@ contentCpt = here.component "content" cpt where
...
@@ -69,6 +70,8 @@ contentCpt = here.component "content" cpt where
-- Hooks
-- Hooks
useFirstEffect' do
useFirstEffect' do
-- @WIP
log dataset
-- @XXX: inopinent <div> (see Gargantext.Components.Router) (@TODO?)
-- @XXX: inopinent <div> (see Gargantext.Components.Router) (@TODO?)
mEl <- querySelector document ".main-page__main-route .container"
mEl <- querySelector document ".main-page__main-route .container"
case mEl of
case mEl of
...
...
src/Gargantext/Components/PhyloExplorer/Resources.js
View file @
6ddc0abd
...
@@ -1230,7 +1230,6 @@ function drawPhylo(branches, periods, groups, links, aLinks, bLinks, frame) {
...
@@ -1230,7 +1230,6 @@ function drawPhylo(branches, periods, groups, links, aLinks, bLinks, frame) {
/* labels */
/* labels */
var
firstDate
=
Math
.
min
(...
groups
.
map
(
g
=>
(
g
.
from
).
getFullYear
()))
var
firstDate
=
Math
.
min
(...
groups
.
map
(
g
=>
(
g
.
from
).
getFullYear
()))
var
yLabels
=
(
periods
.
map
(
p
=>
({
y
:
p
.
y
,
from
:
p
.
from
,
to
:
p
.
to
,
label
:(
p
.
from
).
getFullYear
()}))).
filter
(
p
=>
p
.
label
>=
firstDate
);
var
yLabels
=
(
periods
.
map
(
p
=>
({
y
:
p
.
y
,
from
:
p
.
from
,
to
:
p
.
to
,
label
:(
p
.
from
).
getFullYear
()}))).
filter
(
p
=>
p
.
label
>=
firstDate
);
var
xLabels
=
toXLabels
(
branches
,
groups
,
frame
[
2
]);
var
xLabels
=
toXLabels
(
branches
,
groups
,
frame
[
2
]);
...
...
src/Gargantext/Ends.purs
View file @
6ddc0abd
...
@@ -194,7 +194,7 @@ sessionPath (R.ChartHash { chartType, listId, tabType } i) =
...
@@ -194,7 +194,7 @@ sessionPath (R.ChartHash { chartType, listId, tabType } i) =
<> "&listType=" <> show MapTerm -- listId
<> "&listType=" <> show MapTerm -- listId
<> defaultListAddMaybe listId
<> defaultListAddMaybe listId
-- sessionPath (R.NodeAPI (NodeContact s a i) i) = sessionPath $ "annuaire/" <> show a <> "/contact/" <> show i
-- sessionPath (R.NodeAPI (NodeContact s a i) i) = sessionPath $ "annuaire/" <> show a <> "/contact/" <> show i
sessionPath (R.PhyloAPI nId) = "node/" <> show nId
sessionPath (R.PhyloAPI nId) = "node/" <> show nId
<> "/phylo"
------- misc routing stuff
------- misc routing stuff
...
...
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