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
9b1861f8
Commit
9b1861f8
authored
Apr 26, 2023
by
Alexandre Delanoë
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[FEAT] Iramuteq parser (WIP)
parent
5cde58d3
Pipeline
#3944
canceled with stage
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
Upload.purs
...Gargantext/Components/Forest/Tree/Node/Action/Upload.purs
+2
-1
Types.purs
...text/Components/Forest/Tree/Node/Action/Upload/Types.purs
+2
-1
No files found.
src/Gargantext/Components/Forest/Tree/Node/Action/Upload.purs
View file @
9b1861f8
...
...
@@ -156,6 +156,7 @@ uploadFileViewWithLangsCpt = here.component "uploadFileViewWithLangs" cpt
[ formChoiceSafe { items: [ CSV
, CSV_HAL
, WOS
-- , Iramuteq
]
, default: CSV
, callback: setFileType'
...
...
@@ -503,7 +504,7 @@ fileTypeViewCpt = here.component "fileTypeView" cpt
[ R2.select {className: "col-md-12 form-control"
, on: {change: onChange}
}
(map renderOption [CSV, CSV_HAL, WOS])
(map renderOption [CSV, CSV_HAL, WOS
, Iramuteq
])
]
where
onChange e l =
...
...
src/Gargantext/Components/Forest/Tree/Node/Action/Upload/Types.purs
View file @
9b1861f8
...
...
@@ -13,7 +13,7 @@ import Web.File.Blob (Blob, size)
import Web.File.FileReader.Aff (readAsArrayBuffer, readAsText)
data FileType = CSV | CSV_HAL | WOS | PresseRIS | Arbitrary | JSON
data FileType = CSV | CSV_HAL | WOS | PresseRIS | Arbitrary | JSON
| Iramuteq
derive instance Generic FileType _
instance Eq FileType where eq = genericEq
...
...
@@ -26,6 +26,7 @@ instance Read FileType where
read "PresseRIS" = Just PresseRIS
read "WOS" = Just WOS
read "JSON" = Just JSON
read "Iramuteq" = Just Iramuteq
read _ = Nothing
data FileFormat = Plain | ZIP
...
...
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