-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomershacktoberfest
Description
The src/utils/auth.js module needs an overhaul to improve developer experience, maintainability, and user feedback.
This issue covers a refactor to:
- Add expressive, emoji-based console logs for all API and auth flows (login, logout, registration, API calls, user management, etc.).
- Extend error handling with more descriptive, poetic messages for both success and failure states.
- Refactor and modularize all API helper methods for faculty, students, inquiries, and users, including clear logging for each operation.
- Improve code clarity with comments and structure for easier future expansion.
Goals:
- Make all authentication and API operations transparent in the dev console with meaningful, human-friendly logs.
- Ensure all errors and successes include both technical and poetic feedback for easier debugging and a more delightful DX.
- Reduce code duplication and enhance modularity in the API utility layer.
- Maintain full backwards compatibility for all consuming frontend components.
Acceptance Criteria:
- All key API/auth actions log emoji-rich, clear feedback to the developer console.
- Error messages are user-inspiring and actionable.
- Code passes linting and works as before.
- All methods are structured, modular, and ready for additional endpoints as Qonnect grows.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomershacktoberfest