Skip to content

Feat/nav agent tools groups - #2

Merged
ninooooonin merged 3 commits into
mainfrom
feat/nav-agent-tools-groups
Nov 3, 2026
Merged

ninooooonin merged 3 commits into
mainfrom
feat/nav-agent-tools-groups

Conversation

@ninooooonin

Copy link
Copy Markdown
Collaborator

No description provided.

Copilot AI balanced review requested due to automatic review settings November 3, 2026 12:59
@netlify

netlify Bot commented Nov 3, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for amplify-bar ready!

Name Link
🔨 Latest commit 13dc457
🔍 Latest deploy log https://app.netlify.com/projects/amplify-bar/deploys/6ae9dab4ed76977c8fc3de8d
😎 Deploy Preview https://deploy-preview-2--amplify-bar.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@ninooooonin
ninooooonin merged commit ff9bb73 into main Nov 3, 2026
3 of 4 checks passed

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.

🟡 Changes recommended

The Amplitude effect submits unfinished group edits on every keystroke, creating unintended properties and intermediate memberships instead of applying drafts only through an explicit action.

1 open issue
What changed in this PR

Adds group-targeting controls and an agent callback tool to the dashboard’s SDK configuration panel.

Changes:

  • Persists group type, name, property, and value inputs and connects them to Amplitude group APIs.
  • Registers a client-side callback tool for agent invocation.
  • Selects the analytics staging endpoint using the active API environment.
File Description
src/​utils/​localStorage.js Adds storage keys and accessors for group settings.
src/​layout/​Dashboard/​Drawer/​DrawerContent/​NavCard.jsx Adds group controls, group API calls, callback registration, and corrected endpoint selection.

Review effort: Balanced

Comment on lines +126 to +129
if (groupType && groupName) {
amplitude.setGroup(groupType, groupName);
if (groupProperty) {
amplitude.groupIdentify(groupType, groupName, new amplitude.Identify().set(groupProperty, groupPropertyValue));
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