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

Improve UI with navigation menu and modern design #1

Merged
merged 8 commits into from
Sep 21, 2024

Conversation

QuentinGruber
Copy link
Member

@QuentinGruber QuentinGruber commented Sep 17, 2024

Improve the UI by adding a navigation menu, modern design elements, and interactive features to the charts.

  • Add CSS Styles: Add public/styles.css to include styles for the navigation menu and modern design elements.
  • Update HTML Template: Modify template.html to include a navigation menu, update the layout with modern design elements, and link the new styles.css file.
  • Enhance Chart Interactivity: Modify charts.go to update chart generation functions to include interactive features and tooltips.
  • Update HTML Generation: Modify html.go to include the navigation menu and ensure the new layout and styles are applied to the generated HTML.
  • Serve CSS File: Modify http.go to update the HTTP server to serve the new styles.css file.

For more details, open the Copilot Workspace session.

QuentinGruber and others added 8 commits September 17, 2024 15:02
Improve the UI by adding a navigation menu, modern design elements, and interactive features to the charts.

* **Add CSS Styles**: Add `public/styles.css` to include styles for the navigation menu and modern design elements.
* **Update HTML Template**: Modify `template.html` to include a navigation menu, update the layout with modern design elements, and link the new `styles.css` file.
* **Enhance Chart Interactivity**: Modify `charts.go` to update chart generation functions to include interactive features and tooltips.
* **Update HTML Generation**: Modify `html.go` to include the navigation menu and ensure the new layout and styles are applied to the generated HTML.
* **Serve CSS File**: Modify `http.go` to update the HTTP server to serve the new `styles.css` file.

---

For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/H1emu/h1emu-charts?shareId=XXXX-XXXX-XXXX-XXXX).
* **styles.css**
  - Add CSS rules to lower the height of the iframes
  - Add CSS rules to ensure the nav bar elements are on the same level
* **template.html**
  - Remove inline styles from the body and iframe elements
  - Add class names to the body and iframe elements for styling
* Add CSS rules to ensure the nav bar elements are on the same level

* Add CSS rules to make iframes in a flex layout side by side
  - Add flex-wrap property to .chart-container
  - Add flex property to .chart-container iframe
  - Add margin to .chart-container iframe
* **Iframe height adjustments**
  - Lower iframe height to 200px
  - Increase iframe height to 400px

* **Nav bar alignment**
  - Ensure nav bar elements are on the same level

* **Flex layout for iframes**
  - Make iframes in a flex layout side by side
  - Add margin to iframes in flex layout
…les for the main menu.

**styles.css**
* Add styles to make the main menu look nice

**template.html**
* Remove all iframes from the main menu
* Add a welcome message to redirect users to the main menu
@QuentinGruber QuentinGruber merged commit 714f189 into master Sep 21, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant