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
c6e52231
Commit
c6e52231
authored
Jun 21, 2022
by
Przemyslaw Kaminski
Committed by
Karen Konou
Jun 30, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[ngramsTable] Core.NgramsTable.Functions module
parent
838ebba7
Changes
11
Show whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
12 additions
and
12 deletions
+12
-12
Field.purs
src/Gargantext/Components/Annotation/Field.purs
+1
-1
API.purs
src/Gargantext/Components/Document/API.purs
+1
-1
Layout.purs
src/Gargantext/Components/Document/Layout.purs
+1
-1
Sidebar.purs
src/Gargantext/Components/GraphExplorer/Sidebar.purs
+1
-1
NgramsTable.purs
src/Gargantext/Components/NgramsTable.purs
+1
-1
Tree.purs
src/Gargantext/Components/NgramsTable/Tree.purs
+1
-1
Tabs.purs
src/Gargantext/Components/Nodes/Annuaire/Tabs.purs
+1
-1
Tabs.purs
...gantext/Components/Nodes/Annuaire/User/Contacts/Tabs.purs
+1
-1
Tabs.purs
src/Gargantext/Components/Nodes/Lists/Tabs.purs
+1
-1
Functions.purs
src/Gargantext/Core/NgramsTable/Functions.purs
+2
-2
Spec.purs
test/Gargantext/Components/NgramsTable/Spec.purs
+1
-1
No files found.
src/Gargantext/Components/Annotation/Field.purs
View file @
c6e52231
...
...
@@ -23,7 +23,7 @@ import Data.Tuple.Nested ((/\))
import Effect (Effect)
import Gargantext.Components.Annotation.Menu (annotationMenu, AnnotationMenu)
import Gargantext.Components.Annotation.Types (termClass, MenuType(..))
import Gargantext.Co
mponents.NgramsTable.Core
(findNgramTermList, highlightNgrams, normNgram)
import Gargantext.Co
re.NgramsTable.Functions
(findNgramTermList, highlightNgrams, normNgram)
import Gargantext.Core.NgramsTable.Types (NgramsTable, NgramsTerm)
import Gargantext.Types (CTabNgramType(..), TermList)
import Gargantext.Utils.Reactix as R2
...
...
src/Gargantext/Components/Document/API.purs
View file @
c6e52231
...
...
@@ -7,7 +7,7 @@ import Gargantext.Prelude
import Data.Either (Either(..))
import Data.Maybe (Maybe(..))
import Gargantext.Components.Document.Types (DocPath, LoadedData, NodeDocument)
import Gargantext.Co
mponents.NgramsTable.Core
(loadNgramsTable)
import Gargantext.Co
re.NgramsTable.Functions
(loadNgramsTable)
import Gargantext.Components.Search (SearchType(..))
import Gargantext.Config.REST (AffRESTError)
import Gargantext.Routes (SessionRoute(..))
...
...
src/Gargantext/Components/Document/Layout.purs
View file @
c6e52231
...
...
@@ -12,7 +12,7 @@ import Gargantext.Components.AutoUpdate (autoUpdate)
import Gargantext.Components.Bootstrap as B
import Gargantext.Components.Bootstrap.Types (SpinnerTheme(..))
import Gargantext.Components.Document.Types (DocPath, Document(..), LoadedData, initialState)
import Gargantext.Co
mponents.NgramsTable.Core
(addNewNgramA, applyNgramsPatches, coreDispatch, findNgramRoot, setTermListA)
import Gargantext.Co
re.NgramsTable.Functions
(addNewNgramA, applyNgramsPatches, coreDispatch, findNgramRoot, setTermListA)
import Gargantext.Components.NgramsTable.AutoSync (useAutoSync)
import Gargantext.Components.Node (NodePoly(..))
import Gargantext.Core.NgramsTable.Types (CoreAction(..), Versioned(..), replace)
...
...
src/Gargantext/Components/GraphExplorer/Sidebar.purs
View file @
c6e52231
...
...
@@ -28,7 +28,7 @@ import Gargantext.Components.GraphExplorer.Sidebar.Legend as Legend
import Gargantext.Components.GraphExplorer.Store as GraphStore
import Gargantext.Components.GraphExplorer.Types as GET
import Gargantext.Components.Lang (Lang(..))
import Gargantext.Co
mponents.NgramsTable.Core
as NTC
import Gargantext.Co
re.NgramsTable.Functions
as NTC
import Gargantext.Config.REST (AffRESTError)
import Gargantext.Core.NgramsTable.Types as CNT
import Gargantext.Data.Array (mapMaybe)
...
...
src/Gargantext/Components/NgramsTable.purs
View file @
c6e52231
...
...
@@ -36,7 +36,7 @@ import Effect.Class (liftEffect)
import Gargantext.Components.App.Store (Boxes)
import Gargantext.Components.Bootstrap as B
import Gargantext.Components.Bootstrap.Types (ButtonVariant(..), Variant(..))
import Gargantext.Co
mponents.NgramsTable.Core
(addNewNgramA, applyNgramsPatches, chartsAfterSync, commitPatch, convOrderBy, coreDispatch, filterTermSize, ngramsRepoElementToNgramsElement, normNgram, patchSetFromMap, setTermListA, singletonNgramsTablePatch, tablePatchHasNgrams, toVersioned)
import Gargantext.Co
re.NgramsTable.Functions
(addNewNgramA, applyNgramsPatches, chartsAfterSync, commitPatch, convOrderBy, coreDispatch, filterTermSize, ngramsRepoElementToNgramsElement, normNgram, patchSetFromMap, setTermListA, singletonNgramsTablePatch, tablePatchHasNgrams, toVersioned)
import Gargantext.Components.NgramsTable.Search as NTS
import Gargantext.Components.NgramsTable.SelectionCheckbox as NTSC
import Gargantext.Components.NgramsTable.Tree (renderNgramsItem, renderNgramsTree)
...
...
src/Gargantext/Components/NgramsTable/Tree.purs
View file @
c6e52231
...
...
@@ -18,7 +18,7 @@ import DOM.Simple as DOM
import Effect (Effect)
import Effect.Aff (Aff, launchAff_)
import Effect.Class (liftEffect)
import Gargantext.Co
mponents.NgramsTable.Core
(applyNgramsPatches, setTermListA, tablePatchHasNgrams)
import Gargantext.Co
re.NgramsTable.Functions
(applyNgramsPatches, setTermListA, tablePatchHasNgrams)
import Gargantext.Core.NgramsTable.Types (Action(..), NgramsClick, NgramsDepth, NgramsElement, NgramsTable, NgramsTablePatch(..), NgramsTerm, _NgramsElement, _NgramsRepoElement, _PatchMap, _children, _list, _ngrams, _occurrences, ngramsTermText, replace)
import Gargantext.Components.Table as Tbl
import Gargantext.Config.REST (logRESTError)
...
...
src/Gargantext/Components/Nodes/Annuaire/Tabs.purs
View file @
c6e52231
...
...
@@ -12,7 +12,7 @@ import Gargantext.Components.App.Store (Boxes)
import Gargantext.Components.DocsTable as DT
import Gargantext.Components.DocsTable.Types (Year)
import Gargantext.Components.NgramsTable as NT
import Gargantext.Co
mponents.NgramsTable.Core
as NTC
import Gargantext.Co
re.NgramsTable.Functions
as NTC
import Gargantext.Components.Nodes.Lists.Types as LTypes
import Gargantext.Components.Nodes.Texts.Types as TextsT
import Gargantext.Components.Tab as Tab
...
...
src/Gargantext/Components/Nodes/Annuaire/User/Contacts/Tabs.purs
View file @
c6e52231
...
...
@@ -11,7 +11,7 @@ import Gargantext.Components.App.Store (Boxes)
import Gargantext.Components.DocsTable as DT
import Gargantext.Components.DocsTable.Types (Year)
import Gargantext.Components.NgramsTable as NT
import Gargantext.Co
mponents.NgramsTable.Core
as NTC
import Gargantext.Co
re.NgramsTable.Functions
as NTC
import Gargantext.Components.Nodes.Lists.Types as LTypes
import Gargantext.Components.Nodes.Texts.Types as TTypes
import Gargantext.Components.Tab as Tab
...
...
src/Gargantext/Components/Nodes/Lists/Tabs.purs
View file @
c6e52231
...
...
@@ -8,7 +8,7 @@ import Data.Tuple.Nested ((/\))
import Effect.Class (liftEffect)
import Gargantext.Components.App.Store (Boxes)
import Gargantext.Components.NgramsTable as NT
import Gargantext.Co
mponents.NgramsTable.Core
as NTC
import Gargantext.Co
re.NgramsTable.Functions
as NTC
import Gargantext.Components.Nodes.Corpus.Chart.Metrics (metrics)
import Gargantext.Components.Nodes.Corpus.Chart.Pie (pie, bar)
import Gargantext.Components.Nodes.Corpus.Chart.Tree (tree)
...
...
src/Gargantext/Co
mponents/NgramsTable/Core
.purs
→
src/Gargantext/Co
re/NgramsTable/Functions
.purs
View file @
c6e52231
module Gargantext.Co
mponents.NgramsTable.Core
module Gargantext.Co
re.NgramsTable.Functions
where
import Gargantext.Prelude
...
...
@@ -50,7 +50,7 @@ import Reactix as R
import Toestand as T
here :: R2.Here
here = R2.here "Gargantext.Co
mponents.NgramsTable.Core
"
here = R2.here "Gargantext.Co
re.NgramsTable.Functions
"
toVersioned :: forall a. VersionedWithCount a -> Tuple Count (Versioned a)
toVersioned (VersionedWithCount { count, data: d, version }) = Tuple count $ Versioned { data: d, version }
...
...
test/Gargantext/Components/NgramsTable/Spec.purs
View file @
c6e52231
...
...
@@ -12,7 +12,7 @@ import Test.Spec (Spec, describe, it)
import Test.Utils (shouldEqualArray)
import Gargantext.Co
mponents.NgramsTable.Core
(highlightNgrams, normNgram)
import Gargantext.Co
re.NgramsTable.Functions
(highlightNgrams, normNgram)
import Gargantext.Core.NgramsTable.Types (HighlightElement, NgramsElement(..), NgramsRepoElement(..), NgramsTable(..), NgramsTerm)
import Gargantext.Types (CTabNgramType(..), TermList(..))
...
...
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