duckdb / duckdb/duckdb-ui

Feature Request: custom HTML/javascript rendering of query results

Open
#149 4 comments 0 reactions 0 assignees View on GitHub
enhancement ui
Dominant language
TypeScript
Stars
466
Forks
48
PR merge metrics
No merged PRs in 30d

Description

I seek a way the user could configure the UI to render (selected) columns

Specifically my use cases are:
- render paths as clickable URLS
- render URLs to images as images with a given height (e.g. using a [URI template](https://en.wikipedia.org/wiki/URI_Template)) or sprintf `""`

I expect the most general approach would be to support specifying a javascript callback to post-process query results.

Or, possibly more simply, an "extension" working similarly to https://datasette.io/plugins/datasette-render-image-tags

Contributor guide

No contributing guide indexed for this repository

Research direction

The issue names no files, tests, or entry points. Start by locating the UI's query-result rendering path and comparing the linked Datasette image-rendering extension; done should include a defined configuration model for selected-column rendering and verified link or image output.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, typescript
Domain
frontend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.