Datashare
DownloadAbout ICIJGitHub
  • About Datashare
  • Ask for help
  • Concepts
    • Running modes
    • CLI stages
  • About ICIJ
  • Github
  • 💻On your computer
    • About the local mode
    • Install on Mac
      • Start Datashare
      • Add documents to Datashare
    • Install on Windows
      • Start Datashare
      • Add documents to Datashare
    • Install on Linux
      • Start Datashare
      • Add documents to Datashare
    • Install with Docker
    • Add documents
    • Add more languages
    • Install plugins and extensions
    • Neo4j
      • Install Neo4j plugin
      • Create and update Neo4j graph
  • 🌐On your server
    • About the server mode
    • Install with Docker
    • Add documents from the CLI
    • Add entities from the CLI
    • Authentication providers
      • OAuth2
      • Basic with a database
      • Basic with Redis
      • Dummy
    • Neo4j
      • Install Neo4j plugin
      • Create and update Neo4j graph
    • Performance considerations
  • ⚡Usage
    • Search documents
    • Search documents in batch
    • Search with operators / Regex
    • Filter documents
    • Sort documents
    • Explore a document
    • Star documents
    • Tag documents
    • Recommend documents
    • Keyboard shortcuts
    • Create a Neo4j graph and explore it
    • FAQ
      • General
        • Can I use Datashare with no internet connection?
        • Can I download a document from Datashare?
        • Can I remove document(s) from Datashare?
        • Do you recommend OS or machines for large corpuses?
        • Can I use an external drive as data source?
        • How can we use Datashare on a collaborative mode on a server?
        • How can I contact ICIJ for help, bug reporting or suggestions?
        • Why results from a simple search and a batch search can be slightly different?
        • How can I uninstall Datashare?
        • Advanced: how can I do bulk actions with Tarentula?
        • What should I do if I get more than 10,000 results?
        • How to run Neo4j?
      • Definitions
        • What is a named entity?
        • What are NLP pipelines?
        • What is fuzziness?
        • What are proximity searches?
      • Common errors
        • 'Your search query is wrong.' What should I do?
        • Searching with double quotes doesn't work
        • List of common errors leading to "failure" in Batch Searches
        • What if Datashare says 'No documents found'?
        • Nothing works, everything crashes. What can I do?
        • What if tasks are 'running' but not completing?
        • 'You are not allowed to use Docker, you must be in the "docker-users" group'. What should I do?
        • What if a 'Preview' of my documents is 'not available'?
        • What do I do if Datashare opens a blank screen in my browser?
        • I see people, organizations and locations in the filters but not in the documents
        • What does 'Windows named pipe error' mean?
        • Datashare doesn't open. What should I do?
        • I upgraded to version 9 of Datashare and it fails.
  • 🤓Developers
    • How to contribute
    • Backend
      • API
      • API (deprecated)
      • Database
    • Frontend
      • JSDoc
      • Plugin hooks
      • Insight widgets
      • Vue app
        • Components
          • Api
          • AppliedSearchFilters
          • AppliedSearchFiltersItem
          • AppNav
          • AppSidebar
          • BatchDownloadActions
          • BatchSearchActions
          • BatchSearchClearFilters
          • BatchSearchCopyForm
          • BatchSearchFilterDate
          • BatchSearchFilterQuery
          • BatchSearchForm
          • BatchSearchResultsDetails
          • BatchSearchResultsFilters
          • BatchSearchResultsTable
          • BatchSearchStatus
          • BatchSearchTable
          • ColumnChartPicker
          • ColumnFilter
          • ColumnFilterBadge
          • ColumnFilterDropdown
          • ContentTypeBadge
          • Document
            • DocumentNavbar
            • DocumentNotes
            • DocumentTabDetails
            • DocumentTabExtractedText
            • DocumentTabNamedEntities
            • DocumentTabPreview
            • Viewers
              • AudioViewer
              • ImageViewer
              • JsonViewer
              • LegacySpreadsheetViewer
              • PaginatedViewer
              • SpreadsheetViewer
              • TiffViewer
              • VideoViewer
          • DocumentActions
          • DocumentAttachments
          • DocumentContent
          • DocumentContentSlice
          • DocumentContentSlicePlaceholder
          • DocumentContentSlices
          • DocumentGlobalSearchTermsTags
          • DocumentInModal
          • DocumentLocalSearchInput
          • DocumentSlicedName
          • DocumentTagsForm
          • DocumentThread
          • DocumentThumbnail
          • DocumentTranslatedContent
          • DocumentTypeCard
          • EllipseStatus
          • EmailString
          • Extensions
          • ExtractingForm
          • ExtractingFormOcrControl
          • ExtractingLanguageFormControl
          • Filter
            • FilterBoilerplate
            • FilterFooter
            • FilterSearch
            • FilterSortByDropdown
            • Types
              • FilterAbstract
              • FilterDate
              • FilterDateRange
              • FilterNamedEntity
              • FilterPath
              • FilterProject
              • FilterRecommendedBy
              • FilterStarred
              • FilterText
          • FiltersPanel
          • FindNamedEntitiesForm
          • Hook
          • InlineDirectoryPicker
          • JsonFormatter
          • LocalesMenu
          • MountedDataLocation
          • NamedEntityInContext
          • PageHeader
          • PageIcon
          • Pagination
          • Plugins
          • ProjectCards
          • ProjectForm
          • ProjectLink
          • ProjectSelector
          • ProjectThumbnail
          • QuickItemNav
          • ResetFiltersButton
          • RouterLinkPopup
          • ScrollTracker
          • SearchBar
          • SearchBarInput
          • SearchBarInputDropdown
          • SearchBarInputDropdownForField
          • SearchBarInputDropdownForProjects
          • SearchDocumentNavbar
          • SearchFormControl
          • SearchLayoutSelector
          • SearchResults
          • SearchResultsGrid
          • SearchResultsHeader
          • SearchResultsList
          • SearchResultsListLink
          • SearchResultsTable
          • ServerSettings
          • ShortkeysModal
          • TaskItemStatus
          • TasksList
          • TreeBreadcrumb
          • TreeView
          • UserDisplay
          • UserHistorySaveSearchForm
          • VersionNumber
          • Widget
            • WidgetDiskUsage
            • WidgetDocumentsByCreationDate
            • WidgetDocumentsByCreationDateByPath
            • WidgetDuplicates
            • WidgetEmpty
            • WidgetEntities
            • WidgetFieldFacets
            • WidgetFileBarometer
            • WidgetListGroup
            • WidgetNames
            • WidgetNested
            • WidgetProject
            • WidgetRecommendedBy
            • WidgetSearchBar
            • WidgetText
            • WidgetTreeMap
        • Pages
          • App
          • DocumentModal
          • DocumentStandalone
          • DocumentView
          • Error
          • Landing
          • Login
          • Project
          • ProjectList
          • ProjectNew
          • ProjectView
          • ProjectViewAddDocuments
          • ProjectViewEdit
          • ProjectViewFindNamedEntities
          • ProjectViewInsights
          • Search
          • Settings
          • TaskAnalysis
          • TaskAnalysisList
          • TaskBatchDownload
          • TaskBatchDownloadList
          • TaskBatchSearch
          • TaskBatchSearchList
          • TaskBatchSearchNew
          • TaskBatchSearchView
          • TaskBatchSearchViewResults
          • Tasks
          • UserHistory
          • UserHistoryDocumentList
          • UserHistorySavedSearchList
    • Introduction to Tarentula
    • Index operations with Playground
    • Write extensions
    • Write plugins
