Repository navigation
Studio: say chats and projects are permanently deleted in delete dialogs - #16390
Merged
Merged
Conversation
shimmyshimmer
added a commit
to shimmyshimmer/unsloth-staging-4
that referenced
this pull request
Nov 1, 2026
shimmyshimmer
added a commit
to shimmyshimmer/unsloth-staging-4
that referenced
this pull request
Nov 1, 2026
shimmyshimmer
added a commit
to shimmyshimmer/unsloth-staging-4
that referenced
this pull request
Nov 1, 2026
Member
Author
|
@codex review |
Member
Author
|
@codex security review |
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
Codex Review: Didn't find any major issues. 🚀 Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
danielhanchen
added a commit
that referenced
this pull request
Nov 1, 2026
## Summary `tests/studio/test_en_catalog.py::test_the_shipped_catalog_resolves` fails on main since #16390 (`4726a1c1b8`, "say chats and projects are permanently deleted in delete dialogs"). It shows up in `workflow-trigger lint` on every PR based on current main, for example staging CI for #16112: ``` assert en_string("shell.dialog.deleteChat.description").endswith('"{name}"?') AssertionError: 'This permanently deletes "{name}" and its messages. This cannot be undone.'.endswith('"{name}"?') ``` #16390 reworded the dialog on purpose, from `Are you sure you want to delete this chat "{name}"?` to `This permanently deletes "{name}" and its messages. This cannot be undone.` The product is right. The test is a smoke check that the catalog reader resolves a real nested key, and it pinned the old sentence ending. ## Change The assertion now checks that the resolved string still carries the `"{name}"` placeholder, which is what the dialog needs, not how the sentence ends. A comment says why. The other two checks in the test are unchanged. ## Testing - `tests/studio/test_en_catalog.py`: 1 failed on main, 44 passed here. - Sabotage: with `"{name}"` removed from the `deleteChat.description` string in `en.ts`, the test fails again. - No other test reads the old copy (`git grep` over `tests/` and `studio/backend/tests` for the old sentences finds nothing).
danielhanchen
added a commit
that referenced
this pull request
Nov 1, 2026
…te for one archived result (#16401) ## Summary `Frontend build + bundle sanity` (Linux) and `Frontend unit tests (Windows)` fail on PRs based on current main. Staging CI shows it for #16109, #16110 and #16112, all in the `data_settings` Playwright driver: ``` File "tests/studio/playwright_data_settings.py", line 705, in run_library_locales AssertionError: Locator expected to contain text 'This permanently deletes 1 archived chats and their messages. This cannot be undone.' Actual value: Delete chatThis permanently deletes "Sample 0" and its messages. This cannot be undone. ... ``` #16390 (`4726a1c1b8`) changed the archived chats dialog on purpose. When exactly one chat is selected, it now shows the single-chat description, which names the chat (`shell.dialog.deleteChat.description`), instead of "1 archived chats". Its description lists this ("Archived chats: one chat (now names the chat instead of reading "1 archived chats")"). The driver still expected the bulk wording with `{count}` = 1. ## Change `run_library_locales` now also reads `shell.dialog.deleteChat.description` from each locale's catalog. For the one-result delete, it expects that string with `{name}` = `Sample 0`, the one archived chat left after the No project filter. ## Testing On this host, Chromium, same frontend tree, `python tests/studio/playwright_data_settings.py`: - main's driver: exit 1 with the same `AssertionError` as CI; - this branch: exit 0, `chromium: 183 Data settings checks passed`, across all 12 locales the driver walks.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Deleting chats or projects now says plainly that they are gone for good. Every chat and project delete confirmation reads "This permanently deletes ... This cannot be undone." instead of asking "Are you sure you want to delete...?".
Dialogs covered:
Names are now plain quoted text instead of italics, in the sidebar, the projects page and the training run dialog that shared the same helper. The helper is removed, since it only added the italics. The sidebar's single-project dialog was hard-coded English and now uses the translated strings.
All 25 locales are updated, keeping each locale's own quote style around the name.
Verified locally: typecheck, frontend tests and build pass. In a local Studio I opened the sidebar chat and project delete dialogs and confirmed the new text with no italics, then cancelled. The test project was removed afterwards.