Skip to content

Update from code changes: document labeled parameter options#920

Merged
ZeRego merged 6 commits into
mainfrom
mintlify/031ee757
Jul 3, 2026
Merged

Update from code changes: document labeled parameter options#920
ZeRego merged 6 commits into
mainfrom
mintlify/031ee757

Conversation

@mintlify

@mintlify mintlify Bot commented Jul 2, 2026

Copy link
Copy Markdown
Contributor

Summary

Document the new { label, value } object form for parameter options, which lets the UI display a human-readable label while a separate value is substituted into SQL.

Changes

  • references/lightdash-config-yml.mdx: updated the project-level parameters table to note that options accepts { label, value } objects, added a "Labeled options" subsection with an example, and clarified default behavior with labeled options.
  • references/tables.mdx: same updates for the model-level parameters reference.
  • guides/developer/using-parameters.mdx: added a labeled-options example to the project-level parameters walkthrough with a short explanation of when to use each form.

Context

Upstream source PR: lightdash/lightdash#20639 ("feat: introduce parameter labels"). The bucket brief mentioned a label_dimension field on options_from_dimension, but the shipped code only adds labeled objects to the static options array — no label_dimension field exists — so only that change is documented here. Plain string/number options remain fully backward compatible.

@mintlify

mintlify Bot commented Jul 2, 2026

Copy link
Copy Markdown
Contributor Author

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
lightdash 🟢 Ready View Preview Jul 2, 2026, 12:45 AM

@github-actions

github-actions Bot commented Jul 2, 2026

Copy link
Copy Markdown
Contributor

cc @dtaniwaki

@github-actions

github-actions Bot commented Jul 2, 2026

Copy link
Copy Markdown
Contributor

🤖 Documentation Bot

Status

⚠️ 1 broken link needs manual attention


🔗 Broken Links (Manual Fix Required)

Click to view details
   📄 references/workspace/custom-roles.mdx:22 → /references/roles#roles-and-permissions

Comment thread guides/developer/using-parameters.mdx Outdated
Comment thread references/lightdash-config-yml.mdx Outdated
Comment thread references/lightdash-config-yml.mdx Outdated
Comment thread references/tables.mdx Outdated
Comment thread references/tables.mdx Outdated
@github-actions

github-actions Bot commented Jul 3, 2026

Copy link
Copy Markdown
Contributor

🤖 Documentation Bot

Status

⚠️ 1 broken link needs manual attention


🔗 Broken Links (Manual Fix Required)

Click to view details
   📄 references/workspace/custom-roles.mdx:22 → /references/roles#roles-and-permissions

@github-actions

github-actions Bot commented Jul 3, 2026

Copy link
Copy Markdown
Contributor

🤖 Documentation Bot

Status

⚠️ 1 broken link needs manual attention


🔗 Broken Links (Manual Fix Required)

Click to view details
   📄 references/workspace/custom-roles.mdx:22 → /references/roles#roles-and-permissions

3 similar comments
@github-actions

github-actions Bot commented Jul 3, 2026

Copy link
Copy Markdown
Contributor

🤖 Documentation Bot

Status

⚠️ 1 broken link needs manual attention


🔗 Broken Links (Manual Fix Required)

Click to view details
   📄 references/workspace/custom-roles.mdx:22 → /references/roles#roles-and-permissions

@github-actions

github-actions Bot commented Jul 3, 2026

Copy link
Copy Markdown
Contributor

🤖 Documentation Bot

Status

⚠️ 1 broken link needs manual attention


🔗 Broken Links (Manual Fix Required)

Click to view details
   📄 references/workspace/custom-roles.mdx:22 → /references/roles#roles-and-permissions

@github-actions

github-actions Bot commented Jul 3, 2026

Copy link
Copy Markdown
Contributor

🤖 Documentation Bot

Status

⚠️ 1 broken link needs manual attention


🔗 Broken Links (Manual Fix Required)

Click to view details
   📄 references/workspace/custom-roles.mdx:22 → /references/roles#roles-and-permissions

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant