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
b5df8842
Commit
b5df8842
authored
Jun 27, 2023
by
Fabien Manière
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove 2 icons on Docs page and force Both value in selectbox on refresh docs form
parent
5f83b235
Pipeline
#4282
failed with stage
in 0 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
10 deletions
+14
-10
Update.purs
...Gargantext/Components/Forest/Tree/Node/Action/Update.purs
+9
-7
Histo.purs
src/Gargantext/Components/Nodes/Corpus/Chart/Histo.purs
+5
-3
No files found.
src/Gargantext/Components/Forest/Tree/Node/Action/Update.purs
View file @
b5df8842
...
...
@@ -227,16 +227,18 @@ updateTexts = R.createElement updateTextsCpt
updateTextsCpt :: R.Component UpdateProps
updateTextsCpt = here.component "updateTexts" cpt where
cpt { dispatch } _ = do
methodTexts <- T.useBox NewNgrams
methodTexts' <- T.useLive T.unequal methodTexts
--
methodTexts <- T.useBox NewNgrams
--
methodTexts' <- T.useLive T.unequal methodTexts
pure $ panel [ -- H.text "Update with"
formChoiceSafe { items: [NewNgrams, NewTexts, Both]
, default: methodTexts'
, callback: \val -> T.write_ val methodTexts
, print: show } []
--
formChoiceSafe { items: [NewNgrams, NewTexts, Both]
--
, default: methodTexts'
--
, callback: \val -> T.write_ val methodTexts
--
, print: show } []
]
(submitButton (UpdateNode $ UpdateNodeParamsTexts { methodTexts: methodTexts' }) dispatch)
-- (submitButton (UpdateNode $ UpdateNodeParamsTexts { methodTexts: methodTexts' }) dispatch)
(submitButton (UpdateNode $ UpdateNodeParamsTexts { methodTexts: Both }) dispatch)
updateOther :: R2.Component UpdateProps
updateOther = R.createElement updateOtherCpt
...
...
src/Gargantext/Components/Nodes/Corpus/Chart/Histo.purs
View file @
b5df8842
...
...
@@ -126,8 +126,10 @@ loadedCpt = here.component "loaded" cpt where
cpt p@{ path
, reload
, session } _ = do
pure $ H.div {} [ U.reloadButton { reload }
, U.chartUpdateButton { chartType: Histo, path, reload, session }
, chart $ chartOptions p
pure $ H.div {} [
-- U.reloadButton { reload }
-- , U.chartUpdateButton { chartType: Histo, path, reload, session }
-- ,
chart $ chartOptions p
]
-- TODO: parametrize ngramsType above
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