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
977f1735
Commit
977f1735
authored
Aug 25, 2020
by
Alexandre Delanoë
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[DOC] Tooltip, icon added
parent
12404dee
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
16 additions
and
22 deletions
+16
-22
Forest.purs
src/Gargantext/Components/Forest.purs
+0
-1
Node.purs
src/Gargantext/Components/Forest/Tree/Node.purs
+2
-3
Upload.purs
...Gargantext/Components/Forest/Tree/Node/Action/Upload.purs
+1
-2
Box.purs
src/Gargantext/Components/Forest/Tree/Node/Box.purs
+0
-1
Tools.purs
src/Gargantext/Components/Forest/Tree/Node/Tools.purs
+13
-15
No files found.
src/Gargantext/Components/Forest.purs
View file @
977f1735
...
...
@@ -2,7 +2,6 @@ module Gargantext.Components.Forest where
import Gargantext.Prelude
import Data.Array as A
import Data.Maybe (Maybe(..))
import Data.Set as Set
import Data.Tuple (fst)
...
...
src/Gargantext/Components/Forest/Tree/Node.purs
View file @
977f1735
...
...
@@ -9,7 +9,6 @@ import Effect.Class (liftEffect)
import React.SyntheticEvent as E
import Reactix as R
import Reactix.DOM.HTML as H
import Web.File.FileReader.Aff (readAsText)
import Gargantext.Components.Forest.Tree.Node.Settings (SettingsBox(..), settingsBox)
import Gargantext.Components.Forest.Tree.Node.Action (Action(..))
...
...
@@ -24,7 +23,7 @@ import Gargantext.Components.Forest.Tree.Node.Tools (nodeLink)
import Gargantext.Components.GraphExplorer.API as GraphAPI
import Gargantext.Components.Lang (Lang(EN))
import Gargantext.Components.Nodes.Corpus (loadCorpusWithChild)
import Gargantext.Ends (Frontends
, url
)
import Gargantext.Ends (Frontends)
import Gargantext.Hooks.Loader (useLoader)
import Gargantext.Prelude (Unit, bind, const, discard, map, pure, show, unit, void, ($), (<>), (==), identity)
import Gargantext.Routes as Routes
...
...
src/Gargantext/Components/Forest/Tree/Node/Action/Upload.purs
View file @
977f1735
...
...
@@ -17,7 +17,7 @@ import React.SyntheticEvent as E
import Reactix as R
import Reactix.DOM.HTML as H
import URI.Extra.QueryPairs as QP
import Web.File.Blob (Blob)
--
import Web.File.Blob (Blob)
import Web.File.FileReader.Aff (readAsDataURL, readAsText)
import Gargantext.Prelude
...
...
@@ -31,7 +31,6 @@ import Gargantext.Sessions (Session, postWwwUrlencoded)
import Gargantext.Types (NodeType(..), ID)
import Gargantext.Types as GT
import Gargantext.Utils.Reactix as R2
import Gargantext.Utils.String as GUS
-- UploadFile Action
...
...
src/Gargantext/Components/Forest/Tree/Node/Box.purs
View file @
977f1735
...
...
@@ -2,7 +2,6 @@ module Gargantext.Components.Forest.Tree.Node.Box where
import Data.Array as A
import Data.Maybe (Maybe(..))
import Data.String as S
import Data.Tuple (fst)
import Data.Tuple.Nested ((/\))
import DOM.Simple.Console (log2)
...
...
src/Gargantext/Components/Forest/Tree/Node/Tools.purs
View file @
977f1735
...
...
@@ -285,19 +285,17 @@ nodeLinkCpt = R.hooksComponent "G.C.F.T.N.T.nodeLink" cpt
popoverRef <- R.useRef null
pure $
H.div {} [
H.a { data: { for: tooltipId, tip: true }
H.div {} [ H.a { data: { for: tooltipId, tip: true }
, href: url frontends $ GT.NodePath (sessionId session) nodeType (Just id) }
[ nodeText { isSelected
, name
} ]
, ReactTooltip.reactTooltip { id: tooltipId } [
R2.row [
H.h4 {} [ H.text $ prettyNodeType nodeType ]
}
]
, R2.row [
H.span {} [ H.text $ name ]
, ReactTooltip.reactTooltip { id: tooltipId }
[ R2.row [ H.h4 {className: GT.fldr nodeType true}
[ H.text $ prettyNodeType nodeType ]
]
, R2.row [ H.span {} [ H.text $ name ]]
]
]
...
...
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