Dashicons - Custom Icons for Custom Blocks#460
Conversation
Custom Block Category Icons Issue #409
|
Warning CodeRabbit GitHub Action detectedThe repository is using both CodeRabbit Pro and CodeRabbit Open Source (via GitHub Actions), which is not recommended as it may lead to duplicate comments and extra noise. Please remove the CodeRabbit GitHub Action. Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
Documentation and Community
|
WalkthroughThis update introduces and refreshes the icons for various custom blocks in the Tour Operator plugin. The changes are purely aesthetic, enhancing the visual representation of the blocks within the editor interface. Hardcoded image URLs have been updated to use plugin asset links, improving maintainability. Changes
Uplevel your code reviews with CodeRabbit ProCodeRabbit ProIf you like this project, please support us by purchasing the Pro version. The Pro version has advanced context, superior noise reduction and several proprietary improvements compared to the open source version. Moreover, CodeRabbit Pro is free for open source projects. |
There was a problem hiding this comment.
Files selected (4)
- assets/js/blocks/destination.js (12)
- assets/js/blocks/general.js (6)
- assets/js/blocks/query-loops.js (14)
- assets/js/blocks/tour.js (19)
Files ignored due to filter (15)
- assets/img/blocks/Typelocation-icon.png
- assets/img/blocks/accommodation-rooms-icon.png
- assets/img/blocks/accommodation-type.png
- assets/img/blocks/booking-validity.svg
- assets/img/blocks/check-in-check-out-time.svg
- assets/img/blocks/duration.png
- assets/img/blocks/friendly-TO-icon.png
- assets/img/blocks/group-size.svg
- assets/img/blocks/map-TO-icon.png
- assets/img/blocks/minimum-child-age-icon.svg
- assets/img/blocks/rating-icon-TO.png
- assets/img/blocks/single-supplement-icon.svg
- assets/img/blocks/special-interests-icon.svg
- assets/img/blocks/spoken-languages.png
- assets/img/blocks/wetu-map-figme-prototype-image.png
Files skipped from review due to trivial changes (3)
- assets/js/blocks/destination.js
- assets/js/blocks/general.js
- assets/js/blocks/tour.js
Review comments generated (14)
- Review: 0
- LGTM: 14
Tips
Chat with
CodeRabbit Bot (@coderabbitai)
- Reply on review comments left by this bot to ask follow-up questions. A review comment is a comment on a diff or a file.
- Invite the bot into a review comment chain by tagging
@coderabbitaiin a reply.
Code suggestions
- The bot may make code suggestions, but please review them carefully before committing since the line number ranges may be misaligned.
- You can edit the comment made by the bot and manually tweak the suggestion if it is slightly off.
Pausing incremental reviews
- Add
@coderabbitai: ignoreanywhere in the PR description to pause further reviews from the bot.
There was a problem hiding this comment.
Files selected (1)
- assets/js/blocks/accommodation.js (23)
Files skipped from review due to trivial changes (1)
- assets/js/blocks/accommodation.js
Review comments generated (0)
- Review: 0
- LGTM: 0
Tips
Chat with
CodeRabbit Bot (@coderabbitai)
- Reply on review comments left by this bot to ask follow-up questions. A review comment is a comment on a diff or a file.
- Invite the bot into a review comment chain by tagging
@coderabbitaiin a reply.
Code suggestions
- The bot may make code suggestions, but please review them carefully before committing since the line number ranges may be misaligned.
- You can edit the comment made by the bot and manually tweak the suggestion if it is slightly off.
Pausing incremental reviews
- Add
@coderabbitai: ignoreanywhere in the PR description to pause further reviews from the bot.
Dashicons - Custom Icons for Custom Blocks
This PR addresses the changes described in Issue #409. The following updates have been implemented:
Commit 1: 35f2511
Assigned Dashicons to Editor Views to differentiate the different Tour Operator Custom Icons for Custom Blocks created.
Commit 2: f384375
Identified hard-coded Image URLs for front-end icons, replaced and updated with the same icons linked to Tour Operator plugin Assets.
These changes were made to address the issues outlined in the linked GitHub issue. Please review the updates and provide feedback or approve the changes.
Close #409
Summary by CodeRabbit