Skip to content

Conversation

@anderson4j
Copy link
Collaborator

@anderson4j anderson4j commented Jan 9, 2026

Adds aliases to connection pane like:
image
In response to https://neo4j.slack.com/archives/C02TG83V9GT/p1765463076419729

Closes LS-85

@changeset-bot
Copy link

changeset-bot bot commented Jan 9, 2026

⚠️ No Changeset found

Latest commit: 3d46102

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

CALL db.propertyKeys() YIELD propertyKey
RETURN COLLECT(propertyKey)[..${ITEM_LIMIT}] AS result`;

const resultTransformer = resultTransformers.mappedResultTransformer({
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

This old method was deprecated with drop-in replacement mapped

const dbs: Database[] = Object.values(logicalDatabases);

return {
databases: databases.filter((x) => x?.writer === true),
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

This was my old attempt to de-duplicate dbs, which was flawed. I was under the assumption that there would always be a single writer, but though there are not multiple, sometimes there are none, see: https://neo4j.com/docs/operations-manual/current/clustering/setup/routing/#clustering-client-side-routing

This new approach is pretty much a copy-paste from @nx-import in upx. Maybe we should export it from here and import there to avoid duplication?

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