Skip to content

Commit

Permalink
Add "text" type for quilt_summarize.json
Browse files Browse the repository at this point in the history
  • Loading branch information
fiskus committed Apr 18, 2024
1 parent ad9db41 commit 2c9746e
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion catalog/app/components/Preview/loaders/fileType.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ enum FileType {
Markdown = 'markdown',
Ngl = 'ngl',
Tabular = 'perspective',
Text = 'txt',
Text = 'text',
Vega = 'vega',
Voila = 'voila',
}
Expand Down
1 change: 1 addition & 0 deletions catalog/app/components/Preview/loaders/summarize.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ export type TypeShorthand =
| typeof FileType.Tabular
| typeof FileType.Vega
| typeof FileType.Voila
| typeof FileType.Text

export type FileShortcut = string

Expand Down
1 change: 1 addition & 0 deletions docs/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ Entries inside each section should be ordered by type:
## CLI

## Catalog, Lambdas
* [Added] Added "text" as a file type for quilt_summarize.json ([#3946](https://github.com/quiltdata/quilt/pull/3946))
* [Added] Sign URL in undocumented `compressedIndexURL` IGV property ([#3947](https://github.com/quiltdata/quilt/pull/3947))
* [Changed] Pre-select first catalog and database for Athena ([#3949](https://github.com/quiltdata/quilt/pull/3949))

Expand Down
1 change: 1 addition & 0 deletions docs/Catalog/VisualizationDashboards.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ or an object with one or more of the following properties:
- `["perspective"]` to render tabular data (csv, xlsx etc.) with Perspective
- `["igv"]` to render JSON with Integrative Genomics Viewer
- `["voila"]` to render a Jupyter notebook as an interactive Voila dashboard
- `["text"]` to render anything as text with syntax highlighting

If you need to control the height of an element (useful for Voila dashboards),
use the following extended syntax:
Expand Down
2 changes: 1 addition & 1 deletion shared/schemas/quilt_summarize.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@

"typeShorthand": {
"type": "string",
"enum": ["echarts", "igv", "json", "jupyter", "perspective", "vega", "voila"]
"enum": ["echarts", "igv", "json", "jupyter", "perspective", "txt", "vega", "voila"]
},

"typeExtended": {
Expand Down

0 comments on commit 2c9746e

Please sign in to comment.