Skip to content

feat: add Config tab to all node resource detail pages#582

Open
dtaniwaki wants to merge 1 commit intodbt-labs:mainfrom
dtaniwaki:feat/config-tab-clean
Open

feat: add Config tab to all node resource detail pages#582
dtaniwaki wants to merge 1 commit intodbt-labs:mainfrom
dtaniwaki:feat/config-tab-clean

Conversation

@dtaniwaki
Copy link
Copy Markdown

@dtaniwaki dtaniwaki commented Apr 9, 2026

resolves #581

Thanks for maintaining dbt-docs! I'd appreciate any feedback on this change.

Description

Currently there's no way to see a resource's dbt config directly in the docs UI. When working with engines like Athena, knowing partition and format settings (partitioned_by, file_format, etc.) is essential to writing efficient queries, but right now you have to go back to the YAML source to find them.

This PR adds a "Config" tab to all node-type detail pages that shows the full config in a structured, nested format. The tab only appears when config data exists, so macro pages are unaffected. Nested values like contract and docs render hierarchically, and null/empty entries are filtered out.

I extracted the data transformation logic into a testable config_utils.js module with 29 unit tests. All existing tests continue to pass. Tested locally against the jaffle_shop sample data.

Screenshot 2026-04-09 at 22 05 04

Checklist

Signed-off-by: Daisuke Taniwaki <daisuketaniwaki@gmail.com>
@dtaniwaki dtaniwaki requested a review from a team as a code owner April 9, 2026 13:03
@cla-bot cla-bot bot added the cla:yes label Apr 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add a Config tab to resource detail pages

1 participant