Commit Graph
479 Commits
Author SHA1 Message Date
MiraclePatrickLumowa cbfd0e17e4 Delete .gitignore 2025-09-08 03:19:13 +08:00
MiraclePatrickLumowa c5460faa3c Delete AccountSwapper directory 2025-09-08 03:18:52 +08:00
MiraclePatrickLumowa 91878fb0e0 Delete .github directory 2025-09-08 03:18:42 +08:00
MiraclePatrickLumowa 737ddd526c Update README.md 2025-09-05 16:05:33 +08:00
MiraclePatrickLumowa f16e75a21b Update README.md 2025-09-05 16:04:38 +08:00
MiraclePatrickLumowa fea79c7c1a Revise Auto-Farm JavaScript code in README 2025-09-05 02:49:32 +08:00
MiraclePatrickLumowa 1b7f0a116e Update demonstration image in README 2025-09-02 19:46:01 +08:00
MiraclePatrickLumowa 4f1b876d26 Update README.md 2025-09-02 19:38:44 +08:00
Sophie Calixto b8bc4d8f2f Update README.md 2025-09-02 03:57:55 -03:00
MiraclePatrickLumowa c1e4a70313 Merge pull request #126 from Wplace-AutoBot/Dev
Field input stufff + Some fixes
2025-09-02 14:37:22 +08:00
MiraclePatrickLumowa 4aaca50caa Merge pull request #125 from Patricklumowa/Dev
Increase min-width for neon theme elements
2025-09-02 14:32:25 +08:00
MiraclePatrickLumowa 1648cc7b60 Increase min-width for neon theme elements
Updated min-width for neon theme components.
2025-09-02 14:31:48 +08:00
MiraclePatrickLumowa b71ed4fba6 Merge pull request #124 from Patricklumowa/Dev
field input stuff
2025-09-02 14:21:38 +08:00
MiraclePatrickLumowa 9b13e3da78 small update 2025-09-02 14:18:17 +08:00
MiraclePatrickLumowa a9d4d13a13 small update 2025-09-02 14:17:38 +08:00
MiraclePatrickLumowa ad8d06926d small update 2025-09-02 14:17:16 +08:00
MiraclePatrickLumowa 6fe217d4a5 Small update 2025-09-02 14:16:22 +08:00
MiraclePatrickLumowa 8575d79db2 small update 2025-09-02 14:04:09 +08:00
MiraclePatrickLumowa d5ff195bbd Merge pull request #116 from Patricklumowa/Dev
added field input on cooldown and speed controls with
2025-09-02 13:58:43 +08:00
MiraclePatrickLumowa 6631f29ab2 small update 2025-09-02 13:58:05 +08:00
MiraclePatrickLumowa bb4e5600ef small update 2025-09-02 13:57:36 +08:00
MiraclePatrickLumowa 3cf475df71 small update 2025-09-02 13:57:16 +08:00
MiraclePatrickLumowa 9fe3164bbb small update 2025-09-02 13:56:56 +08:00
maiminhdung d3e33bc283 Merge pull request #118 from dnrovs/main
fix: ukrainian locale corrections
2025-09-02 10:21:11 +07:00
dnrovs 38e613a4a5 fix: ukrainian locale corrections 2025-09-01 23:31:36 +03:00
dnrovs 4739d2b4d4 fix: ukrainian locale corrections 2025-09-01 23:09:20 +03:00
MiraclePatrickLumowa 921a7b93b5 added field input on cooldown and speed controls with 2025-09-02 03:24:44 +08:00
jamz-uk 8afc71e297 Merge pull request #112 from Texaliuz/patch-2
Create README-ES.md
2025-09-01 21:33:24 +04:00
MiraclePatrickLumowa 57d30fb8f0 quick revert 2025-09-02 01:13:49 +08:00
MiraclePatrickLumowa f14bdad9ab . 2025-09-02 01:11:22 +08:00
MiraclePatrickLumowa 523b0e69c4 Rename cd.yml to .temporary.yml 2025-09-02 01:06:35 +08:00
MiraclePatrickLumowa 59a9f04ba8 input fields for speed and cooldown 2025-09-02 01:03:47 +08:00
MiraclePatrickLumowa f0db612c62 Quick fix 2025-09-02 00:42:26 +08:00
MiraclePatrickLumowa 960818759f Quick fix 2025-09-02 00:34:03 +08:00
MiraclePatrickLumowa 25ac86f482 Quick fix 2025-09-02 00:31:25 +08:00
Texaliuz 8040f14c94 Create README-ES.md 2025-09-01 12:26:05 -03:00
MiraclePatrickLumowa c9cb106b2e Merge pull request #110 from AzpektDev/main
fixed the comments and minor things
2025-09-01 23:04:21 +08:00
AzpektDev 8ed92a2e54 fixed the comments and minor things
the commit a134ba4 has broken some things in the code - this is a full revert. part revert was done @ 1b46b8b
2025-09-01 16:06:00 +02:00
MiraclePatrickLumowa 1b46b8be7c Quick revert 2025-09-01 22:00:46 +08:00
jamz-uk a134ba4496 disable painting speed enable 2025-09-01 14:18:11 +01:00
jamz-uk 52e6d3c832 Merge pull request #96 from skalsech/feat-external-lang
Refactor UI, introduce new coordinate modes, and improve performance
2025-09-01 16:36:20 +04:00
kyuketski 0d76323a26 fix(ui): correct charge stats updating
* Ensure `updateChargeStatsDisplay` reliably updates charges and full charge display.
* Fix interval handling: clear previous intervals and reset variable to `null`.
* Inline full charge display logic, defaulting to `--:--:--` when not available.

