Skip to content

v1.0.0 #73

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

Merged
merged 53 commits into from
May 31, 2022
Merged
Changes from 1 commit
Commits
Show all changes
53 commits
Select commit Hold shift + click to select a range
4d272fc
change required versions
Archmonger Apr 17, 2022
2f4bc41
bump version number
Archmonger Apr 17, 2022
fcb1f8c
add changelog entry
Archmonger Apr 17, 2022
98b795a
use contextlib suppress
Archmonger Apr 17, 2022
f03b0cb
use f-strings
Archmonger Apr 17, 2022
0d1acba
dispatch_single_view -> serve_json_patch
Archmonger Apr 17, 2022
9b13b6a
sort imports
Archmonger Apr 17, 2022
036c4ad
new hooks
Archmonger Apr 17, 2022
2db9b1d
formatting
Archmonger Apr 17, 2022
c4e8b4a
update changelog to add hooks
Archmonger Apr 17, 2022
9de275a
Python 3.8 fixes
Archmonger Apr 17, 2022
2fe1208
more python 3.8 fixes
Archmonger Apr 17, 2022
eda71b9
new docs source
Archmonger Apr 24, 2022
2965ceb
publish docs workflow
Archmonger Apr 24, 2022
dedaf7e
rename idom_component to component
Archmonger Apr 24, 2022
465092d
better docs statement in changelog
Archmonger Apr 24, 2022
d1c4637
formatting and cleanup
Archmonger Apr 24, 2022
d31cad0
more everything
Archmonger Apr 24, 2022
96a1605
cleanup
Archmonger Apr 25, 2022
c937fcf
cleanup gen2
Archmonger Apr 25, 2022
9d83b00
templatetags -> templatetag
Archmonger Apr 25, 2022
9fcc082
quick start -> at a glance
Archmonger Apr 25, 2022
87a900a
collapsible everything!
Archmonger Apr 25, 2022
30b8f5c
0.0.6 -> 1.0.0
Archmonger Apr 25, 2022
ad9b672
note cleanup
Archmonger Apr 25, 2022
f931f9b
better component regex
Archmonger Apr 25, 2022
a4abe01
add logging to test app
Archmonger Apr 25, 2022
ddbf68c
fix spacing
Archmonger Apr 25, 2022
5d924d3
more smithing
Archmonger Apr 25, 2022
a772359
ELI5
Archmonger Apr 26, 2022
45159b6
better examples
Archmonger Apr 26, 2022
1f1a2b1
fix example
Archmonger Apr 26, 2022
f1d6afe
highlight body tag
Archmonger Apr 26, 2022
9d98425
add more guidance
Archmonger Apr 26, 2022
a142bfb
smithy
Archmonger Apr 26, 2022
c2104ca
english tweaks
Archmonger Apr 26, 2022
1d072dc
minor rework
Archmonger Apr 27, 2022
bb35d0d
rename component to HelloWorld
Archmonger May 1, 2022
c9646f0
warning if no components are found
Archmonger May 5, 2022
059ae0e
fix spacing in templatetag.md
Archmonger May 5, 2022
1ea9e80
fix multiline strings
Archmonger May 5, 2022
34ae18c
clean changelong
Archmonger May 5, 2022
9e3c035
fix unreleased link
Archmonger May 6, 2022
f22d60e
Add link to django only features
Archmonger May 9, 2022
5095588
disable prose wrap formatting
Archmonger May 9, 2022
dbc2ace
how to use -> getting started
Archmonger May 10, 2022
12cfc99
django-only -> exclusive
Archmonger May 10, 2022
b1c41f8
color error/warning log messages
Archmonger May 13, 2022
7e8ace8
remove duplicate log message
Archmonger May 13, 2022
4a4e51d
add newline
Archmonger May 27, 2022
52f335a
minor readme revision
Archmonger May 31, 2022
8f64511
change contribute section names
Archmonger May 31, 2022
d758ec8
IDOM Core tip
Archmonger May 31, 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
Prev Previous commit
Next Next commit
dispatch_single_view -> serve_json_patch
  • Loading branch information
Archmonger committed Apr 17, 2022
commit 0d1acbad099722b6359f36e6442620a06cefd48a
4 changes: 2 additions & 2 deletions src/django_idom/websocket/consumer.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
from channels.auth import login
from channels.db import database_sync_to_async as convert_to_async
from channels.generic.websocket import AsyncJsonWebsocketConsumer
from idom.core.dispatcher import dispatch_single_view
from idom.core.serve import serve_json_patch
from idom.core.layout import Layout, LayoutEvent

from django_idom.config import IDOM_REGISTERED_COMPONENTS
Expand Down Expand Up @@ -80,7 +80,7 @@ async def _run_dispatch_loop(self):

self._idom_recv_queue = recv_queue = asyncio.Queue()
try:
await dispatch_single_view(
await serve_json_patch(
Layout(component_instance),
self.send_json,
recv_queue.get,
Expand Down