Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lakeFS webui File Viewer #4225

Closed
eladlachmi opened this issue Sep 21, 2022 · 0 comments · Fixed by #4226
Closed

lakeFS webui File Viewer #4225

eladlachmi opened this issue Sep 21, 2022 · 0 comments · Fixed by #4226
Assignees
Labels
area/UI Improvements or additions to UI team/cloud-native Team cloud native

Comments

@eladlachmi
Copy link
Contributor

Add a file viewer to the lakeFS webui with an extendable list of renderers for supporting different file types.
Initially, markdown and Jupyter notebooks will be supported, but additional renderers can be added.

For choosing the correct renderer for a file we use the following process:

  1. If the file's metadata includes a "Content-Type", use that
  2. If the file has a supported file extension, use that
  3. The file cannot be displayed, but download and copy-to-clipboard buttons will still be available

Example of an ipynb file

@eladlachmi eladlachmi added area/UI Improvements or additions to UI team/cloud-native Team cloud native labels Sep 21, 2022
@eladlachmi eladlachmi self-assigned this Sep 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/UI Improvements or additions to UI team/cloud-native Team cloud native
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant