- Introduced a new function to format match timestamps, enhancing the readability of match creation times.
- Updated the match controller to utilize the formatted time in the match details response, replacing the raw timestamp with a user-friendly string representation.
- Implemented logic to notify users when challenge scores are confirmed, prompting a refresh of match details.
- Updated the match controller to use sendToUser for sending challenge response notifications, improving notification handling.
- Added checks to ensure match details are only refreshed for the relevant match, enhancing data accuracy and user experience.
- Simplified data validation logic in the index.js file to handle cases where data is missing or incomplete.
- Updated the index.wxml file to provide a clearer message when no ranking data is available.
- Added a new method to normalize avatar URLs in the helper.js file, ensuring that default avatars are handled correctly across user and match controllers.
- Refactored user and match controllers to utilize the new avatar normalization method, enhancing consistency in avatar display.
- Implemented a check to hide the "Add as Ladder User" button for users already designated as ladder users in any store.
- Enhanced the user retrieval process to include a flag indicating whether a user is a ladder user, optimizing front-end rendering and reducing unnecessary actions.
- Added a new method to fetch the default store for users without a login, allowing them to browse store rankings.
- Updated the wxLogin function to streamline the login process for users with existing phone numbers, enabling direct token retrieval.
- Refactored various page components to utilize the new getDefaultStore method for better user experience when accessing store information.
- Enhanced error handling and data synchronization for user and store information across multiple pages.
- Implemented a new button to navigate to the store location from the order details.
- Added functionality to open the store's location in the map application or copy the address if location data is unavailable.
- Updated UI to include the navigation button conditionally based on store information availability.
- Enhanced styling for the navigation button to improve user experience.
- Updated user information retrieval to support store-specific points and ladder user data.
- Refactored store initialization logic to prioritize last selected store.
- Improved API endpoints for fetching matches and user data, ensuring compatibility with store context.
- Adjusted UI components to display store-related information consistently across various pages.
- Enhanced error handling and data fetching logic for better user experience.
- Adjusted import paths in various Element Plus component CSS files to ensure correct chunk loading.
- Updated metadata for dependencies in _metadata.json to reflect new file hashes and improve performance.
- Modified the order of results in the ladder admin controller to sort by ID instead of power score.
- Added new entries to .gitignore to exclude Vite cache, environment variable templates, and sensitive files.
- Modified user management routes to allow access for both super admins and store staff, enabling store staff to add users for their respective stores.
- Refactored dashboard navigation to include a function for routing with store context.
- Enhanced user form to display current store information for non-super admin users.
- Removed unnecessary "peer" flags from various dependencies in package-lock.json to streamline package management.
- Updated Vite dependencies and their corresponding metadata for improved performance and compatibility.
- Adjusted import paths in CSS files to reflect the correct directory structure.
- Deleted unused CSS files related to the "col" component to clean up the project.
- Change VITE_API_URL in .env from localhost:3000 to localhost:3001 for backend access.
- Update index.html to replace favicon with logo.png and ensure proper HTML structure.
- Add new dependencies for WangEditor in package.json and package-lock.json to support rich text editing features.
- Replace favicon.svg in admin panel with new brand logo design
- Add logo.png and logo.svg files to dedicated logo directory
- Update miniprogram with new logo assets (logo.png and logo.svg)
- Add README-UPLOAD.md documentation for miniprogram upload functionality
- Update miniprogram app.js and config.js for logo integration
- Update miniprogram user page (pages/user/index.js) to use new branding
- Update server upload route to handle new logo assets
- Add test-upload.js for upload functionality testing
- Update server .env configuration for asset handling
- Standardize brand visual identity across admin, miniprogram, and server platforms