Skip to content

Feat/resolved api base url#206

Merged
mikewheeleer merged 6 commits into
Agentpay-Org:mainfrom
Unclebaffa:feat/resolved-API-base-URL
Jun 29, 2026
Merged

Feat/resolved api base url#206
mikewheeleer merged 6 commits into
Agentpay-Org:mainfrom
Unclebaffa:feat/resolved-API-base-URL

Conversation

@Unclebaffa

Copy link
Copy Markdown
Contributor

Summary of Accomplishments

  1. Surfaced Connection Section: Surfaced the resolved API base URL server-side on the Settings page using resolveApiBase() inside a new <section> component containing a KeyValueGrid row with a client-side CopyButton.

  2. Added Messaging Copy: Updated the global translation/message catalog in src/lib/messages.ts with Connection section descriptions.

  3. Comprehensive Test Suite:

    • Added unit tests in src/app/settings/page.test.tsx checking default values, environment overrides, copying functionality, and aria-live announcements, achieving 100% test coverage for the settings page.
    • Fixed pre-existing issues in src/components/__tests__/Header.test.tsx causing responsive navigation menu tests to fail due to closed mobile menu links.
  4. Updated Documentation: Described the Connection section and its parameters in README.md.

  5. Multi-Commit Sequence: Committed all changes in 5 logical, sequential commits.

  6. Verification: Executed linting, type-checking, and the full test suite successfully.

For a detailed review of all changes, please refer to the walkthrough and the task list.

Closes #142

@mikewheeleer

Copy link
Copy Markdown
Contributor

clean diff — merging this 🙌

@mikewheeleer mikewheeleer merged commit fc91c48 into Agentpay-Org:main Jun 29, 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.

Add a Settings page section to view and override the configured API base URL

2 participants