From 9795aff543f4060aca33fdf3992feed674360e37 Mon Sep 17 00:00:00 2001 From: Michael Chadwick Date: Wed, 13 Nov 2024 16:36:43 -0800 Subject: [PATCH 1/4] removed render modifier --- .../ilios-common/addon/components/api-version-notice.hbs | 1 - packages/ilios-common/addon/components/api-version-notice.js | 5 +++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/packages/ilios-common/addon/components/api-version-notice.hbs b/packages/ilios-common/addon/components/api-version-notice.hbs index 1b1878fdc1..9e56f5fd81 100644 --- a/packages/ilios-common/addon/components/api-version-notice.hbs +++ b/packages/ilios-common/addon/components/api-version-notice.hbs @@ -2,7 +2,6 @@ class="api-version-notice {{if this.mismatched "mismatch"}}" hidden={{not this.mismatched}} role={{if this.mismatched "alert" false}} - {{did-insert (perform this.check)}} data-test-load-finished={{this.check.lastSuccessful.value}} data-test-api-version-notice > diff --git a/packages/ilios-common/addon/components/api-version-notice.js b/packages/ilios-common/addon/components/api-version-notice.js index f6fc4b0dde..4f7265a22c 100644 --- a/packages/ilios-common/addon/components/api-version-notice.js +++ b/packages/ilios-common/addon/components/api-version-notice.js @@ -11,6 +11,11 @@ export default class ApiVersionNoticeComponent extends Component { @tracked countdownToUpdate = null; @tracked showReloadButton = false; + constructor() { + super(...arguments); + this.check.perform(); + } + reload() { window.location.reload(); } From 85588d8bdf32d5d207a7b0cd5e3d142ace73ef92 Mon Sep 17 00:00:00 2001 From: Michael Chadwick Date: Wed, 13 Nov 2024 16:43:50 -0800 Subject: [PATCH 2/4] fixed typo in English translation --- packages/ilios-common/translations/en-us.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/ilios-common/translations/en-us.yaml b/packages/ilios-common/translations/en-us.yaml index a7f63e9a67..ec2e9c81c7 100644 --- a/packages/ilios-common/translations/en-us.yaml +++ b/packages/ilios-common/translations/en-us.yaml @@ -14,7 +14,7 @@ general: allMaterials: All Materials allWeeks: All Weeks apiVersionMismatch: API Version Mismatch - apiVersionMismatchDetails: "This is usually a temporary error in your browser; Ilios is in read-only mode until it resolved. If updating does not help, please notify an administrator or technical owner of the system regarding this error. You may also wish to try a different browser." + apiVersionMismatchDetails: "This is usually a temporary error in your browser; Ilios is in read-only mode until it is resolved. If updating does not help, please notify an administrator or technical owner of the system regarding this error. You may also wish to try a different browser." assignedTerms: Assigned Terms associatedGroups: Associated Groups attendanceIs_Required_: "Attendance is ''required''" From f861521fb05e0a28be83e91631fd91aca4539d8b Mon Sep 17 00:00:00 2001 From: Michael Chadwick Date: Wed, 13 Nov 2024 16:44:22 -0800 Subject: [PATCH 3/4] updated Spanish translation to match wording of English/French translations --- packages/ilios-common/translations/es.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/ilios-common/translations/es.yaml b/packages/ilios-common/translations/es.yaml index fa1c493899..466d5b009b 100644 --- a/packages/ilios-common/translations/es.yaml +++ b/packages/ilios-common/translations/es.yaml @@ -14,7 +14,7 @@ general: allMaterials: Todos los Materiales allWeeks: Todas las Semanas apiVersionMismatch: Incompatibilidad de versión de API - apiVersionMismatchDetails: "Este interfaz de usuario no corresponde a la versión del API con el cual se comunica. Por favor notifique a un administrador o el dueño técnico del sistema con respecto a este error ''inmediatamente'', no puede trabajar con Ilios hasta que esto ha sido resuelto" + apiVersionMismatchDetails: "Por lo general, se trata de un error temporal de su navegador; Ilios está en modo de solo lectura hasta que se resuelva. Si la actualización no soluciona el problema, notifique a un administrador o al propietario técnico del sistema sobre este error. También puede probar con otro navegador." assignedTerms: Términos asignados associatedGroups: Grupos Associados attendanceIs_Required_: "Se ''require'' asistencia" From a0b506ed58fb2e58b903d5500bd800919f9f387d Mon Sep 17 00:00:00 2001 From: Michael Chadwick Date: Fri, 22 Nov 2024 10:31:31 -0800 Subject: [PATCH 4/4] updated lint-todo --- packages/ilios-common/.lint-todo | 1 - 1 file changed, 1 deletion(-) diff --git a/packages/ilios-common/.lint-todo b/packages/ilios-common/.lint-todo index 932e220aa6..d908e53911 100644 --- a/packages/ilios-common/.lint-todo +++ b/packages/ilios-common/.lint-todo @@ -1,4 +1,3 @@ -add|ember-template-lint|no-at-ember-render-modifiers|5|2|5|2|fb439ee6b510cea24e2b47eda775aee573be6e1e|1731542400000|1762646400000|1793750400000|addon/components/api-version-notice.hbs add|ember-template-lint|no-at-ember-render-modifiers|25|6|25|6|1ef231a97c0ec761eaafb3e76093515e5523ff27|1731542400000|1762646400000|1793750400000|addon/components/choose-material-type.hbs add|ember-template-lint|no-at-ember-render-modifiers|26|6|26|6|df94e6558ff62dea69f6f656f668f29b56bcc378|1731542400000|1762646400000|1793750400000|addon/components/choose-material-type.hbs add|ember-template-lint|no-at-ember-render-modifiers|7|2|7|2|1a2522cd1202904fb09a6e811dec6b46d8189ab3|1731542400000|1762646400000|1793750400000|addon/components/daily-calendar-event.hbs