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
57762d28
Commit
57762d28
authored
Sep 16, 2020
by
Przemyslaw Kaminski
Committed by
Alexandre Delanoë
Sep 28, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[search] fix searx url
Also, some fixes to react component errors.
parent
3e5c165d
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
6 deletions
+5
-6
Frame.purs
...text/Components/Forest/Tree/Node/Action/Search/Frame.purs
+1
-1
SearchField.purs
...omponents/Forest/Tree/Node/Action/Search/SearchField.purs
+3
-4
Box.purs
src/Gargantext/Components/Forest/Tree/Node/Box.purs
+1
-1
No files found.
src/Gargantext/Components/Forest/Tree/Node/Action/Search/Frame.purs
View file @
57762d28
...
@@ -72,7 +72,7 @@ divIframeCpt = R2.hooksComponent thisModule "divIframe" cpt
...
@@ -72,7 +72,7 @@ divIframeCpt = R2.hooksComponent thisModule "divIframe" cpt
frameUrl :: FrameSource -> String
frameUrl :: FrameSource -> String
frameUrl Istex = "https://istex.frame.gargantext.org"
frameUrl Istex = "https://istex.frame.gargantext.org"
frameUrl Searx = "http://searx.frame.gargantext.org" -- 192.168.1.4:8080"
frameUrl Searx = "http
s
://searx.frame.gargantext.org" -- 192.168.1.4:8080"
iframeWith :: Record IFrameProps -> R.Element
iframeWith :: Record IFrameProps -> R.Element
...
...
src/Gargantext/Components/Forest/Tree/Node/Action/Search/SearchField.purs
View file @
57762d28
...
@@ -342,12 +342,11 @@ searchInputComponent = R2.hooksComponent thisModule "searchInput" cpt
...
@@ -342,12 +342,11 @@ searchInputComponent = R2.hooksComponent thisModule "searchInput" cpt
cpt {search: (search /\ setSearch)} _ = do
cpt {search: (search /\ setSearch)} _ = do
pure $
pure $
H.div { className : "" }
H.div { className : "" }
[ H.input { defaultValue: search.term
[ H.input { className: "form-control"
, value: search.term
, defaultValue: search.term
, className: "form-control"
, type: "text"
, on: { change : onChange setSearch }
, on: { change : onChange setSearch }
, placeholder: "Your Query here"
, placeholder: "Your Query here"
, type: "text"
}
}
]
]
onChange setSearch e = do
onChange setSearch e = do
...
...
src/Gargantext/Components/Forest/Tree/Node/Box.purs
View file @
57762d28
...
@@ -142,7 +142,7 @@ nodePopupCpt = R2.hooksComponent thisModule "nodePopupView" cpt
...
@@ -142,7 +142,7 @@ nodePopupCpt = R2.hooksComponent thisModule "nodePopupView" cpt
-> R.Element
-> R.Element
panelBody nodePopupState {dispatch: d, nodeType} =
panelBody nodePopupState {dispatch: d, nodeType} =
H.div {className: "panel-body flex-space-between"}
H.div {className: "panel-body flex-space-between"}
$ [ H.p { class: "spacer" } []
$ [ H.p { class
Name
: "spacer" } []
, H.div { className: "flex-center" }
, H.div { className: "flex-center" }
[ buttonClick { action: doc
[ buttonClick { action: doc
, state: nodePopupState
, state: nodePopupState
...
...
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