This commit improves the model display interface with several enhancements: 1. Add model count badges to each category tab and dropdown menu item 2. Highlight active category with red badge and use grey for inactive ones 3. Optimize performance by caching category counts with useMemo 4. Standardize model tag rendering across components: - Replace direct Tag component with centralized renderModelTag function - Update renderModelTag to use stringToColor for consistent coloring - Remove redundant color calculations in LogsTable These changes improve the UI by providing users with visual cues about model distribution across categories while ensuring consistent styling throughout the application.
React Template
Basic Usages
# Runs the app in the development mode
npm start
# Builds the app for production to the `build` folder
npm run build
If you want to change the default server, please set REACT_APP_SERVER environment variables before build,
for example: REACT_APP_SERVER=http://your.domain.com.
Before you start editing, make sure your Actions on Save options have Optimize imports & Run Prettier enabled.