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

Block "Generate URN Mapping" Button During Indexing #2491

Closed
3 tasks
VitaliyBoyko opened this issue Feb 16, 2025 · 1 comment · Fixed by #2499
Closed
3 tasks

Block "Generate URN Mapping" Button During Indexing #2491

VitaliyBoyko opened this issue Feb 16, 2025 · 1 comment · Fixed by #2499
Labels
Easy good first issue Priority: P3 May be fixed according to the position in the backlog

Comments

@VitaliyBoyko
Copy link
Contributor

VitaliyBoyko commented Feb 16, 2025

Update the existing "Generate URN Mapping" button to remain disabled while the IDE is indexing and automatically re-enable it once indexing is complete.

See com.magento.idea.magento2plugin.project.SettingsForm#createComponent

Requirements

  1. Use IntelliJ's indexing state (e.g., DumbService) to detect when indexing is in progress.
  2. Dynamically enable/disable the button based on the indexing state.

Acceptance Criteria

  • Button is disabled during indexing.
  • Button becomes enabled automatically after indexing is complete.
  • Uses com.intellij.psi.search.FilenameIndex once indexing is finished.
@VitaliyBoyko VitaliyBoyko added Easy good first issue Priority: P3 May be fixed according to the position in the backlog labels Feb 16, 2025
Copy link

m2-assistant bot commented Feb 16, 2025

Hi @VitaliyBoyko. Thank you for your report.
To speed up processing of this issue, make sure that you provided sufficient information.
Add a comment to assign the issue: @magento I am working on this


Join Magento Community Engineering Slack and ask your questions in #github channel.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Easy good first issue Priority: P3 May be fixed according to the position in the backlog
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant