- accounts.ex: replace if with with-chain in get_user_by_email_and_password for explicit pattern matching on User struct + valid_password? result. Collapse nested case into with in create_api_token. - map_live.ex: extract connected? PubSub subscription block from mount into named subscribe_if_connected/1 function (cleaner than inline if with _ =). Deduplicate identical select_time + set_selected_time handlers into shared handle_set_time/2 helper. Extract toggle_grid + toggle_radar into shared handle_toggle/3 helper (functions-as-values pattern for assign key). |
||
|---|---|---|
| .. | ||
| microwaveprop | ||
| microwaveprop_web | ||
| mix/tasks | ||
| microwaveprop.ex | ||
| microwaveprop_web.ex | ||