Benefits:

* Charge stats now update consistently without missing ticks.
* Interval management is safer, preventing multiple overlapping timers.

Note:

* Full stats partial update logic is now fully integrated; previous issue of UI flicker or missed updates is resolved.
2025-09-01 15:22:04 +03:00
kyuketski 4443401da6 refactor(ui): replace currentCharges with displayCharges and preciseCurrentCharges
- Replace `currentCharges` with `displayCharges` for UI representation.
- Introduce `preciseCurrentCharges` to track fractional charge values.
- Update logic in `resetEdgeTracking`, `maybeNotifyChargesReached`, and related functions to use `displayCharges`.
- Modify `updateFullChargeDisplay` to calculate and use `preciseCurrentCharges` and `displayCharges`.
- Refactor `getRemainingMsToThreshold` into `getMsToTargetCharges` for clarity and precision.
- Replace `startChargesThresholdTicker` and `updateChargesThresholdUI` with a unified `updateChargesThresholdUI` function.
- Update HTML templates and dynamic UI updates to reflect `displayCharges`.

Benefits:
- Improves accuracy by distinguishing between displayed and precise charge values.
- Simplifies charge-related logic and reduces redundant calculations.
- Enhances readability and maintainability of charge tracking and UI updates.

Note:
- Ensure all dependent modules correctly handle the new `displayCharges` and `preciseCurrentCharges` fields.
2025-09-01 14:26:14 +03:00
kyuketski 6f1690d35a refactor(api): optimize charge update logic to reduce unnecessary API calls
- Introduce conditions to determine whether to call the API based on forced refresh, first check, or elapsed time.
- Add randomization for update intervals between 60s and 90s to stagger API requests.
- Preserve existing behavior of updating charges, cooldown, and max charges when API is called.
- Clear and reset the interval for `updateFullChargeDisplay` only when necessary.

Benefits:
- Reduces server load by avoiding frequent unnecessary API calls.
- Improves efficiency by introducing randomized update intervals.
- Maintains backward compatibility with existing functionality.

Note:
- Ensure `WPlaceService.getCharges()` continues to return valid data under new conditions.
2025-09-01 14:11:26 +03:00
kyuketski 0ad854d92f fix(ui): ensure number inputs are visible in light theme
- Replace `wplace-random-batch-input` and `wplace-block-size-input` classes with `wplace-settings-number-input`.
- Update CSS to consolidate styles under `wplace-settings-number-input`.
- Refactor theme variables for background and border colors to use explicit hex values, fixing visibility issue in light theme.
- Remove redundant `.wplace-block-size-input` styles.

Benefits:
- Number inputs are now correctly visible in all themes, including light.
- Reduces duplication in CSS by consolidating input styles.
- Improves consistency across input elements in the UI.
- Enhances clarity of theme variable usage with explicit naming.

Note:
- Ensure all components previously using `wplace-random-batch-input` or `wplace-block-size-input` are tested for visual consistency.
2025-09-01 14:11:26 +03:00
kyuketski f0b4a190b9 fix(ui): prevent duplicate link creation in head
- Replace manual creation of multiple `<link>` elements with `appendLinkOnce` function.
- Add a utility function `appendLinkOnce` to ensure stylesheets are not added multiple times.
- Use `appendLinkOnce` for Font Awesome, Google Fonts, and external CSS links.
- Pass additional attributes (e.g., `data-*`) as an optional parameter to `appendLinkOnce`.

Benefits:
- Prevents potential issues caused by duplicate stylesheets.
- Reduces code duplication for creating and appending `<link>` elements.
- Improves maintainability and readability of the code.

Note:
- All future `<link>` additions should use `appendLinkOnce` to avoid similar bugs.
2025-09-01 14:11:26 +03:00
kyuketski 582e38d93a fix(ui): enable theme variable and fix select styling
- Activate CSS variable settings for theming in `Auto-Image.js`.
- Update dropdown class from `wplace-selector` to `wplace-settings-select`.
- Remove inline styles from the "Apply Settings" button.
- Delete obsolete `.wplace-selector` CSS rules from `auto-image-styles.css`.

Benefits:
- Ensures consistent theming across components.
- Simplifies styling management.
- Improves maintainability by removing inline styles.

Note:
- Update dependent components to use the new `wplace-settings-select` class.
2025-09-01 14:11:26 +03:00
kyuketski d408460903 style(theme): standardize and optimize CSS styling across themes
- Replace CamelCase animation names with kebab-case (e.g., `slideIn` → `slide-in`).
- Update theme class names to remove double hyphens (e.g., `wp-place-theme--classic` → `wp-place-theme-classic`).
- Standardize color syntax to use modern `rgb()` format with percentage-based alpha values.
- Replace long-form hex colors with shorthand where applicable (e.g., `#ffffff` → `#fff`).
- Simplify redundant or theme-specific styles and consolidate them into single rules.
- Modularize theme-specific styling comments and ensure consistent naming conventions.
- Refactor media queries, gradients, and keyframe animations for improved readability and performance.
- Add missing button hover styles and subtle text shadow for improved contrast.
- Introduce pixel-blinking animation and neon glow effects for the neon theme.
- Optimize slider, shadow, and text variants for consistency and maintainability.

Benefits:
- Improves consistency and readability across CSS and JavaScript files.
- Enhances maintainability by modularizing theme-specific styles and adopting modern syntax.
- Reduces redundancy and file size by eliminating unused or repetitive rules.
- Aligns with modern CSS standards for better compatibility and performance.

Note:
- Ensure all theme files are updated in the `feat-external-lang` branch to avoid broken imports.
- Verify browser compatibility for `rgb` with alpha values and RGB hex alpha syntax if targeting older environments.
- Test for unintended visual changes due to removed CSS variables or consolidated rules.
2025-09-01 14:11:26 +03:00
kyuketski cbb6f63b9d refactor(ui): restructure pixel filter controls and improve descriptions
- Replace old notification toggle structure with a new settings toggle structure for pixel filters.
- Add detailed descriptions for each pixel filter option (white, transparent, unavailable).
- Standardize the styling of toggle titles and descriptions using theme-based colors.
- Introduce a flexbox layout for pixel filter controls to improve spacing and alignment.
- Update language file keys and values for clarity and consistency.
- Add console logs and user alerts for toggle state changes to enhance feedback.
- Ensure toggle states are synchronized with the application state on initialization.

Benefits:
- Improves usability by providing clear descriptions for each option.
- Enhances visual consistency with theme-based styling.
- Simplifies maintenance with a unified toggle structure.

Note:
- Ensure all themes define `text` and `highlight` properties to avoid fallback styling issues.
2025-09-01 14:11:25 +03:00
kyuketski e919bb3867 refactor(painting): improve dynamic sleep and painting flow logic
- Replace `dynamicSleep` implementation with adaptive interval logic.
- Simplify error handling and button state management in `startPainting`.
- Update charges threshold logic to use `dynamicSleep` with inline checks.
- Add early exit for overlay tiles not loaded scenario.

Benefits:
- Reduces unnecessary polling by dynamically adjusting sleep intervals.
- Improves clarity and maintainability of painting flow.
- Ensures proper UI state updates based on stop flag and thresholds.
2025-09-01 14:11:25 +03:00