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

Create sidebar #32

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

Conversation

djhonantanparreira
Copy link
Member

No description provided.

- Removed unused route '/products' from sidebar navigation
- Removed unused components from sidebar navigation

Refactor HeaderMenu.vue: update profile view fields

- Updated field names in profile view to match backend API
- Updated v-model bindings for profile view fields

Update auth.js: add additional user profile fields

- Added 'cidade', 'estado', 'linkedin', and 'discord' fields to user profile object in auth.js

Update ProfileView.vue: update profile form fields

- Updated field names in profile form to match backend API
- Updated v-model bindings for profile form fields
… sidebar component for dashboard navigation; update ProductShow.vue and Sidebar.vue accomp exiting files refactoring
@djhonantanparreira djhonantanparreira marked this pull request as ready for review October 14, 2024 17:57
djhonantanparreira and others added 18 commits October 15, 2024 10:43
- Refactor App.vue: Updated snackbar close button text from "Close" to "Fechar" for better localization.
- Refactor RegistryView.vue: Added default values for 'cidade', 'estado', 'linkedin', and 'discord' fields in the applicant object for smoother user registration.
- Refactor Sidebar.vue: Updated conditions to correctly display "Nenhum produto cadastrado" and "Nenhuma squad cadastrada" messages by checking array lengths instead of falsy values.
- Refactor product.js: Updated success message for product creation from "Product created successfully" to "Produto criado com sucesso".
- Refactor user.js and auth.js: Replaced alerts with snackbar notifications for better error handling using useSnackbar.showSnackbar function.
- Refactor member.js: Updated error handling with snackbar for better user feedback.

Fixes:
- Sidebar issue where "Nenhum produto cadastrado" and "Nenhuma squad cadastrada" messages were not displaying when appropriate.
- Corrected snackbar close button functionality in App.vue to ensure proper behavior.
- RegistryView now sends mock data for 'cidade', 'estado', 'discord', and 'linkedin' to the backend, ensuring correct user registration.
…ror messages and clear localStorage on logout
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.

[512 - Substituir menu horizontal por menu vertical] - Cria menu vertical e substitui o horizontal
1 participant