Skip to content

fixed wavelog and made the popup a little better#915

Merged
DJ2LS merged 14 commits into
developfrom
kgb-logging
Mar 17, 2025
Merged

fixed wavelog and made the popup a little better#915
DJ2LS merged 14 commits into
developfrom
kgb-logging

Conversation

@LA3QMA

@LA3QMA LA3QMA commented Mar 17, 2025

Copy link
Copy Markdown
Collaborator

fixed wavelog and made the popup a little better

Comment thread freedata_gui/src/js/eventHandler.js Outdated
Comment thread freedata_gui/src/js/eventHandler.js Outdated
<strong>${i18next.t('Wavelog posted')}:</strong>
<span class="badge bg-success">${data.message}</span>
<div class="mt-2">
<span class="badge bg-secondary">${i18next.t('Wavelog posted')}</span>

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See above

Comment thread freedata_gui/src/js/eventHandler.js Outdated
if (data.status === true) {
const message = `
<div>
<strong>${i18next.t('Wavelog posted')}:</strong>

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The strings should be translatable, so we need a reference in translation files.

Comment thread freedata_gui/src/js/eventHandler.js Outdated
} else {
const message = `
<div>
<strong>${i18next.t('Wavelog error')}:</strong>

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See above

Comment thread freedata_gui/src/js/eventHandler.js Outdated
<strong>${i18next.t('Wavelog error')}:</strong>
<span class="badge bg-danger">${data.message}</span>
<div class="mt-2">
<span class="badge bg-secondary">${i18next.t('Wavelog post failed')}</span>

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See above

@DJ2LS DJ2LS merged commit 049ac46 into develop Mar 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants