Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

2496: Refactor file path logic and update Magento asset handling #2497

Conversation

vitaliyboykocontributor
Copy link
Contributor

Simplified file handling by introducing utility methods and reducing redundant checks. Added support for HTML files, clarified logic for determining Magento paths, and updated action text and descriptions to better reflect functionality. Enhanced maintainability and adherence to code standards with these changes.

Description (*)

Fixed Issues (if relevant)

  1. Fixes "Copy Path/Reference" does not show the preview value #2496

Questions or comments

Contribution checklist (*)

  • Pull request has a meaningful description of its purpose
  • All commits are accompanied by meaningful commit messages
  • All new or changed code is covered with integration/functional tests (if applicable)
  • All automated tests passed successfully (all builds are green)

Simplified file handling by introducing utility methods and reducing redundant checks. Added support for HTML files, clarified logic for determining Magento paths, and updated action text and descriptions to better reflect functionality. Enhanced maintainability and adherence to code standards with these changes.
Added details for the "Copy Path/Reference" issue fix alongside the existing compatibility update for PhpStorm/IntelliJ 2025.*. This keeps the changelog accurate and up-to-date.
VitaliyBoyko
VitaliyBoyko previously approved these changes Feb 22, 2025
Updated the method to return an empty string instead of the full path for non-Magento files, ensuring consistent behavior. This also handles exceptions more cleanly by aligning the return values.
@VitaliyBoyko VitaliyBoyko merged commit cb6e815 into magento:5.4.0-develop Feb 22, 2025
4 of 5 checks passed
@VitaliyBoyko VitaliyBoyko deleted the 2496-Copy-Path/Reference-does-not-show-the-preview-value branch February 22, 2025 18:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

Successfully merging this pull request may close these issues.

"Copy Path/Reference" does not show the preview value
3 participants