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
7559b2da
Verified
Commit
7559b2da
authored
May 07, 2024
by
Przemyslaw Kaminski
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev' into dev-spago-next
parents
de565b71
5bc54f10
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
8 deletions
+13
-8
package.json
package.json
+1
-1
Node.purs
src/Gargantext/Components/Forest/Tree/Node.purs
+1
-1
Types.purs
src/Gargantext/Components/PhyloExplorer/Types.purs
+11
-6
No files found.
package.json
View file @
7559b2da
{
{
"name"
:
"Gargantext"
,
"name"
:
"Gargantext"
,
"version"
:
"0.0.7.1.
2
"
,
"version"
:
"0.0.7.1.
3
"
,
"scripts"
:
{
"scripts"
:
{
"build"
:
"spago build"
,
"build"
:
"spago build"
,
"bundle"
:
"spago bundle --module Main --outfile dist/bundle.js"
,
"bundle"
:
"spago bundle --module Main --outfile dist/bundle.js"
,
...
...
src/Gargantext/Components/Forest/Tree/Node.purs
View file @
7559b2da
...
@@ -595,7 +595,7 @@ nodeActionsCpt = here.component "nodeActions" cpt where
...
@@ -595,7 +595,7 @@ nodeActionsCpt = here.component "nodeActions" cpt where
childProps = Record.delete nodeActionsP props
childProps = Record.delete nodeActionsP props
child GT.NodeList = listNodeActions childProps
child GT.NodeList = listNodeActions childProps
child GT.Graph = graphNodeActions childProps
-- child GT.Graph = graphNodeActions childProps --Remove the refresh/sync icon removed on #644 (purescript-gargantext)
child _ = mempty
child _ = mempty
graphNodeActions :: R2.Leaf NodeActionsCommon
graphNodeActions :: R2.Leaf NodeActionsCommon
...
...
src/Gargantext/Components/PhyloExplorer/Types.purs
View file @
7559b2da
...
@@ -486,12 +486,17 @@ stringedMaybeToNumber s =
...
@@ -486,12 +486,17 @@ stringedMaybeToNumber s =
-- |
-- |
-- | To ["user", "sentiment analysis"] :: Array String
-- | To ["user", "sentiment analysis"] :: Array String
stringedArrayToArray :: String -> Array String
stringedArrayToArray :: String -> Array String
stringedArrayToArray str
stringedArrayToArray str =
= str # String.length
if String.contains (String.Pattern "\\\"") str
>>> (\length -> String.splitAt (length - 1) str)
then
>>> (\{ before } -> String.splitAt 1 before)
str # String.length
>>> (\{ after } -> String.split (String.Pattern "|") after)
>>> (\length -> String.splitAt (length - 1) str)
>>> map String.trim
>>> (\{ before } -> String.splitAt 1 before)
>>> (\{ after } -> String.split (String.Pattern "|") after)
>>> map String.trim
else
str # String.split (String.Pattern "|")
>>> map String.trim
-- | From "\"97 | 257 | 542 | 574 | 577 | 597 | 785\"" :: String
-- | From "\"97 | 257 | 542 | 574 | 577 | 597 | 785\"" :: String
-- |
-- |
...
...
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