OpenEnergyPlatform / oeplatform

Repository for the code of the Open Energy Platform (OEP) website. The OEP provides an interface to the Open Energy Family
http://openenergyplatform.org/
GNU Affero General Public License v3.0
61 stars 19 forks source link

Show/hide topics sidebar #1681

Closed bmlancien closed 1 week ago

bmlancien commented 1 month ago

Description of the issue

There should be an option for the topics view sidebar to be shown/hidden in order to expand the table width to 100% so that users can see more content from the table without scrolling.

Ideas of solution

sidebar_1 sidebar_1 (1)

Workflow checklist

jh-RLI commented 1 month ago

@l-emele @han-f @stap-m @christian-rli @wingechr @adelmemariani Above is the mockup of how we plan to implement the collabsable sidebar on the dataview page for each table.

Currently there is still the open peer review button visible, it will most likely be moved to the "Open Peer Review" tab. The Scenario Bundle field is new and links to the bundle (by id) that lists this table as output or input dataset in any of the included scenario factsheets. The tags are harmonized in color. .... and a few other updates from our discussions during the last project meeting.

Most of this has already been implemented in several pull requests, which means that it is likely to be included in the next release (planned for the first half of June).

stap-m commented 1 month ago

I like it. What happens to the bundle field, if there is no bundle related? Is it invisible or is there a button which allows a link, or something else?

jh-RLI commented 3 weeks ago

That's a good point. I suppose it would be good to show an option to add this table to a scenario bundle -> scenario. I have created a separate issue for this: https://github.com/OpenEnergyPlatform/oeplatform/issues/1686