Powered by GitBook

Datashare is an open source project by the International Consortium of Investigative Journalists

On this page
  • WidgetDiskUsage
  • WidgetDocumentsByCreationDate
  • WidgetDocumentsByCreationDateByPath
  • WidgetDuplicates
  • WidgetEmpty
  • new WidgetEmpty(name, card, cols, order)
  • WidgetEntities
  • WidgetFieldFacets
  • new WidgetFieldFacets(title, field, icon, routeQueryField, bucketTranslation, options)
  • WidgetFileBarometer
  • WidgetListGroup
  • new WidgetListGroup(title, items, pipeline, options)
  • WidgetNames
  • WidgetNested
  • new WidgetNested(widgets, options)
  • WidgetProject
  • new WidgetProject(options)
  • WidgetRecommendedBy
  • new WidgetRecommendedBy(hideThumbnails, options)
  • WidgetSearchBar
  • new WidgetSearchBar(index, options)
  • WidgetText
  • new WidgetText(title, content, pipeline, options)
  • WidgetTreeMap
  • new WidgetTreeMap(title, index, options)
Export as PDF
  1. Developers
  2. Frontend

Insight widgets

WidgetDiskUsage

Widget to display the disk space occupied by indexed files on the insights page.

Kind: global class


WidgetDocumentsByCreationDate

