Compare commits

..

2 Commits

Author SHA1 Message Date
Quality App Developer
77463c1c47 fix: Add MYSQL_PWD environment variable for database healthcheck
- Fixes MariaDB container healthcheck authentication failures
- Adds MYSQL_PWD environment variable so healthcheck script can authenticate
- Resolves 'Access denied for user root@localhost' warnings
- Ensures database container properly reports healthy status
2026-01-04 22:20:47 +02:00
Quality App Developer
749c461d63 integrate: FG Scan documentation into help system
- Add fg_scan.md to documentation routes mapping
- Add FG Scan link to help viewer navigation menu
- Add floating help button to fg_scan.html page
- Documentation now accessible from both:
  * Floating help button (📖) on fg_scan page
  * Help navigation menu in documentation viewer
2026-01-04 22:15:57 +02:00
4 changed files with 11 additions and 0 deletions

View File

@@ -21,6 +21,8 @@ services:
MYSQL_PASSWORD: ${DB_PASSWORD}
MYSQL_INNODB_BUFFER_POOL_SIZE: ${MYSQL_BUFFER_POOL}
MYSQL_MAX_CONNECTIONS: ${MYSQL_MAX_CONNECTIONS}
# Healthcheck authentication
MYSQL_PWD: ${MYSQL_ROOT_PASSWORD}
ports:
- "${DB_PORT}:3306"

View File

@@ -4229,6 +4229,7 @@ def help(page='dashboard'):
# Map page names to markdown files
doc_files = {
'dashboard': 'dashboard.md',
'fg_scan': 'fg_scan.md',
'print_module': 'print_module.md',
'print_lost_labels': 'print_lost_labels.md',
'daily_mirror': 'daily_mirror.md',

View File

@@ -169,6 +169,7 @@
<div class="help-navigation">
<strong>Documentație disponibilă:</strong>
<a href="{{ url_for('main.help', page='dashboard') }}">Dashboard</a>
<a href="{{ url_for('main.help', page='fg_scan') }}">FG Scan - Scanare Produse</a>
<a href="{{ url_for('main.help', page='etichete') }}">Modul Etichete</a>
<a href="{{ url_for('main.help', page='print_module') }}">Print Module</a>
<a href="{{ url_for('main.help', page='print_lost_labels') }}">Print Lost Labels</a>

View File

@@ -839,6 +839,13 @@ window.onclick = function(event) {
{% endblock %}
{% block content %}
<!-- Floating Help Button -->
<div class="floating-help-btn">
<a href="{{ url_for('main.help', page='fg_scan') }}" target="_blank" title="FG Scan Help">
📖
</a>
</div>
<div class="scan-container">
<!-- Input Form Card -->
<div class="card scan-form-card">