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

Clean up app.vue #5102

Open
wants to merge 7 commits into
base: main
Choose a base branch
from
Open

Clean up app.vue #5102

wants to merge 7 commits into from

Conversation

YohannParis
Copy link
Member

This pull request includes several updates to the hmi-client package, focusing on simplifying the layout structure, improving styling consistency, and refactoring the toast notification system.

Simplification and Refactoring:

  • Simplified Toast Notifications: Removed the group attribute from the Toast component and useToastService methods to streamline the toast notification system. (packages/client/hmi-client/src/App.vue, packages/client/hmi-client/src/services/toast.ts) [1] [2] [3] [4] [5]

  • Layout Simplification: Removed redundant HTML elements and simplified the layout by merging the header, main, and footer sections directly into the template. (packages/client/hmi-client/src/App.vue)

Styling and Layout Improvements:

  • Footer Component Update: Converted the section element to a footer element and updated the styles for better semantic structure and consistency. (packages/client/hmi-client/src/components/navbar/tera-footer.vue) [1] [2] [3]

  • Navbar Component Update: Adjusted padding and margin values to use CSS variables for consistency and added the grid-area property for better layout control. (packages/client/hmi-client/src/components/navbar/tera-navbar.vue) [1] [2] [3]

Functional Improvements:

  • Project Watcher Enhancement: Added a check in the watch method to ensure the project is only updated when the projectId changes. (packages/client/hmi-client/src/App.vue)

Copy link
Contributor

@shawnyama shawnyama left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hell ya

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.

3 participants