insightsengineering / insightsengineering/teal.slice

[Feature Request]: add option to assign labels/titles of each filter

Open
#648 2 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
R
Stars
12
Forks
7
Avg merge
3d 31m
Merged PRs (30d)
1

Description

### Feature description

I had asked @donyunardi about how to control the label that appears with filter variables in an app. He explained that the label comes from the attribute of label for the specific column `attr(data[[x]], "label")` and no descriptive is shown when label is null.

Could the `title` input parameter of `teal_slice` be used to control the descriptive information for filter variables? This would be a straightforward way to implement more customized filters with clear meanings for end-users of the deployed app.

Thank you for considering this!

### Code of Conduct

- [x] I agree to follow this project's Code of Conduct.

### Contribution Guidelines

- [x] I agree to follow this project's Contribution Guidelines.

### Security Policy

- [x] I agree to follow this project's Security Policy.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.