Skip to content

Send Push Notifications for Translation Completion to the Frontend UI #9

@deeheber

Description

@deeheber

I originally designed this as a backend pipeline without thinking about adding a web UI frontend. It takes a bit for longer translations to process and as a result the UI doesn't refresh with the added item in the table section of the UI unless the window is reloaded.

I've temporarily added some retry behavior for it to mostly work, but would love push behavior to the client instead of polling every few seconds. Code reference https://github.com/stackery/language-translator/blob/frontend/src/PopulateFrontend/frontend-code/src/components/App.js#L91-L130

Rearchitect the existing HTTP endpoint(s) to use something like AWS IoT, Api Gateway websockets, or GraphQL subscriptions to allow for two way communication. Whenever an object is put into the translated files s3 bucket, the web api receives a notification and can then update the UI table list accordingly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesthelp wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions