Compare commits

..

9 Commits

Author SHA1 Message Date
Tomáš Mládek 09db590154 feat: add `user` to every Entry
ci/woodpecker/push/woodpecker Pipeline was successful Details
(very ugly, lots of clones)
2024-03-31 16:24:50 +02:00
Tomáš Mládek 24ba87f715 refactor: fix lint 2024-03-31 16:24:49 +02:00
Tomáš Mládek ac6843354b refactor: allow known clippy issues 2024-03-31 16:24:49 +02:00
Tomáš Mládek 08025afe26 dev: add +dev-update-sdk target
(why doesn't dev-local update as expected?)
2024-03-31 16:24:49 +02:00
Tomáš Mládek f013a392ca feat: add user management
- no more static keys, full register/login/logout flow
- add API error type
- refactor API to centralize request calls
- minor refactors re: vault options
- CSS refactor (buttons don't require classes, input styling)
2024-03-31 16:24:49 +02:00
Tomáš Mládek 3a002e4076 feat(backend): users with passwords 2024-03-31 16:24:49 +02:00
Tomáš Mládek db1bf14eae refactor: properly import tracing macros 2024-03-31 16:24:49 +02:00
Tomáš Mládek 4d8ac0717d fix(webui): don't disappear selectors while adding entries if input has been made
ci/woodpecker/push/woodpecker Pipeline was successful Details
2024-03-31 16:24:05 +02:00
Tomáš Mládek 68e7d67d7b fix(webui): upload modal correctly displays over content 2024-03-31 15:08:16 +02:00
3 changed files with 5 additions and 2 deletions

View File

@ -163,6 +163,8 @@
filter: brightness(0.85);
}
}
z-index: 99;
}
.addmodal {

View File

@ -145,6 +145,7 @@
current = undefined;
dispatch('input', current);
}
$: if (!inputValue) reset();
let options: SelectorOption[] = [];
let searchResult: UpListing | undefined = undefined;

View File

@ -56,7 +56,7 @@
let newEntryValue: SelectorValue | undefined;
$: if (adding && newAttrSelector) newAttrSelector.focus();
$: if (!addFocus && !addHover) adding = false;
$: if (!addFocus && !addHover && !newEntryAttribute && !newEntryValue) adding = false;
async function addEntry(attribute: string, value: SelectorValue) {
dispatch('change', {
@ -352,7 +352,7 @@
<div class="cell mark-attribute">
<Selector
types={['Attribute', 'NewAttribute']}
on:input={(ev) => (newEntryAttribute = ev.detail.name)}
on:input={(ev) => (newEntryAttribute = ev.detail?.name)}
on:focus={(ev) => (addFocus = ev.detail)}
keepFocusOnSet
bind:this={newAttrSelector}