Commit Graph
22 Commits
Author SHA1 Message Date
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 cf2b3f05df Fix spacing in GitHub link text
Removed extra space before closing the GitHub repository link in index.html for improved formatting.
2025-07-14 13:43:32 +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 615c89d997 Update descriptions for related projects in README
Clarified the descriptions for the META and RFM related projects, updating 'META.js project' to 'META.js repository' and 'Rule sets and filters' to 'Rulesets'.
2025-07-14 12:01:26 +08:00
xixu-me a99023903d Remove badges from README header
Deleted license, stars, and forks badges from the top of the README for a cleaner appearance.
2025-07-14 12:00:07 +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
xixu-me d5b0eaba33 Add routing priority reminder to services section
Introduces a visual reminder in the services section explaining routing rule precedence. Includes new styles for the reminder component, with support for both light and dark themes.
2025-07-14 11:15:05 +08:00
xixu-me fc4bca0812 Remove auto theme toggle indicator styles
Deleted CSS for the auto theme toggle indicator. This cleans up unused or unnecessary styling related to the #theme-toggle element with 'Auto' in its title.
2025-07-14 10:55:35 +08:00
xixu-me 11fb5c1bd5 Remove name formatting heuristic in service mapping
Simplifies the service name assignment by removing the previous formatting logic, which replaced dashes and added spaces. Now, the raw file path (without the .mrs extension) is used directly as the service name.
2025-07-14 10:52:06 +08:00
xixu-me ba8f2f1cb3 Remove tip box from UI
Deleted the tip box element from index.html and its associated styles from style.css to simplify the interface and reduce visual clutter.
2025-07-14 09:32:19 +08:00
xixu-me 5e34aa92c1 Update meta tags and clarify README wording
Enhanced index.html with comprehensive meta tags for SEO and social sharing, including Open Graph and Twitter metadata. Updated README.md to clarify configuration terminology and rules for META.js generation.
2025-07-13 22:26:57 +08:00
xixu-me 1e0dafbda9 Initial commit: add META.js Customizer web app
Add CNAME for custom domain, README with project overview and instructions, main HTML, CSS, and JavaScript files for the META.js Customizer web app. Includes meta_template.js for configuration generation and script.js for interactive UI logic.
2025-07-13 22:07:38 +08:00
xixu-me e3b7c7ecbd Initial commit 2025-07-13 22:06:23 +08:00