mirror of
https://github.com/mirego/accent.git
synced 2024-09-20 07:08:54 +03:00
Fix lint and Changelog
This commit is contained in:
parent
555bfe7998
commit
a2544dd51d
24
CHANGELOG.md
Normal file
24
CHANGELOG.md
Normal file
@ -0,0 +1,24 @@
|
||||
# Changelog
|
||||
|
||||
## v1.6.0
|
||||
|
||||
### 1. Enhancements
|
||||
|
||||
- New review page that includes more context on translations
|
||||
- Add recent projects section in projects listing
|
||||
- Add Resx 2.0 format
|
||||
- Add batch activity support for batch activity (sync, add translations)
|
||||
- Add markdown conversation
|
||||
- Add file comment UI on a translation page
|
||||
|
||||
### 2. Bug fixes
|
||||
|
||||
- Fix slow textarea and text input
|
||||
- Fix large strings textarea that broke the UI
|
||||
|
||||
### 3. Refactor
|
||||
|
||||
- Add type-safe Gleam language to build linting rules
|
||||
- Replae homemade gen_stage async jobs processor with Oban
|
||||
- Upgrade to latest Elixir and latest EmberJS
|
||||
- Use animated svg for skeleton UI instead of plain CSS
|
@ -14,7 +14,7 @@
|
||||
{{on "input" (fn this.changePath)}}
|
||||
local-class="textInput"
|
||||
value={{this.renamedDocumentPath}}
|
||||
/>
|
||||
>
|
||||
</label>
|
||||
{{else}}
|
||||
<span local-class="item-toggle-edit">
|
||||
|
@ -15,7 +15,7 @@
|
||||
value={{this.email}}
|
||||
placeholder={{t "components.collaborator_create_form.email_placeholder"}}
|
||||
data-test-new-collaborator-email
|
||||
/>
|
||||
>
|
||||
|
||||
<AsyncButton
|
||||
@onClick={{perform this.submitTask}}
|
||||
|
@ -6,7 +6,7 @@
|
||||
{{on "input" (fn this.setName)}}
|
||||
local-class="textInput"
|
||||
value={{this.name}}
|
||||
/>
|
||||
>
|
||||
|
||||
<input
|
||||
type="color"
|
||||
|
@ -79,12 +79,12 @@ export default class TranslationEditForm extends Component<Args> {
|
||||
}
|
||||
|
||||
@action
|
||||
changeHTML(value: string) {
|
||||
async changeHTML(value: string) {
|
||||
const previousText = this.args.value;
|
||||
this.args.onKeyUp?.(value);
|
||||
|
||||
if (previousText !== value)
|
||||
(this.fetchLintMessagesTask as Task).perform(value);
|
||||
await (this.fetchLintMessagesTask as Task).perform(value);
|
||||
}
|
||||
|
||||
@action
|
||||
@ -93,13 +93,13 @@ export default class TranslationEditForm extends Component<Args> {
|
||||
}
|
||||
|
||||
@action
|
||||
changeText(event: Event) {
|
||||
async changeText(event: Event) {
|
||||
const target = event.target as HTMLInputElement;
|
||||
const previousText = this.args.value;
|
||||
this.args.onKeyUp?.(target.value);
|
||||
|
||||
if (previousText !== target.value)
|
||||
(this.fetchLintMessagesTask as Task).perform(target.value);
|
||||
await (this.fetchLintMessagesTask as Task).perform(target.value);
|
||||
}
|
||||
|
||||
@restartableTask
|
||||
@ -120,8 +120,8 @@ export default class TranslationEditForm extends Component<Args> {
|
||||
}
|
||||
|
||||
@action
|
||||
replaceText(value: string) {
|
||||
async replaceText(value: string) {
|
||||
this.args.onKeyUp?.(value);
|
||||
(this.fetchLintMessagesTask as Task).perform(value);
|
||||
await (this.fetchLintMessagesTask as Task).perform(value);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user