Skip to content

fix(gui): quota refusals on save and copy, quota wording, phase status labels, map containment #20723

Closed
3 of 4 issues completed

Description

@mrveiss

Problem

Found in review on the merge train (PR #20713):

  1. updateContent and copyFile in useConversationFiles.ts don't call describeApiRefusal, so their 413 quota refusals show untranslated server text.
  2. quotaExceeded in en.json says the limit is reached when the real condition is that the file is larger than the remaining room.
  3. PhaseProgressionIndicator.vue shows scored statuses through formatStatus, untranslated.
  4. svg_migration_map_files_exist_20471_test.py doesn't check that an entry stays inside autobot-frontend/src.

Acceptance criteria

  • Save and copy refusals use describeApiRefusal. Tested.
  • quotaExceeded states the remaining room.
  • Scored statuses have i18n keys, with formatStatus as the fallback.
  • The map test requires each path to resolve inside src.

Activity

  1. added
    bugSomething isn't working
    phase:M3.9Chat, Agents, Analytics and Settings screens
    on Nov 3, 2026
  2. mrveiss commented on Nov 7, 2026

    @mrveiss
    OwnerAuthor

    Verified against main (train #21061, commits cdf627f, 944d412). 1) useConversationFiles.ts describeFailure wraps describeApiRefusal and is used by copy (and the content-save and upload paths); spec useConversationFiles.createRefusal.spec.ts 'updateFileContent translates a 413 quota refusal' and 'copyFile translates a 413 quota refusal'. 2) en.json quotaExceeded: 'This file is larger than the room you have left ... {remainingMb} MB is left.' 3) PhaseProgressionIndicator.vue phaseStatusLabel uses workflow.phaseProgression.status.<status> keys with formatStatus as the fallback (new key block in en.json). 4) repo_tests/svg_migration_map_files_exist_20471_test.py _resolves_inside_src requires is_relative_to(src), with the negative test test_an_entry_escaping_src_is_listed. All four ACs ticked. Closing.

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

    bugSomething isn't workingfrontendphase:M3.9Chat, Agents, Analytics and Settings screens

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions