Skip to content

[Bug]: The letter ʼn splits a word in the generated project folder name #38642

Closed

Description

@StiensWout

Before submitting

  • I searched existing issues and did not find a duplicate.
  • I included enough detail to reproduce or investigate the problem.

Area

packages/contracts or packages/shared

Steps to reproduce

  1. Open T3 Code in a browser connected to an environment.
  2. Click Add project.
  3. Choose New project.
  4. Enter Aʼna as the project name.
  5. Read the folder path shown below the name.

Expected behavior

The folder name is ana, keeping the letters together.

Actual behavior

The folder name is a-na, with a hyphen inserted inside the word.

generated project folder

failure

Impact

Minor bug or occasional failure. Anyone who uses ʼn inside a word in a new project name gets an extra hyphen in the generated folder name.

Version or commit

main at 8cf97b5f06. The cause is at packages/shared/src/path.ts:70.

Environment

Linux x64 boat.dev default machine, a fresh checkout.

Logs or stack traces

a-na
Automated repro

Fails in 2 of 2 runs on main: apply the patch with git apply, then run the command.

diff --git a/scripts/scenarios/new-project-keeps-latin-letter-in-word.e2e.ts b/scripts/scenarios/new-project-keeps-latin-letter-in-word.e2e.ts
new file mode 100644
index 0000000000..4d2d60823c
--- /dev/null
+++ b/scripts/scenarios/new-project-keeps-latin-letter-in-word.e2e.ts
@@ -0,0 +1,22 @@
+import { expect } from "e2e";
+
+import { test, WEB } from "./t3.ts";
+
+test(
+  "A Latin letter inside a new project name stays in the same folder name word",
+  WEB,
+  async ({ t3, app, screen }) => {
+    const project = await t3.project("demo");
+    const thread = await t3.thread({ project, title: "Project setup", messages: ["Start"] });
+    await t3.open(thread);
+
+    await screen.getByRole("button", "Add project").tap();
+    await screen.getByText("New project", { exact: true }).tap();
+    await screen.getByRole("combobox").fill("Aʼna");
+    const path = screen.getByText(/^Creates /);
+    await path.waitFor();
+
+    await app.screenshot("generated-project-folder");
+    await expect(path).toHaveText(/[/\\]ana$/);
+  },
+);
pnpm scenarios:prove scripts/scenarios/new-project-keeps-latin-letter-in-word.e2e.ts --base main

Workaround

No response

Activity

  1. added
    vouch:trusted
    on Nov 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    vouch:trusted

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions