Skip to content

fix#114

Merged
veronika-tseleva-cleantalk merged 3 commits into
devfrom
hot-fix
Jun 8, 2026
Merged

fix#114
veronika-tseleva-cleantalk merged 3 commits into
devfrom
hot-fix

Conversation

@veronika-tseleva-cleantalk

Copy link
Copy Markdown
Contributor

No description provided.

Copilot AI review requested due to automatic review settings June 6, 2026 06:39

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adjusts DoBoard widget UI logic to better handle “system” users and to avoid marking spots as “lost” when viewing tasks that belong to a different page URL.

Changes:

  • Hide the logged-user name block for internal spotfix_ accounts.
  • Only treat a missing nodePath reference as “not relevant / lost link” when the task’s pageURL matches the current page.
  • Update the built dist/doboard-widget-bundle.js to reflect source changes.

Reviewed changes

Copilot reviewed 1 out of 4 changed files in this pull request and generated 3 comments.

File Description
js/src/widget.js Updates UI conditions for logged user display and “lost reference” detection.
dist/doboard-widget-bundle.js Bundled output updated to match the source logic changes.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread js/src/widget.js
Comment on lines +887 to 889
if(localStorage.getItem('spotfix_session_id') && !(localStorage.getItem('spotfix_email')?.includes('spotfix_'))) {
loggedUserNameBlock.style.display = 'flex';
} else loggedUserNameBlock.style.display = 'none';
Comment thread js/src/widget.js Outdated
Comment thread js/src/widget.js Outdated
@veronika-tseleva-cleantalk veronika-tseleva-cleantalk merged commit 5876697 into dev Jun 8, 2026
3 checks passed
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.

3 participants