Skip to content

fix(configurator): add missing includeTest and includeBots to dependency arrays#91

Merged
derpyspike merged 1 commit into
meshtastic-es-community:mainfrom
ricardosacristan:fix/configurator-share-url-dependencies
Jun 6, 2026
Merged

fix(configurator): add missing includeTest and includeBots to dependency arrays#91
derpyspike merged 1 commit into
meshtastic-es-community:mainfrom
ricardosacristan:fix/configurator-share-url-dependencies

Conversation

@ricardosacristan

Copy link
Copy Markdown
Contributor

Motivation

When using the Configuration Generator and checking the "Test" or "Bots" checkboxes, the QR code and internal config were updated correctly. But if you clicked "Share configuration", the copied URL didn't reflect those two channels. The browser address bar had the same issue, it wouldn't update when toggling Test or Bots.

So if you shared that URL with someone, they'd get a different configuration than what you had on screen.

image

Fix

The useMemo that generates the shareable URL and the useEffect that syncs the browser address bar both had includeTest and includeBots missing from their dependency arrays. Just added them.

@ricardosacristan
ricardosacristan requested a review from a team as a code owner June 5, 2026 17:38

@derpyspike derpyspike left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Gracias😀

@derpyspike
derpyspike merged commit e5969bb into meshtastic-es-community:main Jun 6, 2026
1 check 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.

2 participants