Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make Chart Preview & Table Preview Configurable per Dataset #3553

Closed
t83714 opened this issue Jul 12, 2024 · 1 comment
Closed

Make Chart Preview & Table Preview Configurable per Dataset #3553

t83714 opened this issue Jul 12, 2024 · 1 comment
Assignees
Milestone

Comments

@t83714
Copy link
Contributor

t83714 commented Jul 12, 2024

Make Chart Preview & Table Preview Configurable per Dataset

As a data custodian user, I want to disable the chart and table preview features for selected datasets when the default predicted chart layout is optimal.

We previously introduced the preview-map-settings aspect to allow users to disable the map preview feature (or configure which format of resource is used) per dataset.

To accommodate similar requirements, we will introduce the preview-tabular-data-settings aspect with fields:

  • enableChart: When set to false, this will explicitly disable the chart preview for the dataset. A true value will explicitly enable the chart preview for the dataset (still subject to the resource format compatibility). When not specified, the default value true will be used.
  • enableTable: When set to false, this will explicitly disable the chart preview for the distribution. A true value will explicitly enable the chart preview for the distribution (still subject to the resource format compatibility). When not specified, the default value true will be used.
  • User can opt to attach the preview-tabular-data-settings aspect to either a "dataset" record (contains one or more resources ) or a "distribution" record (resource).
    • The preview-tabular-data-settings aspect set to the "dataset" record will apply to all "distribution" records (resources) that it contains. The preview-tabular-data-settings aspect is set to a "distribution" record (resource) has higher priority and can override the settings from the preview-tabular-data-settings aspect data set to the "dataset" record.

We might introduce configuration options that allow manual overriding of the system-predicted chart layout in the future. However, considering the LLM-powered visualization feature development in the current pipeline might improve this area. We will review it in the future to decide whether we need to introduce more configuration options.

Since v2.0.0, in addition to the dataset authoring UI, we have also had a low-level dataset record editor tool that allows admins or data custodians to edit dataset metadata at the field level. Users can use this tool to attach the preview-tabular-data-settings aspect data to a select dataset to override the default system behaviour.

CleanShot 2024-07-12 at 12 19 04@2x

CleanShot 2024-07-31 at 15 05 51

Extra notes

  • Users
@t83714
Copy link
Contributor Author

t83714 commented Sep 16, 2024

Closed via PR #3558

@t83714 t83714 closed this as completed Sep 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant