Skip to content
This repository has been archived by the owner on Oct 26, 2022. It is now read-only.

Translation Epic TS3 - Add Dynamic Translation to Agent Detail Form #310

Open
9 tasks done
Karvel opened this issue Apr 6, 2021 · 0 comments
Open
9 tasks done

Translation Epic TS3 - Add Dynamic Translation to Agent Detail Form #310

Karvel opened this issue Apr 6, 2021 · 0 comments
Labels
feature New feature or change that directly affects users refactor Code changes underneath the hood; no difference in user experience test Code tests only

Comments

@Karvel
Copy link
Contributor

Karvel commented Apr 6, 2021

Desired Use Case

The webapp should be able to load a form where a user can set translations for records with dynamic content. This form should disable the non-dynamic fields. It should load the selected language values when available. It should state the selected language in the form title to improve the UX.

Actual/Current Behavior

This feature is not yet implemented.

Steps to Implement This Feature

  • Trigger call to set-translate route using event emitters instead of state.
  • Add form title translations for "Set Translation".
  • Update AgentDetailComponent to handle the set-translation route:
    • Add a isSetTranslation boolean.
    • Use isSetTranslation to disable form controls.
    • Use isSetTranslation to update form title and submit method.
  • Update the dynamic form title to consume translation parameters, if available.
  • Wire up the set-translation/:id/:languageCode route.
  • Initialize CreateAgentResolver with default language dynamic content.

Pre-Testing TODOs

What needs to be done before testing.

  1. Change DB values in x collection to y.

Testing Steps

If you are not a member of this project, skip this step

How do the users test this change?

  1. Navigate to x screen
  2. Click on y button
  3. Observe z result

References #270.

@Karvel Karvel added the feature New feature or change that directly affects users label Apr 6, 2021
@Karvel Karvel added this to the Translation - Sprint #5 milestone Apr 6, 2021
@Karvel Karvel self-assigned this Apr 6, 2021
@Karvel Karvel changed the title Translation Epic TS3 - Add Dynamic Translation to Form Translation Epic TS3 - Add Dynamic Translation to Agent Detail Form Apr 6, 2021
@Karvel Karvel added refactor Code changes underneath the hood; no difference in user experience test Code tests only labels Apr 6, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
feature New feature or change that directly affects users refactor Code changes underneath the hood; no difference in user experience test Code tests only
Projects
None yet
Development

No branches or pull requests

1 participant