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
c8fcd195
Commit
c8fcd195
authored
Feb 24, 2022
by
Karen Konou
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[Forest] use unique IDs for user tooltips
parent
37a4d4d1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
Tools.purs
src/Gargantext/Components/Forest/Tree/Node/Tools.purs
+2
-2
No files found.
src/Gargantext/Components/Forest/Tree/Node/Tools.purs
View file @
c8fcd195
...
@@ -290,9 +290,9 @@ nodeLinkCpt = here.component "nodeLink" cpt
...
@@ -290,9 +290,9 @@ nodeLinkCpt = here.component "nodeLink" cpt
pure $
pure $
H.div { className: "node-link"
H.div { className: "node-link"
, on: { click } }
, on: { click } }
[ H.a { href, data: { for:
tooltipId id
, tip: true } }
[ H.a { href, data: { for:
name <> "-" <> (tooltipId id)
, tip: true } }
[ nodeText { isSelected, name }
[ nodeText { isSelected, name }
, ReactTooltip.reactTooltip { effect: "float", id:
tooltipId id
, type: "dark" }
, ReactTooltip.reactTooltip { effect: "float", id:
name <> "-" <> (tooltipId id)
, type: "dark" }
[ R2.row
[ R2.row
[ H.h4 {className: GT.fldr nodeType true}
[ H.h4 {className: GT.fldr nodeType true}
[ H.text $ GT.prettyNodeType nodeType ]
[ H.text $ GT.prettyNodeType nodeType ]
...
...
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