Mechanism for displaying summary of m2m relationships in rows on table view
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 11.5k
- Forks
- 903
- Avg merge
- 4d 17h
- Merged PRs (30d)
- 18
Description
Part of #354 (m2m support)
It would be fantastic if rows that are part of a m2m relationship could display it in an additional column in the table view.
It might look something like this: https://russian-ira-facebook-ads.datasettes.com/russian-ads-919cbfd/display_ads?_search=black+lives+matter
That example was achieved using a custom SQL query and datasette-json-html - but I'd like this to be a built-in feature instead.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reading the m2m support issue #354 and compare the linked Russian ads example with the custom SQL and datasette-json-html implementation. Define how a built-in table-view column should summarize m2m relationships, then verify the behavior against representative related rows.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python, sql, sqlite
- Domain
- databases, frontend
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100