Remote signers such as Amber truncate the client name in their saved-session list, and the space in Marco (host) is rendered as a literal + there. Production builds now introduce themselves as just Marco. The host suffix is kept for non-production builds, where distinguishing dev and self-hosted instances is useful.
The canonical url and the icon are still derived from the origin in both modes, so a session stays identifiable on the signer's approval screen.
buildNostrAppMetadata() reads import.meta.env.PROD (the same build flag app/config/environment.js already uses) and takes an optional { production } argument so both branches are covered by unit tests.
Tests: pnpm test (469 passing) and prettier/eslint on the changed files.
Remote signers such as Amber truncate the client name in their saved-session list, and the space in `Marco (host)` is rendered as a literal `+` there. Production builds now introduce themselves as just `Marco`. The host suffix is kept for non-production builds, where distinguishing dev and self-hosted instances is useful.
The canonical `url` and the icon are still derived from the origin in both modes, so a session stays identifiable on the signer's approval screen.
`buildNostrAppMetadata()` reads `import.meta.env.PROD` (the same build flag `app/config/environment.js` already uses) and takes an optional `{ production }` argument so both branches are covered by unit tests.
Tests: `pnpm test` (469 passing) and prettier/eslint on the changed files.
Remote signers truncate the app name in their connection list, and Amber turns the space in "Marco (host)" into a literal plus sign. Keep the host suffix only outside of production builds, where distinguishing dev and self-hosted instances is useful.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Remote signers such as Amber truncate the client name in their saved-session list, and the space in
Marco (host)is rendered as a literal+there. Production builds now introduce themselves as justMarco. The host suffix is kept for non-production builds, where distinguishing dev and self-hosted instances is useful.The canonical
urland the icon are still derived from the origin in both modes, so a session stays identifiable on the signer's approval screen.buildNostrAppMetadata()readsimport.meta.env.PROD(the same build flagapp/config/environment.jsalready uses) and takes an optional{ production }argument so both branches are covered by unit tests.Tests:
pnpm test(469 passing) and prettier/eslint on the changed files.