Marak / Marak/translate.js

improve UI in browser demo

Open
#2 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
320
Forks
58
PR merge metrics
No merged PRs in 30d

Description

lets add some intent to the form inputs and trigger the translation to work on keypress and select box changes.

"intent" means adding a delay in firing the event associated with keypress, etc, and grouping them so that we don't spam ajax requests. we can't map keypresses to ajax requests 1:1.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start in the browser demo's form inputs and existing keypress and select-box translation triggers. The work is complete when translation requests are delayed and grouped so typing does not produce one AJAX request per keypress, while select-box changes still trigger translation.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.