fix(messages): search input uses correct CSS classes, proper layout with icon and styling
Some checks are pending
NordaBiz Tests / Unit & Integration Tests (push) Waiting to run
NordaBiz Tests / E2E Tests (Playwright) (push) Blocked by required conditions
NordaBiz Tests / Smoke Tests (Production) (push) Blocked by required conditions
NordaBiz Tests / Send Failure Notification (push) Blocked by required conditions

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Maciej Pienczyn 2026-03-27 15:59:02 +01:00
parent f8badfccac
commit 1c10052689
2 changed files with 17 additions and 9 deletions

View File

@ -91,6 +91,12 @@
align-items: center;
}
.conversations-search-row {
display: flex;
align-items: center;
gap: 8px;
}
.conversations-search {
flex: 1;
position: relative;

View File

@ -5,7 +5,7 @@
{% block head_extra %}
<link rel="stylesheet" href="{{ url_for('static', filename='css/quill.snow.css') }}">
<link rel="stylesheet" href="{{ url_for('static', filename='css/conversations.css') }}?v=5">
<link rel="stylesheet" href="{{ url_for('static', filename='css/conversations.css') }}?v=6">
<script src="{{ url_for('static', filename='js/vendor/quill.js') }}"></script>
<style>
footer { display: none !important; }
@ -22,13 +22,15 @@
<div class="conversations-panel" id="conversationsPanel">
<div class="conversations-header">
<h2>Wiadomości</h2>
<div class="search-box">
<svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
<circle cx="11" cy="11" r="8"></circle>
<path d="M21 21l-4.35-4.35"></path>
</svg>
<input type="text" id="searchInput" placeholder="Szukaj... (Enter = w treści)">
<button class="new-message-btn" id="newMessageBtn" title="Nowa wiadomość">
<div class="conversations-search-row">
<div class="conversations-search">
<svg class="search-icon" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
<circle cx="11" cy="11" r="8"></circle>
<path d="M21 21l-4.35-4.35"></path>
</svg>
<input type="text" id="searchInput" placeholder="Szukaj... (Enter = w treści)">
</div>
<button class="btn-new-conversation" id="newMessageBtn" title="Nowa wiadomość">
<svg width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
<path d="M12 20h9"></path>
<path d="M16.5 3.5a2.121 2.121 0 0 1 3 3L7 19l-4 1 1-4L16.5 3.5z"></path>
@ -226,7 +228,7 @@ window.__CSRF_TOKEN__ = '{{ csrf_token() }}';
// Load conversations.js after data is set
(function() {
var s = document.createElement('script');
s.src = '{{ url_for("static", filename="js/conversations.js") }}?v=10';
s.src = '{{ url_for("static", filename="js/conversations.js") }}?v=11';
document.body.appendChild(s);
})();
{% endblock %}