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
142
Issues
142
List
Board
Labels
Milestones
Merge Requests
4
Merge Requests
4
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
a0952447
Commit
a0952447
authored
Jun 02, 2023
by
Alexandre Delanoë
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[DOC] NodeFrameWrite -> Notes
parent
1b118a16
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
25 additions
and
25 deletions
+25
-25
Settings.purs
src/Gargantext/Components/Forest/Tree/Node/Settings.purs
+15
-15
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 @
a0952447
...
...
@@ -114,7 +114,7 @@ settingsBox FolderPrivate =
, buttons : [ Add [ Corpus
, Folder
, Annuaire
, No
deFrameWrite
, No
tes
, NodeFrameCalc
-- , NodeFrameNotebook
]
...
...
@@ -125,10 +125,10 @@ settingsBox Team =
SettingsBox { show : true
, edit : true
, doc : Documentation Team
, buttons : [ Add [ Corpus
, buttons : [ Add [ Notes
, Corpus
, Folder
, Annuaire
, NodeFrameWrite
, NodeFrameCalc
-- , NodeFrameNotebook
, Team
...
...
@@ -164,7 +164,7 @@ settingsBox Folder =
, buttons : [ Add [ Corpus
, Folder
, Annuaire
, No
deFrameWrite
, No
tes
, NodeFrameCalc
-- , NodeFrameNotebook
]
...
...
@@ -185,7 +185,7 @@ settingsBox Corpus =
, NodeList
, Graph
, Dashboard
, No
deFrameWrite
, No
tes
, NodeFrameCalc
, Phylo
-- , NodeFrameNotebook
...
...
@@ -314,11 +314,11 @@ settingsBox Annuaire =
}
settingsBox No
deFrameWrite
=
settingsBox No
tes
=
SettingsBox { show : true
, edit : true
, doc : Documentation No
deFrameWrite
, buttons : [ Add [ No
deFrameWrite
, doc : Documentation No
tes
, buttons : [ Add [ No
tes
, NodeFrameCalc
, Folder
, Corpus
...
...
@@ -335,7 +335,7 @@ settingsBox NodeFrameCalc =
, doc : Documentation NodeFrameCalc
, buttons : [ Upload
, Add [ NodeFrameCalc
, No
deFrameWrite
, No
tes
]
, Move moveFrameParameters
, Delete
...
...
@@ -347,7 +347,7 @@ settingsBox NodeFrameNotebook =
, edit : true
, doc : Documentation NodeFrameNotebook
, buttons : [ Add [ NodeFrameCalc
, No
deFrameWrite
, No
tes
-- , NodeFrameNotebook
]
, Move moveFrameParameters
...
...
@@ -361,7 +361,7 @@ settingsBox NodeFrameVisio =
, edit : true
, doc : Documentation NodeFrameVisio
, buttons : [ Add [ NodeFrameVisio
, No
deFrameWrite
, No
tes
, NodeFrameCalc
]
, Delete
...
...
@@ -393,14 +393,14 @@ moveParameters = { subTreeParams : SubTreeParams
, Team
, FolderPublic
, Folder
, No
deFrameWrite
, No
tes
, Corpus
]
, valitypes: [ FolderPrivate
, Team
-- , FolderPublic
, Folder
, No
deFrameWrite
, No
tes
, Corpus
]
}
...
...
@@ -414,7 +414,7 @@ moveFrameParameters = { subTreeParams : SubTreeParams
, FolderPublic
, Folder
, Corpus
, No
deFrameWrite
, No
tes
, NodeFrameCalc
]
, valitypes: [ FolderPrivate
...
...
@@ -422,7 +422,7 @@ moveFrameParameters = { subTreeParams : SubTreeParams
-- , FolderPublic
, Folder
, Corpus
, No
deFrameWrite
, No
tes
, NodeFrameCalc
]
}
...
...
src/Gargantext/Components/Router.purs
View file @
a0952447
...
...
@@ -325,7 +325,7 @@ renderRouteCpt = R.memo' $ here.component "renderRoute" cpt where
GR.PGraphExplorer s g -> graphExplorer (sessionNodeProps s g) []
GR.PhyloExplorer s g -> phyloExplorer (sessionNodeProps s g) []
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.RouteFrameCode s n -> routeFrame (Record.merge { nodeType: NodeFrameNotebook } $ sessionNodeProps s n) []
GR.RouteFrameVisio s n -> routeFrame (Record.merge { nodeType: NodeFrameVisio } $ sessionNodeProps s n) []
...
...
src/Gargantext/Routes.purs
View file @
a0952447
...
...
@@ -111,7 +111,7 @@ nodeTypeAppRoute GT.NodeList s i = Just $ Lists s i
nodeTypeAppRoute GT.NodeUser s i = Just $ UserPage s i
nodeTypeAppRoute GT.Team s i = Just $ Team 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.NodeFrameVisio s i = Just $ RouteFrameVisio s i
nodeTypeAppRoute _ _ _ = Nothing
...
...
src/Gargantext/Types.purs
View file @
a0952447
...
...
@@ -157,7 +157,7 @@ data NodeType = Annuaire
| NodeFile
| NodeFrameCalc
| NodeFrameNotebook
| No
deFrameWrite
| No
tes
| NodeFrameVisio
| NodePublic NodeType
derive instance Generic NodeType _
...
...
@@ -197,7 +197,7 @@ instance Show NodeType where
show Team = "NodeTeam"
show NodeList = "NodeList"
show NodeTexts = "NodeTexts"
show No
deFrameWrite = "NodeFrameWrite
"
show No
tes = "Notes
"
show NodeFrameCalc = "NodeFrameCalc"
show NodeFrameNotebook = "NodeFrameNotebook"
show NodeFrameVisio = "NodeFrameVisio"
...
...
@@ -227,7 +227,7 @@ instance Read NodeType where
read "NodeList" = Just NodeList
read "NodeTexts" = Just NodeTexts
read "Annuaire" = Just Annuaire
read "No
deFrameWrite" = Just NodeFrameWrite
read "No
tes" = Just Notes
read "NodeFrameCalc" = Just NodeFrameCalc
read "NodeFrameNotebook" = Just NodeFrameNotebook
read "NodeFrameVisio" = Just NodeFrameVisio
...
...
@@ -269,7 +269,7 @@ translateFR = case _ of
NodeFile -> "Fichier"
NodeFrameCalc -> "Feuilles de calcul"
NodeFrameNotebook -> "Carnet de notes"
No
deFrameWrite
-> "Éditeur de texte"
No
tes
-> "Éditeur de texte"
NodeFrameVisio -> "Visio"
NodePublic n -> translateFR n
...
...
@@ -300,7 +300,7 @@ translateEN = case _ of
NodeFile -> "File"
NodeFrameCalc -> "Calc"
NodeFrameNotebook -> "Notebook"
No
deFrameWrite -> "Write
"
No
tes -> "Notes
"
NodeFrameVisio -> "Visio"
NodePublic n -> translateEN n
...
...
@@ -343,8 +343,8 @@ getIcon Annuaire false = "address-card"
getIcon NodeContact true = "address-card-o"
getIcon NodeContact false = "address-card"
getIcon No
deFrameWrite
true = "file-text-o"
getIcon No
deFrameWrite
false = "file-text"
getIcon No
tes
true = "file-text-o"
getIcon No
tes
false = "file-text"
getIcon NodeFrameCalc true = "calculator"
getIcon NodeFrameCalc false = "calculator"
...
...
@@ -409,7 +409,7 @@ nodeTypePath Tree = "tree"
nodeTypePath NodeList = "lists"
nodeTypePath NodeTexts = "texts"
nodeTypePath Team = "team"
nodeTypePath No
deFrameWrite
= "write"
nodeTypePath No
tes
= "write"
nodeTypePath NodeFrameCalc = "calc"
nodeTypePath NodeFrameNotebook = "code"
nodeTypePath NodeFrameVisio = "visio"
...
...
delanoe
@anoe
mentioned in commit
551aa0ce
·
Jun 05, 2023
mentioned in commit
551aa0ce
mentioned in commit 551aa0ce54577d417e7edfffa191e8891d0bcd8c
Toggle commit list
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