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

Dashboard settings #231

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open

Dashboard settings #231

wants to merge 6 commits into from

Conversation

mohammadsalem
Copy link
Collaborator

@mohammadsalem mohammadsalem commented Aug 23, 2024

New configurable fields are introduced:

Appearance settings

  • Items label this value will be used in charts and tooltips replacing the term Information Products. The value is mandatory, for backward compatibility the value will default to Information Products when missing.

Dashboard layout

  • New settings Default operator within filters with options Follow the selected operator and Always use OR. Leaving it as blank or selecting Follow the selected operator will not change anything in the dashboard and the current default behaviour will be applied were the selected terms within the same filter will have the selected filters operator. Selecting Always use OR will always user the operator OR between the selected term within the same option regardless of the selected operator (e.g. selecting MELSpace and CGSpace as repositories will filter the dashboard for items in MELSpace or CGSpace showing the items from both repositories).
  • List components has two new checkboxes Hide total and Hide percentage. To show/hide the total and the percentage from the list.
  • World map component has two new checkboxes Show data labels to show the country name on the map and Show data labels count to show the count on the map.
  • Bar chart component has one new checkboxes Show data labels count to show the count on top of each bar.
  • Pie chart component has three new checkboxes Show data labels to show the name on the chart, Show data labels count to show the count on the chart and Show data labels percentage to show the percentage on the chart.

This pull request also fixes the tooltip not appearing for and/or operator.

Export dashboard as PNG:

  • The icon to export the dashboard as PNG is added to the top navbar.
  • The export will not include thumbnails and Altmetrics badges from the reports main list.
  • The export will capture the current view as is, it is like a screenshot.
  • The dashboard is lazy-loaded, thus the export will scroll through the dashboard to load all the charts before starting the export.

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