Skip to content

feat: ✨ change default behaviour of handle_unauthorized/2 in LiveView…#42

Merged
vincentvanbush merged 1 commit intomainfrom
39-feature-change-handle_unauthorized2-default-behaviour
Nov 18, 2025
Merged

feat: ✨ change default behaviour of handle_unauthorized/2 in LiveView…#42
vincentvanbush merged 1 commit intomainfrom
39-feature-change-handle_unauthorized2-default-behaviour

Conversation

@vincentvanbush
Copy link
Contributor

Closes #39, for details please refer to #40 which was first merged to a feature branch now in main.

…#40)

* feat: ✨ change default behaviour of handle_unauthorized/2 in LiveView

* chore: 🛠️ update dependencies (w/ warning suppression) and CI setup
@codecov
Copy link

codecov bot commented Nov 18, 2025

Codecov Report

❌ Patch coverage is 78.26087% with 5 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
lib/permit_phoenix/live_view.ex 54.54% 5 Missing ⚠️

Impacted file tree graph

@@            Coverage Diff             @@
##             main      #42      +/-   ##
==========================================
+ Coverage   65.94%   68.20%   +2.25%     
==========================================
  Files           6        6              
  Lines         185      195      +10     
==========================================
+ Hits          122      133      +11     
+ Misses         63       62       -1     
Files with missing lines Coverage Δ
lib/permit_phoenix/live_view/authorize_hook.ex 83.63% <100.00%> (+0.30%) ⬆️
lib/permit_phoenix/plug.ex 78.78% <100.00%> (+1.36%) ⬆️
lib/permit_phoenix/live_view.ex 52.17% <54.54%> (+11.14%) ⬆️
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@vincentvanbush vincentvanbush merged commit 57eee57 into main Nov 18, 2025
147 of 148 checks passed
@vincentvanbush vincentvanbush deleted the 39-feature-change-handle_unauthorized2-default-behaviour branch November 18, 2025 22:55
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.

[Feature]: Change handle_unauthorized/2 default behaviour

1 participant