Skip to content

Implement favicon resolver and associated tests for desktop mode#139

Merged
AllTerrainDeveloper merged 1 commit into
trunkfrom
feat-new-url-icon
May 10, 2026
Merged

Implement favicon resolver and associated tests for desktop mode#139
AllTerrainDeveloper merged 1 commit into
trunkfrom
feat-new-url-icon

Conversation

@AllTerrainDeveloper
Copy link
Copy Markdown
Collaborator

@AllTerrainDeveloper AllTerrainDeveloper commented May 10, 2026

  • Added desktop_mode_resolve_favicon function to resolve favicons from URLs, including handling various HTML link tags and fallback mechanisms.
  • Introduced a new PHP file favicon.php for favicon resolution logic.
  • Created unit tests for the favicon resolver in desktopFilesFavicon.php, covering various scenarios including successful resolution, fallback cases, and error handling.
  • Updated the wallpaper menu tests to include a new URL creation option and its corresponding functionality.
  • Added Vitest tests for tile rendering and icon handling, ensuring correct rendering of data URIs and fallback behaviors.
  • Implemented REST API tests for link placements, verifying that the favicon resolver integrates correctly with the placement creation process.
Open WordPress Playground Preview
- Added `desktop_mode_resolve_favicon` function to resolve favicons from URLs, including handling various HTML link tags and fallback mechanisms.
- Introduced a new PHP file `favicon.php` for favicon resolution logic.
- Created unit tests for the favicon resolver in `desktopFilesFavicon.php`, covering various scenarios including successful resolution, fallback cases, and error handling.
- Updated the wallpaper menu tests to include a new URL creation option and its corresponding functionality.
- Added Vitest tests for tile rendering and icon handling, ensuring correct rendering of data URIs and fallback behaviors.
- Implemented REST API tests for link placements, verifying that the favicon resolver integrates correctly with the placement creation process.
@github-actions
Copy link
Copy Markdown
Contributor

✅ WordPress Plugin Check Report

✅ Status: Passed

📊 Report

All checks passed! No errors or warnings found.


🤖 Generated by WordPress Plugin Check Action • Learn more about Plugin Check

@AllTerrainDeveloper AllTerrainDeveloper merged commit 8bcc7ce into trunk May 10, 2026
5 checks passed
@AllTerrainDeveloper AllTerrainDeveloper deleted the feat-new-url-icon branch May 10, 2026 22:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant