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
f7b6c64b
Commit
f7b6c64b
authored
Jun 27, 2023
by
Alexandre Delanoë
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/560-dev-graph-add-count-of-docs' into dev
parents
91fa04a8
c3be8cf0
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
23 additions
and
18 deletions
+23
-18
FacetsTable.purs
src/Gargantext/Components/FacetsTable.purs
+2
-1
DocList.purs
src/Gargantext/Components/GraphExplorer/Sidebar/DocList.purs
+21
-17
No files found.
src/Gargantext/Components/FacetsTable.purs
View file @
f7b6c64b
...
...
@@ -263,7 +263,8 @@ initialPageGQL { corpusId, ngramsTerms, session } =
loadPageGQL :: Record PageGQLParams -> AffRESTError Rows
loadPageGQL { corpusId
, params: { limit, offset, orderBy }
-- NOTE: unused
-- , params: { limit, offset, orderBy }
, ngramsTerms
, session } = do
...
...
src/Gargantext/Components/GraphExplorer/Sidebar/DocList.purs
View file @
f7b6c64b
...
...
@@ -239,23 +239,27 @@ docListCpt = here.component "main" cpt where
,
R2.when (not $ eq results Seq.empty) $
H.ul
{ className: intercalate " "
[ "graph-doc-list"
, "list-group"
]
} $
Seq.toUnfoldable $ flip Seq.map results \r ->
item
{ documentView: (r :: DocumentsView)
, callback: callback showDoc'
, isSelected: isSelected showDoc' (r :: DocumentsView)
, listId
, corpusId: nodeId
, session
, frontends
}
H.div {}
[
H.h6 {} [ H.text $ show (Seq.length results) <> " related documents"]
, H.ul
{ className: intercalate " "
[ "graph-doc-list"
, "list-group"
]
} $
Seq.toUnfoldable $ flip Seq.map results \r ->
item
{ documentView: (r :: DocumentsView)
, callback: callback showDoc'
, isSelected: isSelected showDoc' (r :: DocumentsView)
, listId
, corpusId: nodeId
, session
, frontends
}
]
]
...
...
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