Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
H
haskell-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
Przemyslaw Kaminski
haskell-gargantext
Commits
1eed5eba
Commit
1eed5eba
authored
Jul 10, 2020
by
Alexandre Delanoë
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[Node creation] adding Dashboard
parent
1ae1a49d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
3 deletions
+9
-3
Node.hs
src/Gargantext/Database/Action/Node.hs
+7
-0
Node.hs
src/Gargantext/Database/Admin/Types/Node.hs
+2
-3
No files found.
src/Gargantext/Database/Action/Node.hs
View file @
1eed5eba
...
...
@@ -95,6 +95,13 @@ mkNodeWithParent NodeGraph (Just i) uId name =
where
hd
=
arbitraryGraph
mkNodeWithParent
NodeDashboard
(
Just
i
)
uId
name
=
insertNodesWithParentR
(
Just
i
)
[
node
NodeDashboard
name
hd
Nothing
uId
]
where
hd
=
arbitraryDashboard
mkNodeWithParent
NodeFrameWrite
i
u
n
=
mkNodeWithParent_ConfigureHyperdata
NodeFrameWrite
i
u
n
...
...
src/Gargantext/Database/Admin/Types/Node.hs
View file @
1eed5eba
...
...
@@ -280,6 +280,8 @@ instance ToSchema NodeType
instance
Arbitrary
NodeType
where
arbitrary
=
elements
allNodeTypes
------------------------------------------------------------------------
-- Instances
------------------------------------------------------------------------
...
...
@@ -310,6 +312,3 @@ instance QueryRunnerColumnDefault (Nullable PGInt4) NodeId
where
queryRunnerColumnDefault
=
fieldQueryRunnerColumn
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