Implement Skill Tree Selection Components and Update API Calls
Deploy Development / deploy (push) Successful in 44s
Test Suite / pytest-backend (push) Successful in 37s
Test Suite / lint-backend (push) Successful in 0s
Test Suite / build-frontend (push) Successful in 12s
Test Suite / k6 /health Baseline (push) Successful in 33s
Test Suite / playwright-tests (push) Successful in 1m15s
Deploy Development / deploy (push) Successful in 44s
Test Suite / pytest-backend (push) Successful in 37s
Test Suite / lint-backend (push) Successful in 0s
Test Suite / build-frontend (push) Successful in 12s
Test Suite / k6 /health Baseline (push) Successful in 33s
Test Suite / playwright-tests (push) Successful in 1m15s
- Introduced new `SkillTreeSelect` and `SkillTreeMultiSelect` components for enhanced skill selection in various modals and forms. - Updated API calls to use `listSkillsCatalog` instead of `listSkills` for improved data retrieval. - Enhanced CSS styles for skill selection components to improve user experience and visual consistency across the application.
This commit is contained in:
1 parent
728b37ad5f
commit
3067b2e6a8
12 files changed
+793
-46
No files matched your search
@@ -5182,6 +5182,144 @@ html.modal-scroll-locked .app-main {
|
||||
outline-offset: -2px;
|
||||
}
|
||||
|
||||
/* Fähigkeiten-Katalog: Treeview-Auswahl */
|
||||
.skill-tree-select {
|
||||
position: relative;
|
||||
flex: 1 1 200px;
|
||||
min-width: 0;
|
||||
}
|
||||
.skill-tree-select__trigger {
|
||||
width: 100%;
|
||||
text-align: left;
|
||||
cursor: pointer;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
min-height: 40px;
|
||||
}
|
||||
.skill-tree-select__placeholder {
|
||||
color: var(--text3);
|
||||
}
|
||||
.skill-tree-select__panel {
|
||||
position: absolute;
|
||||
z-index: 120;
|
||||
left: 0;
|
||||
right: 0;
|
||||
top: calc(100% + 4px);
|
||||
background: var(--surface);
|
||||
border: 1px solid var(--border);
|
||||
border-radius: 10px;
|
||||
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
|
||||
max-height: min(360px, 55vh);
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
overflow: hidden;
|
||||
}
|
||||
.skill-tree-select__search {
|
||||
margin: 8px;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
.skill-tree-select__tree-wrap {
|
||||
overflow: auto;
|
||||
padding: 0 4px 8px;
|
||||
flex: 1;
|
||||
min-height: 0;
|
||||
}
|
||||
.skill-tree-multiselect__panel {
|
||||
position: absolute;
|
||||
z-index: 120;
|
||||
left: 0;
|
||||
right: 0;
|
||||
top: calc(100% + 4px);
|
||||
background: var(--surface);
|
||||
border: 1px solid var(--border);
|
||||
border-radius: 10px;
|
||||
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
|
||||
max-height: min(360px, 55vh);
|
||||
overflow: auto;
|
||||
}
|
||||
.skill-tree {
|
||||
list-style: none;
|
||||
margin: 0;
|
||||
padding: 4px 0;
|
||||
}
|
||||
.skill-tree__empty {
|
||||
padding: 10px 12px;
|
||||
color: var(--text3);
|
||||
font-size: 0.88rem;
|
||||
}
|
||||
.skill-tree__branch-head {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 4px;
|
||||
min-height: 30px;
|
||||
}
|
||||
.skill-tree__toggle {
|
||||
flex-shrink: 0;
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
width: 28px;
|
||||
height: 28px;
|
||||
padding: 0;
|
||||
border: none;
|
||||
background: transparent;
|
||||
color: var(--text2);
|
||||
cursor: pointer;
|
||||
border-radius: 6px;
|
||||
}
|
||||
.skill-tree__toggle:hover {
|
||||
background: var(--surface2);
|
||||
}
|
||||
.skill-tree__toggle-spacer {
|
||||
width: 28px;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
.skill-tree__group-label {
|
||||
font-size: 0.86rem;
|
||||
font-weight: 600;
|
||||
color: var(--text2);
|
||||
}
|
||||
.skill-tree__group-label--main {
|
||||
color: var(--accent-dark);
|
||||
font-size: 0.9rem;
|
||||
}
|
||||
.skill-tree__children {
|
||||
list-style: none;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
.skill-tree__pick {
|
||||
display: block;
|
||||
width: 100%;
|
||||
text-align: left;
|
||||
border: none;
|
||||
background: transparent;
|
||||
padding: 7px 10px;
|
||||
border-radius: 6px;
|
||||
cursor: pointer;
|
||||
font-size: 0.9rem;
|
||||
color: var(--text1);
|
||||
}
|
||||
.skill-tree__pick:hover,
|
||||
.skill-tree__pick:focus-visible {
|
||||
background: var(--surface2);
|
||||
outline: none;
|
||||
}
|
||||
.skill-tree__pick--path {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: flex-start;
|
||||
gap: 2px;
|
||||
}
|
||||
.skill-tree__pick-name {
|
||||
font-weight: 500;
|
||||
}
|
||||
.skill-tree__pick-path {
|
||||
font-size: 0.78rem;
|
||||
color: var(--text3);
|
||||
line-height: 1.35;
|
||||
}
|
||||
|
||||
.multi-assoc-block {
|
||||
border: 1px solid var(--border);
|
||||
border-radius: 8px;
|
||||
|
||||
Reference in new issue
Block a user