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

fix(youtrack): Fix YouTrack integration for single issue pages #2330

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

pkvach
Copy link
Contributor

@pkvach pkvach commented Sep 16, 2024

🌟 What does this PR do?

Fix YouTrack integration for single issue pages: #2319

  • Updated selector for reporter info to be more generic (span element was changed to div on YouTrack).
  • Modified issue ID selector to target the anchor element directly (span element was removed on YouTrack).
  • Removed unnecessary console.log statement.

Demo after fix

2024-09-23_23-23

🐛 Recommendations for testing

All changes should be tested across Chrome and Firefox.

The Toggl button should be tested on the YouTrack issue page.
I tested the fix on the public JetBrains YouTrack: https://youtrack.jetbrains.com/issues

How to Test

  1. Navigate to a single issue page in YouTrack.
  2. Verify that the Toggl Button appears and functions correctly.
  3. Ensure that the issue ID and description are correctly captured and displayed.

📝 Links to relevant issues or information

Closes #2319

@pkvach pkvach changed the title fix(youtrack): Fix YouTrack issue element selectors fix(youtrack): Fix YouTrack integration for single issue pages Sep 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Chrome extension doesn't includes task number in time entry description
1 participant