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
140
Issues
140
List
Board
Labels
Milestones
Merge Requests
6
Merge Requests
6
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
1c83fa0d
Commit
1c83fa0d
authored
Apr 12, 2019
by
James Laver
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix warnings
parent
55e35e2f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
27 deletions
+7
-27
Specs.purs
src/Gargantext/Pages/Layout/Specs.purs
+2
-2
SearchBar.purs
src/Gargantext/Pages/Layout/Specs/SearchBar.purs
+5
-25
No files found.
src/Gargantext/Pages/Layout/Specs.purs
View file @
1c83fa0d
...
...
@@ -5,8 +5,8 @@ import Data.Lens (over)
import Data.Maybe (Maybe(Nothing, Just))
import Effect (Effect)
import React (ReactElement)
import React.DOM (a, button, div, footer, hr', img,
input, li, p, span, text, ul,i
)
import React.DOM.Props (_data, _id,
_type, aria, className, href, onChange, onClick, placeholder
, role, src, style, tabIndex, target, title)
import React.DOM (a, button, div, footer, hr', img,
li, p, span, text, ul
)
import React.DOM.Props (_data, _id,
aria, className, href, onClick
, role, src, style, tabIndex, target, title)
import Thermite (Render, Spec, _render, defaultPerformAction, defaultRender, focus, simpleSpec, withState, noState, cmapProps)
-- import Unsafe.Coerce (unsafeCoerce)
...
...
src/Gargantext/Pages/Layout/Specs/SearchBar.purs
View file @
1c83fa0d
module Gargantext.Pages.Layout.Specs.SearchBar
(State, Action(..), initialState, performAction, renderSpec) where
import Data.Foldable (fold, intercalate)
import Data.Lens (Lens', lens, over, (^.), (.~))
import Data.Maybe (Maybe(Nothing, Just))
import Effect (Effect)
import Data.Newtype as N
import Effect.Class.Console (log)
import
React (ReactElemen
t)
import React.DOM (
a, button, div, footer, hr', img, input, li, p, span, text, ul,i
)
import React.DOM.Props (_
data, _id, _type, aria, className, href, onChange, onClick, placeholder, role, src, style, tabIndex, target, tit
le)
import Thermite (
Render, Spec, _render, defaultPerformAction, defaultRender, focus, simpleSpec, withState, noState, cmapProps
)
import
Effect.Class (liftEffec
t)
import React.DOM (
button, div, i, input, li, text, ul
)
import React.DOM.Props (_
type, className, onChange, onClick, placeholder, sty
le)
import Thermite (
PerformAction, Render, Spec, modifyState, simpleSpec
)
import Unsafe.Coerce (unsafeCoerce)
import Gargantext.Prelude
import Gargantext.Components.Data.Lang (Lang(..))
import Gargantext.Components.Login.Types (AuthData(..))
import Gargantext.Components.Login as LN
import Gargantext.Components.Tree as Tree
import Gargantext.Folder as F
import Gargantext.Pages.Annuaire as A
import Gargantext.Pages.Annuaire.User.Contacts as C
import Gargantext.Pages.Corpus as Corpus
import Gargantext.Pages.Corpus.Document as Annotation
import Gargantext.Pages.Corpus.Dashboard as Dsh
import Gargantext.Pages.Corpus.Graph as GE
import Gargantext.Pages.Home as L
import Gargantext.Pages.Layout.Specs.AddCorpus as AC
import Gargantext.Pages.Layout.Specs.Search as S
import Gargantext.Router (Routes(..))
import Thermite (PerformAction, Render, Spec, modifyState, simpleSpec)
import Gargantext.Components.Modals.Modal (modalShow)
import Effect.Class (liftEffect)
import Data.Newtype as N
type State' = { open :: Boolean, searchTerm :: 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