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
143
Issues
143
List
Board
Labels
Milestones
Merge Requests
8
Merge Requests
8
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
cb9cfeca
Commit
cb9cfeca
authored
6 years ago
by
Alexandre Delanoë
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[DEP] Adding PSCI dep for the repl
[FIX] Document view for corpus
parent
06a07736
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
2 deletions
+7
-2
psc-package.json
psc-package.json
+1
-0
Config.purs
src/Gargantext/Config.purs
+1
-1
Document.purs
src/Gargantext/Pages/Corpus/Document.purs
+5
-1
No files found.
psc-package.json
View file @
cb9cfeca
...
...
@@ -3,6 +3,7 @@
"set"
:
"master"
,
"source"
:
"https://github.com/np/package-sets.git"
,
"depends"
:
[
"psci-support"
,
"css"
,
"generics-rep"
,
"routing"
,
...
...
This diff is collapsed.
Click to expand it.
src/Gargantext/Config.purs
View file @
cb9cfeca
...
...
@@ -31,7 +31,7 @@ endConfig' v = { front : frontCaddy
-- until authentication implementation
-- (Default Root will be given after authentication)
defaultRoot :: Int
defaultRoot =
347474
defaultRoot =
943779
------------------------------------------------------------------------
frontCaddy :: Config
frontCaddy = { proto : "http://"
...
...
This diff is collapsed.
Click to expand it.
src/Gargantext/Pages/Corpus/Document.purs
View file @
cb9cfeca
...
...
@@ -110,6 +110,7 @@ data Document =
, publication_month :: Maybe Int
, publication_year :: Maybe Int
, source :: Maybe String
, institutes :: Maybe String
, title :: Maybe String
, uniqId :: Maybe String
--, url :: Maybe String
...
...
@@ -144,6 +145,7 @@ defaultDocument =
, publication_month : Nothing
, publication_year : Nothing
, source : Nothing
, institutes : Nothing
, title : Nothing
, uniqId : Nothing
--, url : Nothing
...
...
@@ -230,7 +232,8 @@ instance decodeDocument :: DecodeJson Document
publication_day <- obj .?? "publication_day"
publication_month <- obj .?? "publication_month"
publication_year <- obj .?? "publication_year"
source <- obj .?? "source"
source <- obj .?? "sources"
institutes <- obj .?? "institutes"
title <- obj .?? "title"
uniqId <- obj .?? "uniqId"
--url <- obj .? "url"
...
...
@@ -249,6 +252,7 @@ instance decodeDocument :: DecodeJson Document
, publication_month
, publication_year
, source
, institutes
, title
, uniqId
--, url
...
...
This diff is collapsed.
Click to expand it.
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