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
07ecded6
Commit
07ecded6
authored
Aug 08, 2023
by
Fabien Manière
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
WIP, part1
parent
d180ce86
Changes
11
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
625 additions
and
18 deletions
+625
-18
bootstrap-darkster.css
dist/styles/bootstrap-darkster.css
+4
-0
bootstrap-default.css
dist/styles/bootstrap-default.css
+4
-0
bootstrap-greyson.css
dist/styles/bootstrap-greyson.css
+4
-0
bootstrap-herbie.css
dist/styles/bootstrap-herbie.css
+4
-0
bootstrap-monotony.css
dist/styles/bootstrap-monotony.css
+4
-0
FormInput.purs
src/Gargantext/Components/Bootstrap/Form/FormInput.purs
+9
-0
Box.purs
src/Gargantext/Components/Forest/Tree/Node/Box.purs
+1
-0
Settings.purs
src/Gargantext/Components/Forest/Tree/Node/Settings.purs
+5
-2
Status.purs
src/Gargantext/Components/Forest/Tree/Node/Status.purs
+1
-0
ConfigForm.purs
...argantext/Components/PhyloExplorer/Config/ConfigForm.purs
+583
-16
_grouped.scss
src/sass/components/_grouped.scss
+6
-0
No files found.
dist/styles/bootstrap-darkster.css
View file @
07ecded6
...
...
@@ -6382,6 +6382,10 @@ h3 {
text-align
:
center
;
}
.range-simple__input
:focus
{
box-shadow
:
none
;
}
.b-tabs
.nav-item
:first-child
{
margin-left
:
16px
;
}
...
...
dist/styles/bootstrap-default.css
View file @
07ecded6
...
...
@@ -6193,6 +6193,10 @@ h3 {
text-align
:
center
;
}
.range-simple__input
:focus
{
box-shadow
:
none
;
}
.b-tabs
.nav-item
:first-child
{
margin-left
:
16px
;
}
...
...
dist/styles/bootstrap-greyson.css
View file @
07ecded6
...
...
@@ -5948,6 +5948,10 @@ h3 {
text-align
:
center
;
}
.range-simple__input
:focus
{
box-shadow
:
none
;
}
.b-tabs
.nav-item
:first-child
{
margin-left
:
16px
;
}
...
...
dist/styles/bootstrap-herbie.css
View file @
07ecded6
...
...
@@ -6196,6 +6196,10 @@ h3 {
text-align
:
center
;
}
.range-simple__input
:focus
{
box-shadow
:
none
;
}
.b-tabs
.nav-item
:first-child
{
margin-left
:
16px
;
}
...
...
dist/styles/bootstrap-monotony.css
View file @
07ecded6
...
...
@@ -6197,6 +6197,10 @@ h3 {
text-align
:
center
;
}
.range-simple__input
:focus
{
box-shadow
:
none
;
}
.b-tabs
.nav-item
:first-child
{
margin-left
:
16px
;
}
...
...
src/Gargantext/Components/Bootstrap/Form/FormInput.purs
View file @
07ecded6
...
...
@@ -22,6 +22,9 @@ type Options =
, type :: String
, placeholder :: String
, size :: Sizing
, step :: String
, min :: String
, max :: String
)
options :: Record Options
...
...
@@ -31,6 +34,9 @@ options =
, type : "text"
, placeholder : ""
, size : MediumSize
, step : ""
, min : ""
, max : ""
}
-- | Structural Component for the Bootstrap input
...
...
@@ -73,6 +79,9 @@ component = R.hooksComponent componentName cpt where
, readOnly: elem status [ Idled ]
, placeholder: props.placeholder
, type: props.type
, step: props.step
, min: props.min
, max: props.max
, autoComplete: "off"
, value: props.value
}
...
...
src/Gargantext/Components/Forest/Tree/Node/Box.purs
View file @
07ecded6
...
...
@@ -343,6 +343,7 @@ panelActionCpt = here.component "panelAction" cpt
cpt { action: Config, nodeType } _ =
pure $ fragmentPT $ "Config " <> show nodeType
-- Functions using SubTree
cpt { action: Reconstruct , dispatch, nodeType } _ = pure $ update { dispatch, nodeType } []
cpt { action: Merge {subTreeParams}, boxes, dispatch, id, nodeType, session } _ =
pure $ mergeNode { boxes, dispatch, id, nodeType, session, subTreeParams } []
cpt { action: Move {subTreeParams}, boxes, dispatch, id, nodeType, session } _ =
...
...
src/Gargantext/Components/Forest/Tree/Node/Settings.purs
View file @
07ecded6
...
...
@@ -13,7 +13,7 @@ if user has access to node then he can do all his related actions
------------------------------------------------------------------------
data NodeAction = Documentation NodeType
| SearchBox
| Download | Upload | Refresh | Config
| Download | Upload | Refresh | Config
| Reconstruct
| Delete
| Share
| ManageTeam
...
...
@@ -43,6 +43,7 @@ instance Eq NodeAction where
eq (Add x) (Add y) = x == y
eq (Merge x) (Merge y) = x == y
eq Config Config = true
eq Reconstruct Reconstruct = true
eq (Publish x) (Publish y) = x == y
eq AddingContact AddingContact = true
eq CloseNodePopover CloseNodePopover = true
...
...
@@ -61,6 +62,7 @@ instance Show NodeAction where
show Share = "Share"
show ManageTeam = "Team"
show Config = "Config"
show Reconstruct = "Reconstruct"
show (Link _) = "Link to " -- <> show x
show (Add _) = "Add Child" -- foldl (\a b -> a <> show b) "Add " xs
show (Merge _) = "Merge with subtree" -- <> show t
...
...
@@ -80,6 +82,7 @@ glyphiconNodeAction Download = "download"
glyphiconNodeAction (Merge _) = "random"
glyphiconNodeAction Refresh = "refresh"
glyphiconNodeAction Config = "wrench"
glyphiconNodeAction Reconstruct = "cogs"
glyphiconNodeAction Share = "user-plus"
glyphiconNodeAction ManageTeam = "users"
glyphiconNodeAction AddingContact = "user-plus"
...
...
@@ -224,7 +227,7 @@ settingsBox Phylo =
SettingsBox { show : true
, edit : true
, doc : Documentation Phylo
, buttons : [ Re
fresh
, buttons : [ Re
construct
, Delete
]
}
...
...
src/Gargantext/Components/Forest/Tree/Node/Status.purs
View file @
07ecded6
...
...
@@ -11,6 +11,7 @@ hasStatus :: NodeType -> NodeAction -> Status
hasStatus _ SearchBox = Test
hasStatus _ Refresh = Dev
hasStatus _ Config = Dev
hasStatus _ Reconstruct = Dev
hasStatus _ (Merge _) = Dev
hasStatus _ (Documentation _) = Dev
hasStatus Annuaire Upload = Dev
...
...
src/Gargantext/Components/PhyloExplorer/Config/ConfigForm.purs
View file @
07ecded6
This diff is collapsed.
Click to expand it.
src/sass/components/_grouped.scss
View file @
07ecded6
...
...
@@ -372,6 +372,12 @@
}
}
.range-simple__input
{
&
:focus
{
box-shadow
:
none
;
}
}
/// Tabs
///-----------------------------------------------------------------------------
...
...
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