Skip to content

[Story]: A basic UI for progress and result reporting of asynchronous MT for events, locations and news #4525

Description

@hannaseithe

User Story

As a user I want to get feedback
that my mt translation for events, locations, news are running, and when they are finished.

Problem Description

After the implementation of #4393 machine translations for events, locations and news are done asynchronously, but the UI does not report on progress and success. The user finds out only if the MT is done via page reload.

The messaging and other UI features should be implemented, just as they have been implemented in #4507 for pages

Acceptance Criteria

  • [ ] in the list view the row is disabled and greyed out if the current language is being translated into
  • in the list view during translation a banner shows that there are ongoing translations
  • in the list view we poll every 5s for the translation status of any running translations
  • in the list view after translation is done, the rows are enabled and updated and a banner shows success/partial_success/failuer
  • in the edit view during translation we show a lock dialog on the languages that is currently translated into
  • in the edit view during translation we show a "in progress" banner if we are currently translating from that language (but no lock)
  • in the edit view we attach to the heartbeat poll and speed it up to 5s during translation

Error & Edge Case Handling

No response

User Flow

No response

Technical Notes

No response

Out of Scope

No response

Testing Guidance

No response

Additional Context

No response

Related Issues

No response

Definition of Ready

  • Acceptance criteria are clear and testable
  • UI design / mockups are available (if applicable)
  • Dependencies are identified and unblocked
  • Story has been refined / estimated by the team
  • Edge cases and error states have been considered

Activity

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

    No labels
    No labels

    Type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions