Skip to content

Commit b704ef2

Browse files
authored
Merge branch 'main' into improve-env
2 parents adda1ce + 998cea1 commit b704ef2

File tree

2 files changed

+12
-5
lines changed

2 files changed

+12
-5
lines changed

Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Stage 1: Install Python dependencies
2-
FROM python:3.13-slim@sha256:1020ca463dc51c26bbad49de85dbb2986d93b71050102f3fa2a7f0fc4c2ea81e AS python-builder
2+
FROM python:3.13.5-slim@sha256:4c2cf9917bd1cbacc5e9b07320025bdb7cdf2df7b0ceaccb55e9dd7e30987419 AS python-builder
33

44
WORKDIR /build
55

@@ -13,10 +13,10 @@ COPY src/ ./src/
1313

1414
RUN set -eux; \
1515
pip install --no-cache-dir --upgrade pip; \
16-
pip install --no-cache-dir --timeout 1000 .
16+
pip install --no-cache-dir --timeout 1000 .[server]
1717

1818
# Stage 2: Runtime image
19-
FROM python:3.13-slim@sha256:1020ca463dc51c26bbad49de85dbb2986d93b71050102f3fa2a7f0fc4c2ea81e
19+
FROM python:3.13.5-slim@sha256:4c2cf9917bd1cbacc5e9b07320025bdb7cdf2df7b0ceaccb55e9dd7e30987419
2020

2121
ARG UID=1000
2222
ARG GID=1000

src/static/js/git_form.js

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,16 @@ function changePattern() {
88

99
// Skip the first tree line element
1010
treeLineElements.slice(2).forEach((element) => {
11-
element.classList.toggle('line-through');
12-
element.classList.toggle('text-gray-500');
11+
element.classList.remove('line-through');
12+
element.classList.remove('text-gray-500');
1313
});
14+
15+
// Reset the pattern input field
16+
const patternInput = document.getElementById('pattern');
17+
18+
if (patternInput) {
19+
patternInput.value = '';
20+
}
1421
}
1522

1623
// Show/hide the Personal-Access-Token section when the "Private repository" checkbox is toggled.

0 commit comments

Comments
 (0)