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
550de033
Commit
550de033
authored
Feb 01, 2022
by
Alexandre Delanoë
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[SPEC]
#301
Visio open link a new table
parent
98477aa6
Pipeline
#2429
failed with stage
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
Tools.purs
src/Gargantext/Components/Forest/Tree/Node/Tools.purs
+4
-2
No files found.
src/Gargantext/Components/Forest/Tree/Node/Tools.purs
View file @
550de033
...
@@ -14,7 +14,7 @@ import Gargantext.Components.Forest.Tree.Node.Action.Types (Action)
...
@@ -14,7 +14,7 @@ import Gargantext.Components.Forest.Tree.Node.Action.Types (Action)
import Gargantext.Components.GraphExplorer.Types (mCameraP)
import Gargantext.Components.GraphExplorer.Types (mCameraP)
import Gargantext.Components.InputWithEnter (inputWithEnter)
import Gargantext.Components.InputWithEnter (inputWithEnter)
import Gargantext.Ends (Frontends, url)
import Gargantext.Ends (Frontends, url)
import Gargantext.Prelude (class Ord, class Read, class Show, Unit, bind, const, discard, map, not, pure, read, show, when, mempty, ($), (<), (<<<), (<>), (<$>), (<*>))
import Gargantext.Prelude (class Ord, class Read, class Show, Unit, bind, const, discard, map, not, pure, read, show, when, mempty, ($), (<), (<<<), (<>), (<$>), (<*>)
, (/=)
)
import Gargantext.Sessions (Session, sessionId)
import Gargantext.Sessions (Session, sessionId)
import Gargantext.Types as GT
import Gargantext.Types as GT
import Gargantext.Utils (toggleSet, (?))
import Gargantext.Utils (toggleSet, (?))
...
@@ -306,7 +306,9 @@ nodeLinkCpt = here.component "nodeLink" cpt
...
@@ -306,7 +306,9 @@ nodeLinkCpt = here.component "nodeLink" cpt
-- click on closed -> open
-- click on closed -> open
-- click on open -> ?
-- click on open -> ?
click _ = when (not isSelected) (T.write_ true folderOpen)
click _ = when (not isSelected) (T.write_ true folderOpen)
href = url frontends $ GT.NodePath (sessionId session) nodeType (Just id)
href = if nodeType /= GT.NodeFrameVisio
then url frontends $ GT.NodePath (sessionId session) nodeType (Just id)
else "Execute here action to get the Frame Visio and open it in a new table?"
-- END node link
-- END node link
type NodeTextProps =
type NodeTextProps =
...
...
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