fix windows bridge logs and mobile headers (#1198)
This commit is contained in:
@@ -494,8 +494,12 @@ async function handleArchiveSelectedBoard() {
|
|||||||
@media (max-width: $breakpoint-mobile) {
|
@media (max-width: $breakpoint-mobile) {
|
||||||
.page-header {
|
.page-header {
|
||||||
padding: 16px 12px 16px 52px;
|
padding: 16px 12px 16px 52px;
|
||||||
|
position: sticky;
|
||||||
|
top: 0;
|
||||||
|
z-index: 20;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
align-items: flex-start;
|
align-items: flex-start;
|
||||||
|
background: $bg-primary;
|
||||||
gap: 10px;
|
gap: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -466,6 +466,13 @@ onBeforeUnmount(() => {
|
|||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.page-header {
|
||||||
|
position: sticky;
|
||||||
|
top: 0;
|
||||||
|
z-index: 20;
|
||||||
|
background: $bg-primary;
|
||||||
|
}
|
||||||
|
|
||||||
.header-actions {
|
.header-actions {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -2825,6 +2825,8 @@ class WorkerProcess:
|
|||||||
stdout=subprocess.PIPE,
|
stdout=subprocess.PIPE,
|
||||||
stderr=subprocess.PIPE,
|
stderr=subprocess.PIPE,
|
||||||
text=True,
|
text=True,
|
||||||
|
encoding="utf-8",
|
||||||
|
errors="replace",
|
||||||
bufsize=1,
|
bufsize=1,
|
||||||
**_hidden_subprocess_kwargs(),
|
**_hidden_subprocess_kwargs(),
|
||||||
)
|
)
|
||||||
|
|||||||
@@ -600,6 +600,8 @@ class FakeProcess:
|
|||||||
def fake_popen(args, **kwargs):
|
def fake_popen(args, **kwargs):
|
||||||
created["args"] = args
|
created["args"] = args
|
||||||
created["env"] = kwargs["env"]
|
created["env"] = kwargs["env"]
|
||||||
|
created["encoding"] = kwargs.get("encoding")
|
||||||
|
created["errors"] = kwargs.get("errors")
|
||||||
return FakeProcess()
|
return FakeProcess()
|
||||||
|
|
||||||
original_popen = bridge.subprocess.Popen
|
original_popen = bridge.subprocess.Popen
|
||||||
@@ -617,6 +619,8 @@ finally:
|
|||||||
|
|
||||||
assert created["env"]["HERMES_AGENT_BRIDGE_BROKER_PID"] == "4242"
|
assert created["env"]["HERMES_AGENT_BRIDGE_BROKER_PID"] == "4242"
|
||||||
assert created["env"]["HERMES_AGENT_BRIDGE_WORKER_PROFILE"] == "default"
|
assert created["env"]["HERMES_AGENT_BRIDGE_WORKER_PROFILE"] == "default"
|
||||||
|
assert created["encoding"] == "utf-8"
|
||||||
|
assert created["errors"] == "replace"
|
||||||
|
|
||||||
stop_event = threading.Event()
|
stop_event = threading.Event()
|
||||||
seen_pids = []
|
seen_pids = []
|
||||||
|
|||||||
Reference in New Issue
Block a user