Skip to content

feat(dashboard): add show_element_name option to details panel - #614

Open
lukefullard wants to merge 1 commit into
mainfrom
jules-16063622102632029395-61f99d60
Open

feat(dashboard): add show_element_name option to details panel#614
lukefullard wants to merge 1 commit into
mainfrom
jules-16063622102632029395-61f99d60

Conversation

@lukefullard

Copy link
Copy Markdown
Collaborator
  • Added show_element_name configuration (default True) to add_details_panel in src/sivo/core/dashboard.py.
  • Updated all dashboard templates (including dashboard_blocks.html and src/sivo/templates/dashboards/*.html) to optionally display the block name in an <h3> based on a new HTML data-show-name attribute parsed in the JavaScript template handler.
  • Configured examples/mysite/title_page/subpage/water/science/generate_science_page.py to use show_element_name=False to prevent the FMU map regions overriding/prepending to the markdown text layout.

- Added `show_element_name` configuration (default True) to `add_details_panel` in `src/sivo/core/dashboard.py`.
- Updated all dashboard templates (including `dashboard_blocks.html` and `src/sivo/templates/dashboards/*.html`) to optionally display the block name in an `<h3>` based on a new HTML `data-show-name` attribute parsed in the JavaScript template handler.
- Configured `examples/mysite/title_page/subpage/water/science/generate_science_page.py` to use `show_element_name=False` to prevent the FMU map regions overriding/prepending to the markdown text layout.

Co-authored-by: LukeAFullard <77252754+LukeAFullard@users.noreply.github.com>
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