Interface & Large Screen - Redesigned four switchable themes: Sky Blue, Misty Purple, Fresh Green, and Warm Gold Celebration, addressing issues of overly dark colors and excessive decorations in previous versions. - Removed the fixed year display; now supports customizing event titles, company names, and staff preview titles. - The name tags were changed to smaller vertical cards, displaying 24 people per page with automatic switching every 3 seconds; pausing and manual paging are supported. - The 3D sphere supports mouse dragging for rotation, scroll wheel zooming, and touchscreen swiping. - The prize list on the left can be collapsed or expanded, and the user’s choice is remembered by the browser. - Adjusted the mobile layout to improve text clarity and resolve page overflow issues. Settings & Navigation - The top-left corner now serves as the gear-shaped settings entry. - The settings page uses a left-side category menu: Basic Settings, UI Theme, Name List Import, Winners List, Prize Settings, Data Management, and Drawing Rules. - Fixed an issue where the back button in the lower-left corner was hard to click in shorter windows. - Both entries to return to the large screen within the settings page now navigate within the current page instead of opening new tabs. Drawing Rules & Results - Removed options for weight-based selection, targeted sampling, and repeated winning; the server now uses equal-probability, without-replacement sampling uniformly. - A participant cannot win more than once within the same round, across different rounds, or for different prizes. - The feature for re-drawing for absent participants was retained; previously winning participants are excluded from re-draws. - After all prizes are drawn, the bottom button changes to “View Drawing Results”, displaying aggregated information about winners, employee IDs, departments, prizes, and supporting Excel export. Name Lists & Data Management - Added an Excel template for name lists, retaining only four columns: employee ID, name, department, and photo URL; the weight column was removed. - Separate clear buttons were added for name list import, winners list, and prize settings. - A new “Data Management” section allows clearing all data related to the entire event. - Supports exporting winner results to Excel, personnel lists to Excel, and keeping a complete JSON archive. - Before clearing data, users receive explanations of the scope, a backup option, and a cancel function; if there are existing winning records, the association between personnel and prizes is preserved. - Data persistence is maintained so that results remain visible after refreshing, restarting, or accessing the app the next day. - After manual clearing, the interface stays blank, and restarting will not restore sample name lists or default prizes. - Fixed issues with large-screen display when name lists or prizes are empty. Performance, Packaging & Delivery - 3D cards now use WebGL2 instancing for rendering; a compatibility mode is automatically used if WebGL2 is unavailable. - Reduced continuous rendering and background animations; static name tag previews no longer trigger continuous 3D rendering. - Fixed installation errors caused by incorrect LPK localization configuration format. - The application name is standardized to “lottery”, and the package ID is “abby.lzcapp.lottery”. - The README file now includes details about the original project source, updated deployment instructions, and change logs. - Completed browser workflow testing, drawing rule validation, persistence after clearing and restart, and LPK static checks. - The code has been pushed to GitHub; the current version is 1.0.7.
Optimized: Previously, CSS3D cards and Canvas 2D were used for starfields; now, WebGL2 is used for batch rendering by default. This also reduces DOM updates, merges animation loops, and pauses rendering in the background.