- Move global config files to globals iso global folder, as the name global conflicts with python language

- Creation of Traicie Vancancy Definition specialist
- Allow to invoke non-interaction specialists from withing Evie's mgmt interface (eveai_app)
- Improvements to crewai specialized classes
- Introduction to json editor for showing specialists arguments and results in a better way
- Introduction of more complex pagination (adding extra arguments) by adding a global 'get_pagination_html'
- Allow follow-up of ChatSession / Specialist execution
- Improvement in logging of Specialists (but needs to be finished)
This commit is contained in:
Josako
2025-05-26 11:26:03 +02:00
parent d789e431ca
commit 1fdbd2ff45
94 changed files with 1657 additions and 443 deletions

View File

@@ -651,4 +651,263 @@ select.select2[multiple] {
opacity: 1;
}
.interaction-header {
font-size: 0.9rem;
display: flex;
flex-direction: column;
width: 100%;
padding: 0.5rem 0;
}
.interaction-metadata {
display: flex;
gap: 1rem;
align-items: center;
margin-bottom: 0.5rem;
}
.interaction-time {
font-size: 0.9rem;
}
.specialist-info {
display: flex;
gap: 0.5rem;
align-items: center;
}
.interaction-question {
font-size: 0.9rem;
font-weight: bold;
line-height: 1.4;
}
.badge {
font-size: 0.9rem;
padding: 0.35em 0.65em;
white-space: nowrap;
}
.accordion-button {
padding: 0.5rem 1rem;
}
.accordion-button::after {
margin-left: 1rem;
}
.list-group-item {
font-size: 0.9rem;
}
.material-icons {
font-size: 1.1rem;
}
/* Aanpassingen voor JSONEditor */
.json-editor-container {
height: 400px;
margin-bottom: 1rem;
border-radius: 8px;
overflow: hidden;
border: 1px solid #e9ecef;
}
/* Hoofdmenu styling */
.jsoneditor-menu {
background-color: #ee912e !important;
border-bottom: 1px solid #ee912e !important;
color: #495057 !important;
}
/* Speciaal voor read-only modus */
.jsoneditor-readonly-mode .jsoneditor-menu {
background-color: #ee912e !important;
border-bottom: 1px solid #ee912e !important;
}
/* Verberg bewerkingsknoppen in readonly mode, maar behoud expand/collapse knoppen */
.jsoneditor-readonly-mode .jsoneditor-modes,
.jsoneditor-readonly-mode button.jsoneditor-separator,
.jsoneditor-readonly-mode button.jsoneditor-repair,
.jsoneditor-readonly-mode button.jsoneditor-undo,
.jsoneditor-readonly-mode button.jsoneditor-redo,
.jsoneditor-readonly-mode button.jsoneditor-compact,
.jsoneditor-readonly-mode button.jsoneditor-sort,
.jsoneditor-readonly-mode button.jsoneditor-transform {
display: none !important;
}
/* Toon belangrijke navigatieknoppen in read-only modus */
.jsoneditor-readonly-mode .jsoneditor-expand-all,
.jsoneditor-readonly-mode .jsoneditor-collapse-all,
.jsoneditor-readonly-mode .jsoneditor-search {
display: inline-block !important;
}
/* Verberg alle bewerkingselementen in de tree-view */
.jsoneditor-readonly-mode td.jsoneditor-tree button.jsoneditor-button.jsoneditor-contextmenu-button {
visibility: hidden !important;
}
/* Behoud wel de expand/collapse knoppen in de tree */
.jsoneditor-readonly-mode td.jsoneditor-tree button.jsoneditor-button.jsoneditor-expanded,
.jsoneditor-readonly-mode td.jsoneditor-tree button.jsoneditor-button.jsoneditor-collapsed {
visibility: visible !important;
}
/* Knoppen in het menu */
.jsoneditor-menu button {
background-color: transparent !important;
color: #495057 !important;
border: none !important;
}
.jsoneditor-menu button:hover {
background-color: #e8a34d !important;
}
/* Mode selector (Tree ▾) */
.jsoneditor-modes button {
background-color: transparent !important;
color: #495057 !important;
border: none !important;
padding: 4px 10px !important;
}
.jsoneditor-modes button:hover {
background-color: #e8a34d !important;
}
/* Zoekbalk */
.jsoneditor-search {
background-color: transparent !important;
}
.jsoneditor-search input {
border: 1px solid #ced4da !important;
border-radius: 4px !important;
color: #495057 !important;
padding: 4px 8px !important;
}
.jsoneditor-search button {
background-color: transparent !important;
color: #495057 !important;
}
/* Binnengebied */
.jsoneditor-outer {
border: none !important;
background-color: #fff !important;
}
/* Tree view */
.jsoneditor-tree {
background-color: #fff !important;
color: #212529 !important;
}
/* Read-only tree achtergrond */
.jsoneditor-readonly-mode .jsoneditor-tree {
background-color: #f8f9fa !important;
}
/* Value & field styling */
div.jsoneditor-field, div.jsoneditor-value {
color: #212529 !important;
}
div.jsoneditor-value.jsoneditor-string {
color: #0d6efd !important; /* Bootstrap primary color voor strings */
}
div.jsoneditor-value.jsoneditor-number {
color: #198754 !important; /* Bootstrap success color voor getallen */
}
div.jsoneditor-value.jsoneditor-boolean {
color: #dc3545 !important; /* Bootstrap danger color voor booleans */
}
div.jsoneditor-value.jsoneditor-null {
color: #6c757d !important; /* Bootstrap secondary color voor null */
}
/* Expand/collapse knoppen */
.jsoneditor-button.jsoneditor-expanded,
.jsoneditor-button.jsoneditor-collapsed {
filter: brightness(0.8) !important;
}
/* Context menu buttons (drie puntjes) */
.jsoneditor-button.jsoneditor-contextmenu-button {
filter: brightness(0.8) !important;
}
/* Verberg context menu knoppen in read-only modus */
.jsoneditor-readonly-mode .jsoneditor-contextmenu-button {
display: none !important;
}
/* Hover effect op rijen */
.jsoneditor-tree tr:hover {
background-color: rgba(0, 123, 255, 0.05) !important;
}
/* Geselecteerde rij */
.jsoneditor-tree tr.jsoneditor-selected {
background-color: rgba(0, 123, 255, 0.1) !important;
}
/* Consistent font */
.jsoneditor, .jsoneditor-tree, div.jsoneditor-field, div.jsoneditor-value {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
font-size: 0.875rem !important;
}
/* Consistente separators */
td.jsoneditor-separator {
color: #6c757d !important;
}
/* Contextmenu indien nodig */
div.jsoneditor-contextmenu {
box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
border-radius: 4px !important;
border: 1px solid rgba(0, 0, 0, 0.15) !important;
}
div.jsoneditor-contextmenu ul li button {
color: #212529 !important;
}
div.jsoneditor-contextmenu ul li button:hover {
background-color: #f8f9fa !important;
}
/* Onzichtbare dragarea buttons verbergen voor een schoner uiterlijk */
.jsoneditor-button.jsoneditor-dragarea {
visibility: hidden !important;
}
/* Alleen tonen bij hover */
tr:hover .jsoneditor-button.jsoneditor-dragarea {
visibility: visible !important;
opacity: 0.6 !important;
}
/* Verberg de textarea met JSON-data */
.d-none {
display: none !important;
}
/* Zorg ervoor dat de JSONEditor goed zichtbaar is */
.jsoneditor {
width: 100% !important;
height: 100% !important;
border: none !important;
}