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
a656825c
Commit
a656825c
authored
Jun 08, 2023
by
Alexandre Delanoë
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Revert "Revert "[DOC] NodeFrameWrite -> Notes""
This reverts commit
551aa0ce
.
parent
b77181cc
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
26 additions
and
26 deletions
+26
-26
Settings.purs
src/Gargantext/Components/Forest/Tree/Node/Settings.purs
+16
-16
Router.purs
src/Gargantext/Components/Router.purs
+1
-1
Routes.purs
src/Gargantext/Routes.purs
+1
-1
Types.purs
src/Gargantext/Types.purs
+8
-8
No files found.
src/Gargantext/Components/Forest/Tree/Node/Settings.purs
View file @
a656825c
...
@@ -111,12 +111,11 @@ settingsBox FolderPrivate =
...
@@ -111,12 +111,11 @@ settingsBox FolderPrivate =
SettingsBox { show : true
SettingsBox { show : true
, edit : false
, edit : false
, doc : Documentation FolderPrivate
, doc : Documentation FolderPrivate
, buttons : [ Add [ No
deFrameWrite
, buttons : [ Add [ No
tes
, Corpus
, Corpus
, NodeFrameCalc
, NodeFrameCalc
, Folder
, Folder
, Annuaire
, Annuaire
, NodeFrameCalc
-- , NodeFrameNotebook
-- , NodeFrameNotebook
]
]
]
]
...
@@ -126,16 +125,16 @@ settingsBox Team =
...
@@ -126,16 +125,16 @@ settingsBox Team =
SettingsBox { show : true
SettingsBox { show : true
, edit : true
, edit : true
, doc : Documentation Team
, doc : Documentation Team
, buttons : [ Add [ No
deFrameWrite
, buttons : [ Add [ No
tes
, Corpus
, Corpus
, NodeFrameCalc
, NodeFrameCalc
, Folder
, Folder
, Annuaire
, Annuaire
, Team
, Team
, Annuaire
-- , NodeFrameNotebook
-- , NodeFrameNotebook
, FolderShared
, FolderShared
, NodeFrameVisio
, NodeFrameVisio
, Annuaire
]
]
, Share
, Share
, ManageTeam
, ManageTeam
...
@@ -163,10 +162,11 @@ settingsBox Folder =
...
@@ -163,10 +162,11 @@ settingsBox Folder =
SettingsBox { show : true
SettingsBox { show : true
, edit : true
, edit : true
, doc : Documentation Folder
, doc : Documentation Folder
, buttons : [ Add [ No
deFrameWrite
, buttons : [ Add [ No
tes
, Corpus
, Corpus
, Folder
, Folder
, Annuaire
, Annuaire
, Notes
, NodeFrameCalc
, NodeFrameCalc
-- , NodeFrameNotebook
-- , NodeFrameNotebook
]
]
...
@@ -180,7 +180,7 @@ settingsBox Corpus =
...
@@ -180,7 +180,7 @@ settingsBox Corpus =
, edit : true
, edit : true
, doc : Documentation Corpus
, doc : Documentation Corpus
, buttons : [ Add [ Graph
, buttons : [ Add [ Graph
, No
deFrameWrite
, No
tes
, NodeTexts
, NodeTexts
, NodeList
, NodeList
, Graph
, Graph
...
@@ -316,11 +316,11 @@ settingsBox Annuaire =
...
@@ -316,11 +316,11 @@ settingsBox Annuaire =
}
}
settingsBox No
deFrameWrite
=
settingsBox No
tes
=
SettingsBox { show : true
SettingsBox { show : true
, edit : true
, edit : true
, doc : Documentation No
deFrameWrite
, doc : Documentation No
tes
, buttons : [ Add [ No
deFrameWrite
, buttons : [ Add [ No
tes
, NodeFrameCalc
, NodeFrameCalc
, Folder
, Folder
, Corpus
, Corpus
...
@@ -337,7 +337,7 @@ settingsBox NodeFrameCalc =
...
@@ -337,7 +337,7 @@ settingsBox NodeFrameCalc =
, doc : Documentation NodeFrameCalc
, doc : Documentation NodeFrameCalc
, buttons : [ Upload
, buttons : [ Upload
, Add [ NodeFrameCalc
, Add [ NodeFrameCalc
, No
deFrameWrite
, No
tes
]
]
, Move moveFrameParameters
, Move moveFrameParameters
, Delete
, Delete
...
@@ -349,7 +349,7 @@ settingsBox NodeFrameNotebook =
...
@@ -349,7 +349,7 @@ settingsBox NodeFrameNotebook =
, edit : true
, edit : true
, doc : Documentation NodeFrameNotebook
, doc : Documentation NodeFrameNotebook
, buttons : [ Add [ NodeFrameCalc
, buttons : [ Add [ NodeFrameCalc
, No
deFrameWrite
, No
tes
-- , NodeFrameNotebook
-- , NodeFrameNotebook
]
]
, Move moveFrameParameters
, Move moveFrameParameters
...
@@ -363,7 +363,7 @@ settingsBox NodeFrameVisio =
...
@@ -363,7 +363,7 @@ settingsBox NodeFrameVisio =
, edit : true
, edit : true
, doc : Documentation NodeFrameVisio
, doc : Documentation NodeFrameVisio
, buttons : [ Add [ NodeFrameVisio
, buttons : [ Add [ NodeFrameVisio
, No
deFrameWrite
, No
tes
, NodeFrameCalc
, NodeFrameCalc
]
]
, Delete
, Delete
...
@@ -395,14 +395,14 @@ moveParameters = { subTreeParams : SubTreeParams
...
@@ -395,14 +395,14 @@ moveParameters = { subTreeParams : SubTreeParams
, Team
, Team
, FolderPublic
, FolderPublic
, Folder
, Folder
, No
deFrameWrite
, No
tes
, Corpus
, Corpus
]
]
, valitypes: [ FolderPrivate
, valitypes: [ FolderPrivate
, Team
, Team
-- , FolderPublic
-- , FolderPublic
, Folder
, Folder
, No
deFrameWrite
, No
tes
, Corpus
, Corpus
]
]
}
}
...
@@ -416,7 +416,7 @@ moveFrameParameters = { subTreeParams : SubTreeParams
...
@@ -416,7 +416,7 @@ moveFrameParameters = { subTreeParams : SubTreeParams
, FolderPublic
, FolderPublic
, Folder
, Folder
, Corpus
, Corpus
, No
deFrameWrite
, No
tes
, NodeFrameCalc
, NodeFrameCalc
]
]
, valitypes: [ FolderPrivate
, valitypes: [ FolderPrivate
...
@@ -424,7 +424,7 @@ moveFrameParameters = { subTreeParams : SubTreeParams
...
@@ -424,7 +424,7 @@ moveFrameParameters = { subTreeParams : SubTreeParams
-- , FolderPublic
-- , FolderPublic
, Folder
, Folder
, Corpus
, Corpus
, No
deFrameWrite
, No
tes
, NodeFrameCalc
, NodeFrameCalc
]
]
}
}
...
...
src/Gargantext/Components/Router.purs
View file @
a656825c
...
@@ -325,7 +325,7 @@ renderRouteCpt = R.memo' $ here.component "renderRoute" cpt where
...
@@ -325,7 +325,7 @@ renderRouteCpt = R.memo' $ here.component "renderRoute" cpt where
GR.PGraphExplorer s g -> graphExplorer (sessionNodeProps s g) []
GR.PGraphExplorer s g -> graphExplorer (sessionNodeProps s g) []
GR.PhyloExplorer s g -> phyloExplorer (sessionNodeProps s g) []
GR.PhyloExplorer s g -> phyloExplorer (sessionNodeProps s g) []
GR.RouteFile s n -> routeFile (sessionNodeProps s n) []
GR.RouteFile s n -> routeFile (sessionNodeProps s n) []
GR.RouteFrameWrite s n -> routeFrame (Record.merge { nodeType: No
deFrameWrite
} $ sessionNodeProps s n) []
GR.RouteFrameWrite s n -> routeFrame (Record.merge { nodeType: No
tes
} $ sessionNodeProps s n) []
GR.RouteFrameCalc s n -> routeFrame (Record.merge { nodeType: NodeFrameCalc } $ sessionNodeProps s n) []
GR.RouteFrameCalc s n -> routeFrame (Record.merge { nodeType: NodeFrameCalc } $ sessionNodeProps s n) []
GR.RouteFrameCode s n -> routeFrame (Record.merge { nodeType: NodeFrameNotebook } $ sessionNodeProps s n) []
GR.RouteFrameCode s n -> routeFrame (Record.merge { nodeType: NodeFrameNotebook } $ sessionNodeProps s n) []
GR.RouteFrameVisio s n -> routeFrame (Record.merge { nodeType: NodeFrameVisio } $ sessionNodeProps s n) []
GR.RouteFrameVisio s n -> routeFrame (Record.merge { nodeType: NodeFrameVisio } $ sessionNodeProps s n) []
...
...
src/Gargantext/Routes.purs
View file @
a656825c
...
@@ -111,7 +111,7 @@ nodeTypeAppRoute GT.NodeList s i = Just $ Lists s i
...
@@ -111,7 +111,7 @@ nodeTypeAppRoute GT.NodeList s i = Just $ Lists s i
nodeTypeAppRoute GT.NodeUser s i = Just $ UserPage s i
nodeTypeAppRoute GT.NodeUser s i = Just $ UserPage s i
nodeTypeAppRoute GT.Team s i = Just $ Team s i
nodeTypeAppRoute GT.Team s i = Just $ Team s i
nodeTypeAppRoute GT.NodeTexts s i = Just $ NodeTexts s i
nodeTypeAppRoute GT.NodeTexts s i = Just $ NodeTexts s i
nodeTypeAppRoute GT.No
deFrameWrite
s i = Just $ RouteFrameWrite s i
nodeTypeAppRoute GT.No
tes
s i = Just $ RouteFrameWrite s i
nodeTypeAppRoute GT.NodeFrameCalc s i = Just $ RouteFrameCalc s i
nodeTypeAppRoute GT.NodeFrameCalc s i = Just $ RouteFrameCalc s i
nodeTypeAppRoute GT.NodeFrameVisio s i = Just $ RouteFrameVisio s i
nodeTypeAppRoute GT.NodeFrameVisio s i = Just $ RouteFrameVisio s i
nodeTypeAppRoute _ _ _ = Nothing
nodeTypeAppRoute _ _ _ = Nothing
...
...
src/Gargantext/Types.purs
View file @
a656825c
...
@@ -157,7 +157,7 @@ data NodeType = Annuaire
...
@@ -157,7 +157,7 @@ data NodeType = Annuaire
| NodeFile
| NodeFile
| NodeFrameCalc
| NodeFrameCalc
| NodeFrameNotebook
| NodeFrameNotebook
| No
deFrameWrite
| No
tes
| NodeFrameVisio
| NodeFrameVisio
| NodePublic NodeType
| NodePublic NodeType
derive instance Generic NodeType _
derive instance Generic NodeType _
...
@@ -197,7 +197,7 @@ instance Show NodeType where
...
@@ -197,7 +197,7 @@ instance Show NodeType where
show Team = "NodeTeam"
show Team = "NodeTeam"
show NodeList = "NodeList"
show NodeList = "NodeList"
show NodeTexts = "NodeTexts"
show NodeTexts = "NodeTexts"
show No
deFrameWrite = "NodeFrameWrite
"
show No
tes = "Notes
"
show NodeFrameCalc = "NodeFrameCalc"
show NodeFrameCalc = "NodeFrameCalc"
show NodeFrameNotebook = "NodeFrameNotebook"
show NodeFrameNotebook = "NodeFrameNotebook"
show NodeFrameVisio = "NodeFrameVisio"
show NodeFrameVisio = "NodeFrameVisio"
...
@@ -227,7 +227,7 @@ instance Read NodeType where
...
@@ -227,7 +227,7 @@ instance Read NodeType where
read "NodeList" = Just NodeList
read "NodeList" = Just NodeList
read "NodeTexts" = Just NodeTexts
read "NodeTexts" = Just NodeTexts
read "Annuaire" = Just Annuaire
read "Annuaire" = Just Annuaire
read "No
deFrameWrite" = Just NodeFrameWrite
read "No
tes" = Just Notes
read "NodeFrameCalc" = Just NodeFrameCalc
read "NodeFrameCalc" = Just NodeFrameCalc
read "NodeFrameNotebook" = Just NodeFrameNotebook
read "NodeFrameNotebook" = Just NodeFrameNotebook
read "NodeFrameVisio" = Just NodeFrameVisio
read "NodeFrameVisio" = Just NodeFrameVisio
...
@@ -269,7 +269,7 @@ translateFR = case _ of
...
@@ -269,7 +269,7 @@ translateFR = case _ of
NodeFile -> "Fichier"
NodeFile -> "Fichier"
NodeFrameCalc -> "Feuilles de calcul"
NodeFrameCalc -> "Feuilles de calcul"
NodeFrameNotebook -> "Carnet de notes"
NodeFrameNotebook -> "Carnet de notes"
No
deFrameWrite
-> "Éditeur de texte"
No
tes
-> "Éditeur de texte"
NodeFrameVisio -> "Visio"
NodeFrameVisio -> "Visio"
NodePublic n -> translateFR n
NodePublic n -> translateFR n
...
@@ -300,7 +300,7 @@ translateEN = case _ of
...
@@ -300,7 +300,7 @@ translateEN = case _ of
NodeFile -> "File"
NodeFile -> "File"
NodeFrameCalc -> "Calc"
NodeFrameCalc -> "Calc"
NodeFrameNotebook -> "Notebook"
NodeFrameNotebook -> "Notebook"
No
deFrameWrite -> "Write
"
No
tes -> "Notes
"
NodeFrameVisio -> "Visio"
NodeFrameVisio -> "Visio"
NodePublic n -> translateEN n
NodePublic n -> translateEN n
...
@@ -343,8 +343,8 @@ getIcon Annuaire false = "address-card"
...
@@ -343,8 +343,8 @@ getIcon Annuaire false = "address-card"
getIcon NodeContact true = "address-card-o"
getIcon NodeContact true = "address-card-o"
getIcon NodeContact false = "address-card"
getIcon NodeContact false = "address-card"
getIcon No
deFrameWrite
true = "file-text-o"
getIcon No
tes
true = "file-text-o"
getIcon No
deFrameWrite
false = "file-text"
getIcon No
tes
false = "file-text"
getIcon NodeFrameCalc true = "calculator"
getIcon NodeFrameCalc true = "calculator"
getIcon NodeFrameCalc false = "calculator"
getIcon NodeFrameCalc false = "calculator"
...
@@ -409,7 +409,7 @@ nodeTypePath Tree = "tree"
...
@@ -409,7 +409,7 @@ nodeTypePath Tree = "tree"
nodeTypePath NodeList = "lists"
nodeTypePath NodeList = "lists"
nodeTypePath NodeTexts = "texts"
nodeTypePath NodeTexts = "texts"
nodeTypePath Team = "team"
nodeTypePath Team = "team"
nodeTypePath No
deFrameWrite
= "write"
nodeTypePath No
tes
= "write"
nodeTypePath NodeFrameCalc = "calc"
nodeTypePath NodeFrameCalc = "calc"
nodeTypePath NodeFrameNotebook = "code"
nodeTypePath NodeFrameNotebook = "code"
nodeTypePath NodeFrameVisio = "visio"
nodeTypePath NodeFrameVisio = "visio"
...
...
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