-
Notifications
You must be signed in to change notification settings - Fork 3
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
Table refresh with ntie #87
Merged
Merged
Changes from 34 commits
Commits
Show all changes
35 commits
Select commit
Hold shift + click to select a range
cdce887
Init UpdateHandler on successful login
podliashanyk b62e237
Store ids of currently known events
podliashanyk fd66f41
Add method for communicating with UpdateHandler
podliashanyk e8001e5
Create new component for table poll (refresh) via UpdateHandler
podliashanyk b9aa649
Add a separate function for table refresh logic
podliashanyk e26220b
Switch to polling table with UpdateHandler
podliashanyk b6efd1c
Rename poll to refresh in config
podliashanyk b397fa7
Handle RetryError when fetching events and event details
podliashanyk 3fd1dd9
Handle RetryError on ntie events update
podliashanyk 9b86829
Always include expanded and selected state for table event dict
podliashanyk 174feb0
Switch to using extended table event dict in relevant endpoints
podliashanyk ddfd3d7
Switch to extended create_table_event instead of create_poll_event
podliashanyk 904ce38
Remove redundant create_polled_event helper
podliashanyk 16f513b
Differentiate between extended and simple event format on get eventlist
podliashanyk cb58703
Remove poll_current_events helper
podliashanyk f649e3b
Always consider event row state when creating table event
podliashanyk 072462c
Always consider event row state when rendering row
podliashanyk f3230fc
Drop using poll events components on bulk update
podliashanyk d0e6be1
Remove poll event components
podliashanyk 9f4ea40
Drop all poll terminology in ntie table refresh logic
podliashanyk b652a24
Polish names in refresh helper and endpoint
podliashanyk e060c77
Reuse existing event rows component for events added on refresh
podliashanyk 1c8ee7e
Move removed event row to a separate component
podliashanyk 2c2725a
Move modified event row to a separate component
podliashanyk fe38ddf
Remove redundant block definition in table refresh response
podliashanyk 06778fb
Connect to UpdateHandler
podliashanyk 9111cbd
Synchronize requests on body using HTMX's drop strategy
podliashanyk 1ddfc0b
Change sync strategy to queueing requests
podliashanyk 8f98df0
Remove redundant list length checks in templates
podliashanyk 059329e
Update src/howitz/endpoints.py
podliashanyk dd22052
Decrease default refresh interval and update example config
podliashanyk d4b69b2
Bump zinolib version requirement
podliashanyk 0bbb74e
Consider autoremove config option when initializing UpdateHandler
podliashanyk 70f726c
Merge branch 'main' into table-refresh-with-ntie
podliashanyk b0dbecd
Update frozen requirement list
podliashanyk File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Something is weird with this.
pyproject.toml
sayszinolib>=1.1.0
, so why is zinolib1.0.4
in the frozen requirements list?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Because we forgot to update it probably.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
With
zinolib==1.0.4
I can't even get Howitz to run, with1.1.0
this NTIE PR seems to work just fine for me :)