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

Only update affected row when updating destination in HTMX frontend #1121

Open
wants to merge 2 commits into
base: htmx-destination-delete-only-affected-row
Choose a base branch
from

Conversation

stveit
Copy link
Contributor

@stveit stveit commented Jan 10, 2025

Part of #1073

based on #1120

Makes it so only the row for the destination you try to delete is updated with HTMX.

@stveit stveit self-assigned this Jan 10, 2025
@stveit stveit force-pushed the htmx-destination-delete-only-affected-row branch from a4325bf to fdfda05 Compare January 10, 2025 15:11
@stveit stveit force-pushed the htmx-destination-update-only-affected-row branch from f66e72e to 5d0426b Compare January 10, 2025 15:12
Copy link

github-actions bot commented Jan 10, 2025

Test results

   10 files  1 050 suites   38m 7s ⏱️
  532 tests   531 ✅  1 💤 0 ❌
5 320 runs  5 310 ✅ 10 💤 0 ❌

Results for commit fe961ed.

♻️ This comment has been updated with latest results.

@codecov-commenter
Copy link

codecov-commenter commented Jan 10, 2025

Codecov Report

Attention: Patch coverage is 0% with 3 lines in your changes missing coverage. Please review.

Project coverage is 79.97%. Comparing base (fdfda05) to head (fe961ed).

Files with missing lines Patch % Lines
src/argus/htmx/destination/views.py 0.00% 3 Missing ⚠️
Additional details and impacted files
@@                              Coverage Diff                              @@
##           htmx-destination-delete-only-affected-row    #1121      +/-   ##
=============================================================================
+ Coverage                                      79.86%   79.97%   +0.10%     
=============================================================================
  Files                                            145      145              
  Lines                                           5265     5258       -7     
=============================================================================
  Hits                                            4205     4205              
+ Misses                                          1060     1053       -7     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

After changes to update_htmx, this part is no longer used
@stveit stveit force-pushed the htmx-destination-update-only-affected-row branch from 5d0426b to fe961ed Compare January 10, 2025 18:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants