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
1
Merge Requests
1
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
Przemyslaw Kaminski
purescript-gargantext
Commits
a709265c
Unverified
Commit
a709265c
authored
6 years ago
by
Nicolas Pouillard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[THERMITE] `hide` is now called `hideState`
parent
8631796e
master
21-dev-automated-tests
294-dev-test
300-dev-purescript-simple-json
301-dev-visio-integration
304-dev-force-atlas-flickering-fix
305-dev-sidebar-fixes
339-dev-docs-download
80-dev-frontend-errors
annuaire
annuaire-table
chore/fix-searchbar-warnings
conference-presentation
delete-and-favorite-api
demo-config
design-changes
design-changes2
dev
dev-19-43-graphToolbar
dev-annotation
dev-charts
dev-frame-calc-corpus-csv-upload
dev-ngrams-table
dev-searx-parser
dev-selector
docs
favorites_api
feature/annotation
feature/search-input-component
features/map-explorer
graph-changes
graph-explorer
graph-explorer-api
graph-explorer-ui
graph-layout
installation-instructions
loading
login
multinode-test
ngrams-table
nodes_filter
psc-package
search-field-styling
searchbar-component
side-docs
tree-merge
tree-merge2
tree-reload
treeIssues
user-form
user-page-ui-changes
webpack
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
8 additions
and
8 deletions
+8
-8
Specs.purs
src/Gargantext/Pages/Corpus/Tabs/Specs.purs
+2
-2
NgramsItem.purs
src/Gargantext/Pages/Corpus/Tabs/Terms/NgramsItem.purs
+2
-2
NgramsTable.purs
src/Gargantext/Pages/Corpus/Tabs/Terms/NgramsTable.purs
+2
-2
Specs.purs
src/Gargantext/Pages/Home/Specs.purs
+2
-2
No files found.
src/Gargantext/Pages/Corpus/Tabs/Specs.purs
View file @
a709265c
...
...
@@ -13,11 +13,11 @@ import Gargantext.Pages.Corpus.Tabs.Sources as SV
import Gargantext.Pages.Corpus.Tabs.Authors as AV
import Gargantext.Pages.Corpus.Tabs.Terms as TV
import Gargantext.Components.Tab as Tab
import Thermite (Spec, focus, hide)
import Thermite (Spec, focus, hide
State
)
pureTab1 :: Spec {} {} Void
pureTab1 = hide initialState statefulTab1
pureTab1 = hide
State
initialState statefulTab1
statefulTab1 :: Spec State {} Action
statefulTab1 =
...
...
This diff is collapsed.
Click to expand it.
src/Gargantext/Pages/Corpus/Tabs/Terms/NgramsItem.purs
View file @
a709265c
...
...
@@ -8,7 +8,7 @@ import Data.Lens.Iso.Newtype (_Newtype)
import React (ReactElement)
import React.DOM (input, span, td, text, tr)
import React.DOM.Props (_type, checked, className, onChange, style, title)
import Thermite (PerformAction, Render, Spec, modifyState, simpleSpec, hide, focusState)
import Thermite (PerformAction, Render, Spec, modifyState, simpleSpec, hide
State
, focusState)
import Gargantext.Utils (getter, setter)
newtype State = State
...
...
@@ -38,7 +38,7 @@ data Action
| SetStop Boolean
ngramsItemSpec :: Spec {} {} Void
ngramsItemSpec = hide (unwrap initialState) $
ngramsItemSpec = hide
State
(unwrap initialState) $
focusState (re _Newtype) $
simpleSpec performAction render
where
...
...
This diff is collapsed.
Click to expand it.
src/Gargantext/Pages/Corpus/Tabs/Terms/NgramsTable.purs
View file @
a709265c
...
...
@@ -17,7 +17,7 @@ import Prelude (class Eq, class Ord, class Show, map, show, void, ($), (*), (+),
import React (ReactElement)
import React.DOM hiding (style, map)
import React.DOM.Props (_id, _type, className, href, name, onChange, onClick, onInput, placeholder, scope, selected, style, value)
import Thermite (PerformAction, Spec, _render, focus, foreach, modifyState, focusState, hide)
import Thermite (PerformAction, Spec, _render, focus, foreach, modifyState, focusState, hide
State
)
import Unsafe.Coerce (unsafeCoerce)
newtype State = State
...
...
@@ -159,7 +159,7 @@ tableSpec = over _render \render dispatch p (State s) c ->
ngramsTableSpec :: Spec {} {} Void
ngramsTableSpec =
hide (unwrap initialState) $
hide
State
(unwrap initialState) $
focusState (re _Newtype) $
container $
tableSpec $
...
...
This diff is collapsed.
Click to expand it.
src/Gargantext/Pages/Home/Specs.purs
View file @
a709265c
...
...
@@ -16,7 +16,7 @@ import Gargantext.Pages.Home.Actions (Action, performAction)
import React (ReactElement)
import React.DOM (a, div, h3, i, img, p, span, text)
import React.DOM.Props (Props, _id, aria, className, href, src, target, title)
import Thermite (Render, Spec, simpleSpec, hide, focusState)
import Thermite (Render, Spec, simpleSpec, hide
State
, focusState)
-- Layout |
...
...
@@ -26,7 +26,7 @@ landingData FR = Fr.landingData
landingData EN = En.landingData
layoutLanding :: Lang -> Spec {} {} Void
layoutLanding = hide (unwrap initialState)
layoutLanding = hide
State
(unwrap initialState)
<<< focusState (re _Newtype)
<<< layoutLanding' <<< landingData
...
...
This diff is collapsed.
Click to expand it.
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