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(slash): fix console warning when using Infos component when id is not provided #746

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

Conversation

pplancq
Copy link
Contributor

@pplancq pplancq commented Jan 14, 2025

close #648

In order to fix the warning I propose to set up a basic id generator.
This generator generates a unique id for each ref of a js object thanks to the WeakMap

@pplancq pplancq added bug Something isn't working agent-slash Component for the agent theme labels Jan 14, 2025
@pplancq pplancq self-assigned this Jan 14, 2025
Copy link

Quality Gate Failed Quality Gate failed

Failed conditions
32.3% Coverage on New Code (required ≥ 80%)
7.7% Duplication on New Code (required ≤ 3%)
C Reliability Rating on New Code (required ≥ A)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
agent-slash Component for the agent theme bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Slash - Infos console warning
2 participants