Dawnline 0.20.1
Build packages / CI (push) Blocked by required conditions
Build packages / Version (push) Waiting to run
CI / Web (format, types, tests, bundles) (push) Blocked by required conditions
CI / ShellCheck (push) Blocked by required conditions
CI / Backend (Go: vet, tests, a real ubusd and uhttpd) (push) Blocked by required conditions
CI / Package files (push) Blocked by required conditions

- Fix the grey panel that 0.20.0 put behind the cards of the People list.
This commit is contained in:
Aemeath committed 2026-11-13 10:02:04 +03:00
1 parent ac90575b0b
commit 83962d61a9
10 files changed
+215 -18

No files matched your search

+2 -2
View File
@@ -1,12 +1,12 @@
{
"name": "dawnline-web",
"version": "0.20.0",
"version": "0.20.1",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "dawnline-web",
"version": "0.20.0",
"version": "0.20.1",
"license": "MIT",
"dependencies": {
"qrcode-generator": "2.0.4"
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "dawnline-web",
"version": "0.20.0",
"version": "0.20.1",
"private": true,
"license": "MIT",
"type": "module",
+4 -4
View File
@@ -57,11 +57,11 @@ function view(items: SysItem[], pkgs: NonNullable<UpdateComponent['pkgs']>): Vie
...items.map((it) =>
h(
'div',
{ class: 'pk' },
{ class: 'pks-f' },
h('div', { class: 'chk' }, glass(it.icon, 'grey'), h('span', { class: 'chk-t' }, h('b', {}, it.title), h('span', {}, it.sub))),
h(
'ul',
{ class: 'pk-l' },
{ class: 'pks-l' },
...it.pkgs.map((name) => {
const x = pkgs[name];
return h(
@@ -69,8 +69,8 @@ function view(items: SysItem[], pkgs: NonNullable<UpdateComponent['pkgs']>): Vie
{},
h('span', { class: 'mono' }, name),
!x?.installed
? h('span', { class: 'pk-v' }, _('not installed'))
: h('span', { class: `pk-v mono${x.latest ? ' new' : ''}` }, x.latest ? `${x.installed} → ${x.latest}` : x.installed),
? h('span', { class: 'pks-v' }, _('not installed'))
: h('span', { class: `pks-v mono${x.latest ? ' new' : ''}` }, x.latest ? `${x.installed} → ${x.latest}` : x.installed),
);
}),
),
+11 -9
View File
@@ -839,21 +839,23 @@
flex: none;
}
/* the packages close-up (flows/packages.ts): a block a feature, its packages as rows of name and version */
/* the packages close-up (flows/packages.ts): a block a feature, its packages as rows of name and version. Its
classes are `pks-*`: `pk` and `pk-*` are the People list's while picking (pages/people/pick.ts), and a block named
`.pk` here painted that whole list as one grey panel (the owner, 2026-11-13: «появился какой-то серый фон») */
.pks {
display: flex;
flex-direction: column;
gap: 8px;
}
.pk {
.pks-f {
border-radius: 16px;
background: var(--field);
}
.pk > .chk {
.pks-f > .chk {
background: none;
padding: 12px 8px 4px 12px;
}
.pk-l {
.pks-l {
list-style: none;
margin: 0;
padding: 4px 14px 14px 52px;
@@ -863,25 +865,25 @@
font-size: 13px;
line-height: 18px;
}
.pk-l > li {
.pks-l > li {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
gap: 0 16px;
}
.pk-l .mono {
.pks-l .mono {
font-family: var(--mono);
font-size: 12px;
letter-spacing: 0;
}
.pk-l span {
.pks-l span {
overflow-wrap: anywhere;
}
.pk-v {
.pks-v {
margin-left: auto;
color: var(--text-2);
}
.pk-v.new {
.pks-v.new {
color: var(--warn);
}
.opt[disabled] {