Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,11 @@ documentation, and CI work are left out.

## [Unreleased]

### Added

- The running app version is shown at the bottom of every screen, so a bug
report no longer needs `GET /api/v1/status`.

### Changed

- **Bereiche schwärzen** now draws on the redacted pages, so the automatic text
Expand Down
3 changes: 2 additions & 1 deletion docs/development/contributing.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,8 @@ proposes the bumps weekly.

## Reporting bugs

Include the version (`GET /api/v1/status`), the source type, the exact message,
Include the version (the footer of the web UI, or `GET /api/v1/status`), the
source type, the exact message,
the warning categories from expert mode, and the relevant log lines — which
contain no document content by design. Check any excerpt you paste anyway.

Expand Down
3 changes: 2 additions & 1 deletion docs/operations/troubleshooting.md
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,8 @@ works; use *Als PDF* from the export menu.

## Reporting a problem

Include: the app version (`GET /api/v1/status`), the source type
Include: the app version (shown at the bottom of every screen, also in
`GET /api/v1/status`), the source type
(`paste`/`txt`/`docx`/`pdf`/`pdf-ocr`), the exact message, the warning
categories from [expert mode](../user-guide/advanced-settings.md#expert-mode),
and the relevant backend log lines.
Expand Down
4 changes: 4 additions & 0 deletions e2e/tests/workflow.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -367,5 +367,9 @@ test.describe('anonymization workflow', () => {
// NOT warn about content leaving the installation.
await expect(page.getByRole('button', { name: /Externer Endpunkt/ })).toHaveCount(0)
await expect(page.getByRole('heading', { level: 1 })).toContainText('Anonymisierer')

// The running version, for bug reports — it comes from the same status
// call, so an empty footer means the backend never answered.
await expect(page.getByRole('contentinfo')).toHaveText(/^Version \d+\.\d+\.\d+/)
})
})
10 changes: 10 additions & 0 deletions frontend/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,16 @@
<InputPanel v-else />
</main>

<!-- The version an operator is actually running — the first thing any bug
report needs, and otherwise only readable from /api/v1/status. -->
<footer
v-if="session.status"
class="mx-auto px-4 pb-6 text-center text-xs text-content-subtle"
:class="containerClass"
>
{{ t('app.version', { version: session.status.version }) }}
</footer>

<ToastContainer />
</div>
</template>
Expand Down
3 changes: 2 additions & 1 deletion frontend/locales/de.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"app": {
"title": "Medizinischer Dokumenten-Anonymisierer"
"title": "Medizinischer Dokumenten-Anonymisierer",
"version": "Version {version}"
},
"common": {
"close": "Schließen",
Expand Down
3 changes: 2 additions & 1 deletion frontend/locales/en.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"app": {
"title": "Medical Document Anonymizer"
"title": "Medical Document Anonymizer",
"version": "Version {version}"
},
"common": {
"close": "Close",
Expand Down
3 changes: 2 additions & 1 deletion frontend/locales/es.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"app": {
"title": "Anonimizador de documentos médicos"
"title": "Anonimizador de documentos médicos",
"version": "Versión {version}"
},
"common": {
"close": "Cerrar",
Expand Down
3 changes: 2 additions & 1 deletion frontend/locales/fr.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"app": {
"title": "Anonymiseur de documents médicaux"
"title": "Anonymiseur de documents médicaux",
"version": "Version {version}"
},
"common": {
"close": "Fermer",
Expand Down
Loading