Commit Graph
14 Commits
Author SHA1 Message Date
xixu-me 6193723a7f Remove search results limit in ServicesManager
Eliminated the restriction that limited displayed search results to 10 items, allowing all matching services to be shown. This change may impact performance with large result sets.
2025-07-19 15:15:06 +08:00
xixu-me f49f5fc9ad Remove unused CIDR rule sets and providers
Deleted references to telegramcidr, xcidr, googlecidr, and cloudflarecidr rule sets and their providers from the rules and ruleProviders arrays, likely to clean up unused or deprecated configuration.
2025-07-14 17:05:14 +08:00
xixu-me 157c1d40d5 Refactor service drag-and-drop to use SortableJS
Replaces custom drag-and-drop logic in ServicesManager with SortableJS for improved reliability and cross-browser support. Updates UI to use a dedicated drag handle, removes legacy drag styles, and adds new CSS for SortableJS integration. Also removes redundant version comments from source files.
2025-07-14 16:40:26 +08:00
xixu-me 56298322ba Enhance drag-and-drop UI for service reordering
Improves the drag-and-drop experience in ServicesManager by adding smooth animations, placeholder transitions, and mouse-following effects. Updates CSS for more visually appealing drag states, including animated placeholders, improved shadows, and transitions for service items during reordering.
2025-07-14 15:06:06 +08:00
xixu-me 3d415ad92b Remove opacity and rotation from dragging styles
Eliminated the opacity and transform rotation effects from .dragging .selected-service-item and .selected-service-item.dragging classes to simplify drag-and-drop visual feedback.
2025-07-14 14:29:46 +08:00
xixu-me 97fc60360b Add drag-and-drop reordering for selected services
Implements drag-and-drop functionality to reorder selected services in ServicesManager.js, including state management and event handlers. Updates main.css with styles for dragging, placeholders, and drag handles to enhance the user experience.
2025-07-14 14:14:39 +08:00
xixu-me 000ec07851 Simplify ServiceConfigGenerator logic
Refactored ServiceConfigGenerator to remove favicon detection, special domain handling, and complex parsing. All services now generate uniform configurations with only 'name' and 'tld: "com"'.
2025-07-14 14:06:54 +08:00
xixu-me 24ea47c836 Improve output display and add disabled button styles
Refactored OutputManager to better handle output display logic and ensure the current output is stored for copy/download actions. Added comprehensive CSS styles for disabled buttons, including support for dark theme, to enhance UI feedback and accessibility.
2025-07-14 14:02:41 +08:00
xixu-me 5172f158d6 Fix indentation for services placeholder
Removed unnecessary indentation for the SERVICES_PLACEHOLDER comment in the services array to improve code consistency.
2025-07-14 13:39:07 +08:00
xixu-me 755b333dc1 Refactor output handling and clipboard/download logic
Introduces a currentOutput property to store generated output, simplifying copy and download operations. Updates output display logic to toggle visibility based on content, and refactors clipboard and file download methods to use currentOutput directly.
2025-07-14 13:35:32 +08:00
xixu-me 64fb2fc297 Refactor: use 'app' instead of 'application'
Updated terminology in README and app.js to use 'app' instead of 'application' for consistency and brevity across documentation and code comments.
2025-07-14 12:40:36 +08:00
xixu-me 7f84415aaa Refactor app to modular ES6 components
Migrates the main application logic from a monolithic script to a modular, component-based architecture using ES6 modules. Adds ThemeManager, ServicesManager, ServiceConfigGenerator, and OutputManager components for improved maintainability and scalability. Updates index.html to use the new entry point and enhances accessibility and UI structure. Removes legacy main.js.
2025-07-14 12:39:21 +08:00
xixu-me 68e8dd407b Update documentation and code comments for clarity
Simplified and modernized README.md by removing redundant sections, updating terminology, and clarifying configuration logic. Updated code comments in main.js and meta-template.js to use 'app' instead of 'application' for consistency and brevity.
2025-07-14 12:06:32 +08:00
xixu-me 8c93cc0e9e Refactor project structure and update documentation
Moved scripts, styles, and templates into the src/ directory for better organization. Updated index.html to reference new file paths. Enhanced README.md with detailed usage, architecture, accessibility, and contribution guidelines. Added documentation headers to main.js, main.css, and meta-template.js for clarity and maintainability.
2025-07-14 11:59:46 +08:00