Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

✨ - Use htmx to async update messages. #342

Merged
merged 21 commits into from
Nov 28, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
7fd80de
:sparkles: - Use htmx to async update messages.
svenvandescheur Nov 21, 2022
db8b272
:white_check_mark: - Add test for async_selector in messages.
svenvandescheur Nov 22, 2022
656db68
:shirt: - Black.
svenvandescheur Nov 22, 2022
2a180ab
:arrow_up: - Selenium.
svenvandescheur Nov 22, 2022
4e908cb
:green_heart: - Make selenium/Firefox run headless.
svenvandescheur Nov 23, 2022
a290762
:shirt: - isort
svenvandescheur Nov 23, 2022
a360f8e
:green_heart: - Attempt to fix the build.
svenvandescheur Nov 23, 2022
8233546
:white_check_mark: Uncomment commented out test.
svenvandescheur Nov 23, 2022
7bef0e4
:shirt: - prettier
svenvandescheur Nov 23, 2022
dadb55b
:heavy_plus_sign: bump certifi and add selenium
annashamray Nov 25, 2022
b9be15e
:ok_hand: - action variable is not documented in template tags.
svenvandescheur Nov 25, 2022
4f8073b
:ok_hand: - Should we also add polling for messages?
svenvandescheur Nov 25, 2022
6589347
:ok_hand: - Why to use this tag? I commented it and nothing changed.
svenvandescheur Nov 25, 2022
919567e
:ok_hand: - Nice! Perhaps in the future we can also test it for Chrome
svenvandescheur Nov 25, 2022
cd4a1d3
:shirt: - Black and isort.
svenvandescheur Nov 25, 2022
2f86b51
:ok_hand: - Should we make it 5 seconds?
svenvandescheur Nov 28, 2022
fff0694
:bug: - Fix bug in accessibility code.
svenvandescheur Nov 28, 2022
138e2c0
:memo - Fix documentation.
svenvandescheur Nov 28, 2022
0e34b07
:ok_hand: - Please add test for polling.
svenvandescheur Nov 28, 2022
7185ea7
:shirt - black
svenvandescheur Nov 28, 2022
bb1c0ff
:bug: - Fix incorrect argument name.
svenvandescheur Nov 28, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/code-quality.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ jobs:
uses: actions/checkout@v2
- name: Install dependencies
run: |
npm install
npm install --legacy-peer-deps
svenvandescheur marked this conversation as resolved.
Show resolved Hide resolved
- name: Run Prettier
run: |
npm run check-linting
Expand Down
19,808 changes: 19,596 additions & 212 deletions package-lock.json

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@
"flatpickr": "^4.6.9",
"gumshoejs": "^5.1.2",
"html-minifier": "^4.0.0",
"htmx.org": "^1.8.4",
"inline-css": "^3.0.0",
"leaflet": "^1.7.1",
"material-icons": "^1.10.11",
Expand Down
2 changes: 1 addition & 1 deletion requirements/base.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ boltons==21.0.0
# glom
brotli==1.0.9
# via fonttools
certifi==2021.5.30
certifi==2022.9.24
# via
# elastic-apm
# elasticsearch
Expand Down
35 changes: 33 additions & 2 deletions requirements/ci.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,18 @@ asgiref==3.4.1
# django
astroid==2.8.0
# via pylint
async-generator==1.10
# via
# trio
# trio-websocket
attrs==21.2.0
# via
# -c requirements/base.txt
# -r requirements/base.txt
# glom
# jsonschema
# outcome
# trio
beautifulsoup4==4.10.0
# via
# -c requirements/base.txt
Expand All @@ -33,13 +39,14 @@ brotli==1.0.9
# -c requirements/base.txt
# -r requirements/base.txt
# fonttools
certifi==2021.5.30
certifi==2022.9.24
# via
# -c requirements/base.txt
# -r requirements/base.txt
# elastic-apm
# elasticsearch
# requests
# selenium
# sentry-sdk
cffi==1.15.0
# via
Expand Down Expand Up @@ -357,6 +364,8 @@ et-xmlfile==1.1.0
# -c requirements/base.txt
# -r requirements/base.txt
# openpyxl
exceptiongroup==1.0.4
# via trio
face==20.1.1
# via
# -c requirements/base.txt
Expand Down Expand Up @@ -405,6 +414,8 @@ glom==20.11.0
# -c requirements/base.txt
# -r requirements/base.txt
# mozilla-django-oidc-db
h11==0.14.0
# via wsproto
html5lib==1.1
# via
# -c requirements/base.txt
Expand All @@ -419,6 +430,7 @@ idna==3.2
# -c requirements/base.txt
# -r requirements/base.txt
# requests
# trio
importlib-metadata==4.8.2
# via
# -c requirements/base.txt
Expand Down Expand Up @@ -499,6 +511,8 @@ orderedmultidict==1.0.1
# -c requirements/base.txt
# -r requirements/base.txt
# furl
outcome==1.2.0
# via trio
pep8==1.7.1
# via -r requirements/test-tools.in
phonenumbers==8.12.33
Expand Down Expand Up @@ -564,6 +578,8 @@ pyrsistent==0.18.0
# -c requirements/base.txt
# -r requirements/base.txt
# jsonschema
pysocks==1.7.1
# via urllib3
python-dateutil==2.8.2
# via
# -c requirements/base.txt
Expand Down Expand Up @@ -638,6 +654,8 @@ rich==12.4.1
# -c requirements/base.txt
# -r requirements/base.txt
# django-rich
selenium==4.6.0
# via -r requirements/test-tools.in
sentry-sdk==1.4.3
# via
# -c requirements/base.txt
Expand All @@ -657,6 +675,10 @@ six==1.16.0
# python-dateutil
# qrcode
# requests-mock
sniffio==1.3.0
# via trio
sortedcontainers==2.4.0
# via trio
soupsieve==2.3.1
# via
# -c requirements/base.txt
Expand Down Expand Up @@ -687,6 +709,12 @@ tinycss2==1.1.1
# weasyprint
toml==0.10.2
# via pylint
trio==0.22.0
# via
# selenium
# trio-websocket
trio-websocket==0.9.2
# via selenium
typing-extensions==3.10.0.2
# via
# astroid
Expand All @@ -701,13 +729,14 @@ uritemplate==4.1.1
# -c requirements/base.txt
# -r requirements/base.txt
# drf-spectacular
urllib3==1.26.7
urllib3[socks]==1.26.7
# via
# -c requirements/base.txt
# -r requirements/base.txt
# elastic-apm
# elasticsearch
# requests
# selenium
# sentry-sdk
uwsgi==2.0.19.1
# via
Expand All @@ -732,6 +761,8 @@ webtest==3.0.0
# via django-webtest
wrapt==1.12.1
# via astroid
wsproto==1.2.0
# via trio-websocket
xlrd==2.0.1
# via
# -c requirements/base.txt
Expand Down
65 changes: 63 additions & 2 deletions requirements/dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,20 @@ astroid==2.8.0
# -c requirements/ci.txt
# -r requirements/ci.txt
# pylint
async-generator==1.10
# via
# -c requirements/ci.txt
# -r requirements/ci.txt
# trio
# trio-websocket
attrs==21.2.0
# via
# -c requirements/ci.txt
# -r requirements/ci.txt
# glom
# jsonschema
# outcome
# trio
babel==2.9.1
# via sphinx
bandit==1.7.4
Expand All @@ -46,13 +54,14 @@ brotli==1.0.9
# fonttools
build==0.8.0
# via pip-tools
certifi==2021.5.30
certifi==2022.9.24
# via
# -c requirements/ci.txt
# -r requirements/ci.txt
# elastic-apm
# elasticsearch
# requests
# selenium
# sentry-sdk
cffi==1.15.0
# via
Expand Down Expand Up @@ -394,6 +403,11 @@ et-xmlfile==1.1.0
# -c requirements/ci.txt
# -r requirements/ci.txt
# openpyxl
exceptiongroup==1.0.4
# via
# -c requirements/ci.txt
# -r requirements/ci.txt
# trio
face==20.1.1
# via
# -c requirements/ci.txt
Expand Down Expand Up @@ -452,6 +466,11 @@ glom==20.11.0
# -c requirements/ci.txt
# -r requirements/ci.txt
# mozilla-django-oidc-db
h11==0.14.0
# via
# -c requirements/ci.txt
# -r requirements/ci.txt
# wsproto
html5lib==1.1
# via
# -c requirements/ci.txt
Expand All @@ -466,6 +485,7 @@ idna==3.2
# -c requirements/ci.txt
# -r requirements/ci.txt
# requests
# trio
imagesize==1.2.0
# via sphinx
importlib-metadata==4.8.2
Expand Down Expand Up @@ -565,6 +585,11 @@ orderedmultidict==1.0.1
# -c requirements/ci.txt
# -r requirements/ci.txt
# furl
outcome==1.2.0
# via
# -c requirements/ci.txt
# -r requirements/ci.txt
# trio
packaging==21.0
# via
# build
Expand Down Expand Up @@ -658,6 +683,11 @@ pyrsistent==0.18.0
# -c requirements/ci.txt
# -r requirements/ci.txt
# jsonschema
pysocks==1.7.1
# via
# -c requirements/ci.txt
# -r requirements/ci.txt
# urllib3
python-dateutil==2.8.2
# via
# -c requirements/ci.txt
Expand Down Expand Up @@ -737,6 +767,10 @@ rich==12.4.1
# -c requirements/ci.txt
# -r requirements/ci.txt
# django-rich
selenium==4.6.0
# via
# -c requirements/ci.txt
# -r requirements/ci.txt
sentry-sdk==1.4.3
# via
# -c requirements/ci.txt
Expand All @@ -758,8 +792,18 @@ six==1.16.0
# requests-mock
smmap==5.0.0
# via gitdb
sniffio==1.3.0
# via
# -c requirements/ci.txt
# -r requirements/ci.txt
# trio
snowballstemmer==2.1.0
# via sphinx
sortedcontainers==2.4.0
# via
# -c requirements/ci.txt
# -r requirements/ci.txt
# trio
soupsieve==2.3.1
# via
# -c requirements/ci.txt
Expand Down Expand Up @@ -821,6 +865,17 @@ tomli==1.2.1
# black
# build
# pep517
trio==0.22.0
# via
# -c requirements/ci.txt
# -r requirements/ci.txt
# selenium
# trio-websocket
trio-websocket==0.9.2
# via
# -c requirements/ci.txt
# -r requirements/ci.txt
# selenium
typing-extensions==3.10.0.2
# via
# -c requirements/ci.txt
Expand All @@ -838,13 +893,14 @@ uritemplate==4.1.1
# -c requirements/ci.txt
# -r requirements/ci.txt
# drf-spectacular
urllib3==1.26.7
urllib3[socks]==1.26.7
# via
# -c requirements/ci.txt
# -r requirements/ci.txt
# elastic-apm
# elasticsearch
# requests
# selenium
# sentry-sdk
uwsgi==2.0.19.1
# via
Expand Down Expand Up @@ -883,6 +939,11 @@ wrapt==1.12.1
# -c requirements/ci.txt
# -r requirements/ci.txt
# astroid
wsproto==1.2.0
# via
# -c requirements/ci.txt
# -r requirements/ci.txt
# trio-websocket
xlrd==2.0.1
# via
# -c requirements/ci.txt
Expand Down
1 change: 1 addition & 0 deletions requirements/test-tools.in
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ pylint
pyquery # integrates with webtest
requests-mock
tblib
selenium

# DigidLocal
python3-saml
Expand Down
Loading