Widget to display the number of file by creation date on the insights page.

Kind: global class


WidgetDocumentsByCreationDateByPath

Widget to display number of files by creation date by path

Kind: global class


WidgetDuplicates

Widget for the insights page indicating the proportion of duplicates in the data.

Kind: global class


WidgetEmpty

Class representing the Empty widget. This widget is not intended to be used directly.

Kind: global class


new WidgetEmpty(name, card, cols, order)

Create a new WidgetEmpty

Param
Type
Default
Description

name

string

Unique name of the widget

card

boolean

true

cols

number

12

order

number

0

Order to display among the others widgets


WidgetEntities

Widget to display text on the insights page

Kind: global class


WidgetFieldFacets

Widget to display a list of items or links on the insights page

Kind: global class


new WidgetFieldFacets(title, field, icon, routeQueryField, bucketTranslation, options)

Create a new WidgetFacets

Param
Type
Default
Description

title

string

null

The title of the widget

field

string

"\"type\""

Field to build the facet uppon

icon

mixed

routeQueryField

string

null

bucketTranslation

mixed

options

Object

See WidgetEmpty for others options


WidgetFileBarometer

Widget to display the number of indexed files on the insights page

Kind: global class


WidgetListGroup

Widget to display a list of items or links on the insights page

Kind: global class


new WidgetListGroup(title, items, pipeline, options)

Create a new WidgetListGroup

Param
Type
Default
Description

title

string

null

The title of the widget

items

Array

[

The list of items to display

pipeline

string

"'widget-list-group'"

I do not know

options

Object

See WidgetEmpty for others options


WidgetNames

Widget to display names

Kind: global class


WidgetNested

Widget to display nested widgets

Kind: global class


new WidgetNested(widgets, options)

Create a new WidgetProject

Param
Type
Description

widgets

Array

A list of nested widgets

options

Object

See WidgetEmpty for others options


WidgetProject

Widget to to display a search bar

Kind: global class


new WidgetProject(options)

Create a new WidgetProject

Param
Type
Description

options

Object

See WidgetEmpty for others options


WidgetRecommendedBy

Widget to display latest recommend documents.

Kind: global class


new WidgetRecommendedBy(hideThumbnails, options)

Create a new WidgetRecommendedBy

Param
Type
Description

hideThumbnails

Boolean

Etheir or not we should hide thumbnails

options

Object

See WidgetEmpty for others options


WidgetSearchBar

Widget to to display a search bar

Kind: global class


new WidgetSearchBar(index, options)

Create a new WidgetSearchBar

Param
Type
Description

index

string

The Elasticsearch project of the Widget

options

Object

See WidgetEmpty for others options


WidgetText

Widget to display text on the insights page

Kind: global class


new WidgetText(title, content, pipeline, options)

Create a new WidgetText based on a WidgetEmpty

Param
Type
Default
Description

title

string

null

The title of the widget

content

string

null

The content of the widget

pipeline

string

"'widget-text'"

Transformation to apply to the content

options

Object

See WidgetEmpty for others options


WidgetTreeMap

Class representing the TreeMap widget

Kind: global class


new WidgetTreeMap(title, index, options)

Create a new WidgetTreeMap based on a WidgetEmpty

Param
Type
Default
Description

title

string

null

The title of the Widget

index

string

The Elasticsearch project of the Widget

options

Object

See WidgetEmpty for others options


Last updated 1 year ago

Is this widget displayed as ?

Number of columns on which the widget should be displayed according to the

🤓
card
Bootstrap's grid system