Skip to content

Conversation

@nipsysdev
Copy link
Owner

No description provided.

@nipsysdev nipsysdev self-assigned this Sep 5, 2025
Copilot AI review requested due to automatic review settings September 5, 2025 14:20
@nipsysdev nipsysdev added the enhancement New feature or request label Sep 5, 2025
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR simplifies the terminal prompt display by removing complex CID (Content Identifier) truncation logic for IPFS hosts and instead simply removes the first subdomain from IPFS/IPNS hosts.

  • Removes CID truncation constants and complex host shortening logic
  • Updates host display to simply remove the first subdomain for IPFS/IPNS hosts
  • Updates all test cases to reflect the new simplified behavior

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
src/components/terminal/TerminalPrompt.tsx Simplifies getDisplayHost method by removing CID truncation logic and constants
src/components/terminal/tests/TerminalPrompt.test.tsx Updates test cases to match new host display behavior and removes complex test assertions

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@nipsysdev nipsysdev merged commit 3ee396e into main Sep 5, 2025
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants