apertium / apertium/apertium-html-tools

UI can end up in strange state where subreadings of previous analysis are shown

Open
#470 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
TypeScript
Stars
41
Forks
93
PR merge metrics
No merged PRs in 30d

Description

1. open https://beta.apertium.org/index.nno.html#analysis?aLang=nno&aQ=
2. type in `grapsripsforbetring` and analyse
3. type `kakene` and analyse
4.

![bilde](https://user-images.githubusercontent.com/56868/228794930-5e2be831-f8db-4213-bf32-39d299c42dc7.png)

Developer tools says only `kakene` is sent
`curl 'https://beta.apertium.org/apy/analyze' -X POST -H blah:blah --data-raw 'lang=nno&q=kakene'`
and only the right analysis is received
```json
[
[
"kakene/kake",
"kakene"
]
]
```

localStorage:
```
analyzerLang: '"nno"'
​analyzerText: '"kakene"'
​instantTranslation: "true"
​length: 12
​locale: '"nno"'
​markUnknown: "false"
​recentSrcLangs: '["nno","afr","ara"]'
​recentTgtLangs: '["dan","eng","fin"]'
​srcLang: '"nno"'
​srcText: '""'
​tgtLang: '"dan"'
​translationChaining: "false"
​translationPrefs: "{}"
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.