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
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
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
Grégoire Locqueville
purescript-gargantext
Commits
6fa1c9d7
Commit
6fa1c9d7
authored
Nov 17, 2021
by
arturo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
>>> continue
parent
dbb0fd41
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
6 deletions
+7
-6
Footer.purs
src/Gargantext/Components/Footer.purs
+1
-3
Draw.purs
src/Gargantext/Components/PhyloExplorer/Draw.purs
+6
-3
No files found.
src/Gargantext/Components/Footer.purs
View file @
6fa1c9d7
...
@@ -18,6 +18,4 @@ footer = R.createElement footerCpt
...
@@ -18,6 +18,4 @@ footer = R.createElement footerCpt
footerCpt :: R.Component FooterProps
footerCpt :: R.Component FooterProps
footerCpt = here.component "footer" cpt where
footerCpt = here.component "footer" cpt where
cpt { } _ = do
cpt { } _ = do
-- (?) as the footer is empty for now, just output nothing
pure $ H.div { className: "container" } [ H.hr {}, H.footer {} [] ]
-- pure $ H.div { className: "container" } [ H.hr {}, H.footer {} [] ]
pure mempty
src/Gargantext/Components/PhyloExplorer/Draw.purs
View file @
6fa1c9d7
...
@@ -13,7 +13,6 @@ import Data.Foldable (for_)
...
@@ -13,7 +13,6 @@ import Data.Foldable (for_)
import Data.FoldableWithIndex (forWithIndex_)
import Data.FoldableWithIndex (forWithIndex_)
import Data.Maybe (Maybe(..), maybe)
import Data.Maybe (Maybe(..), maybe)
import Effect (Effect)
import Effect (Effect)
import Effect.Class (liftEffect)
import Effect.Uncurried (EffectFn1, EffectFn7, runEffectFn1, runEffectFn7)
import Effect.Uncurried (EffectFn1, EffectFn7, runEffectFn1, runEffectFn7)
import FFI.Simple (applyTo, getProperty, (..), (.=), (.?))
import FFI.Simple (applyTo, getProperty, (..), (.=), (.?))
import Gargantext.Components.PhyloExplorer.Types (AncestorLink, Branch, BranchLink, GlobalTerm(..), Group(..), Link, Period, PhyloDataSet(..))
import Gargantext.Components.PhyloExplorer.Types (AncestorLink, Branch, BranchLink, GlobalTerm(..), Group(..), Link, Period, PhyloDataSet(..))
...
@@ -126,7 +125,11 @@ setGlobalDependencies w (PhyloDataSet o)
...
@@ -126,7 +125,11 @@ setGlobalDependencies w (PhyloDataSet o)
, fdt : val'
, fdt : val'
}
}
pure $ terms ~~ "flat" $ []
-- Use FFI native `Array.flat` method (not mutating its caller in this
-- context)
void do
new <- pure $ (terms ~~ "flat") []
pure $ (w .= "terms") new
-- @XXX: prevent PureScript from not injecting D3
-- @XXX: prevent PureScript from not injecting D3
setGlobalD3Reference :: Window -> D3 -> Effect Unit
setGlobalD3Reference :: Window -> D3 -> Effect Unit
...
@@ -213,7 +216,7 @@ highlightSource window value =
...
@@ -213,7 +216,7 @@ highlightSource window value =
addClass el [ "source-focus" ]
addClass el [ "source-focus" ]
fill "#a6bddb" el
fill "#a6bddb" el
bid <-
liftEffect $ applyTo_ el "getAttribute"
[ "bId" ]
bid <-
pure $ (el ~~ "getAttribute")
[ "bId" ]
void $
void $
D3S.rootSelect ("#peak-" <> bid)
D3S.rootSelect ("#peak-" <> bid)
...
...
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