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
142
Issues
142
List
Board
Labels
Milestones
Merge Requests
4
Merge Requests
4
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
23f52455
Commit
23f52455
authored
May 31, 2022
by
Alexandre Delanoë
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/399-dev-multiple-trees-rc0.x' into dev
parents
32f6d3fd
b20772b2
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
9 deletions
+13
-9
Forest.purs
src/Gargantext/Components/Forest.purs
+9
-6
Tree.purs
src/Gargantext/Components/Forest/Tree.purs
+4
-3
No files found.
src/Gargantext/Components/Forest.purs
View file @
23f52455
...
...
@@ -61,12 +61,15 @@ forestLayoutCpt = here.component "forest" cpt where
H.div
{ className: "forest-layout__tree" }
[
treeLoader { boxes
, frontends
, handed: handed'
, reload: reloadForest
, root: treeId
, session: s } []
treeLoader
{ boxes
, frontends
, handed: handed'
, reload: reloadForest
, root: treeId
, session: s
, key: "tree-" <> (show treeId)
}
]
type Plus = ( boxes :: Boxes )
...
...
src/Gargantext/Components/Forest/Tree.purs
View file @
23f52455
...
...
@@ -106,9 +106,10 @@ type PerformActionProps =
| PACommon )
-- | Loads and renders the tree starting at the given root node id.
treeLoader :: R2.Component LoaderProps
treeLoader = R.createElement treeLoaderCpt
treeLoaderCpt :: R.Component LoaderProps
treeLoader :: R2.Leaf ( key :: String | LoaderProps )
treeLoader = R2.leaf treeLoaderCpt
treeLoaderCpt :: R.Component ( key :: String | LoaderProps )
treeLoaderCpt = here.component "treeLoader" cpt where
-- treeLoaderCpt :: R.Memo LoaderProps
-- treeLoaderCpt = R.memo (here.component "treeLoader" cpt) memoCmp where
...
...
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