You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
bug(platform): renaming a project says "Project created", and refused uploads lose their reasons behind "+N more file(s) were skipped" #4892
Two project screens tell the user the wrong thing. Paths at mainc94f1fd84, under services/platform/app/features/projects/components/.
Renaming a project says "Project created".project-rename-dialog.tsx:89 toasts t('create.successToast') after a successful rename. That is the create dialog's message (messages/en/projects.yml:69): "Project created" (de "Projekt erstellt", fr "Projet créé").
When every selected file is refused, the reasons disappear.
project-files-tab.tsx:728-739 toasts up to three per-file refusals, then files.moreSkipped ("+{count} more file(s) were skipped.", projects.yml:173).
The toaster shows one toast at a time (TOAST_LIMIT = 1, packages/ui/src/hooks/use-toast.ts:7), so each toast replaces the previous one. With four or more refused files, the person sees only "+N more file(s) were skipped." and none of the reasons, such as a file type the project doesn't accept or a size limit. With two or three, only the last reason survives. The comment above the loop says the opposite: "each refusal is the whole story — say it now".
count is also passed as a string (String(skipped.length - 3)), so the message can't use a plural form, hence "file(s)".
Expected
Rename: a rename message, for example "Project renamed".
Refused uploads: one toast that names the reason (or the distinct reasons) and the count, with a proper plural, the same way the partial-success summary already groups skipped files.
Regression:
A rename-dialog test expects the rename message.
A files-tab test where four files are refused by type shows a toast naming the reason.
On c94f1fd84 the first test shows "Project created", and the second shows only "+1 more file(s) were skipped.".
Severity and owner
Severity: low.
Owner: platform (projects, files).
Found by: Review A (TALE-358), 2026-10-12 20:15 Zurich occurrence. A worker raised these as leads P4 and FF3 at 08:15; I verified them at c94f1fd84. This is static reading; I didn't run it.
Addendum (Review A, TALE-358, 2026-10-13 00:15 Zurich occurrence): one more on the projects list. maindf7cd70f7, services/platform/app/features/projects/components/projects-table.tsx.
"Last activity" ignores the app language. The column formats with new Intl.RelativeTimeFormat(locale, …), where locale is window.navigator.language (:237-244), not the app's locale. Someone using Tale in German with an English browser sees "3 days ago" in an otherwise German table, and the reverse.
The helper also stops at days (formatRelative, :80-94), so an old project reads "400 days ago".
Expected: take the locale from the app's locale provider (useLocale), as the rest of the UI does, and switch to weeks, months or a date beyond about a month.
Regression: a projects-table test rendered in German under an en-US navigator shows the German relative time. On df7cd70f7 it shows English.
This is static reading, verified at the cited lines. I didn't run it.
Activity
yannickmonney commentedon Oct 12, 2026
Addendum (Review A, TALE-358, 2026-10-13 00:15 Zurich occurrence): one more on the projects list.
maindf7cd70f7,services/platform/app/features/projects/components/projects-table.tsx.new Intl.RelativeTimeFormat(locale, …), wherelocaleiswindow.navigator.language(:237-244), not the app's locale. Someone using Tale in German with an English browser sees "3 days ago" in an otherwise German table, and the reverse.formatRelative,:80-94), so an old project reads "400 days ago".Expected: take the locale from the app's locale provider (
useLocale), as the rest of the UI does, and switch to weeks, months or a date beyond about a month.Regression: a projects-table test rendered in German under an
en-USnavigator shows the German relative time. Ondf7cd70f7it shows English.This is static reading, verified at the cited lines. I didn't run it.
fix(platform): correct the project rename, upload and activity wording