Raxol.Core.UXRefinement.UxServer (Raxol v2.0.1)

View Source

GenServer for managing UX refinement state.

This server maintains all UX refinement state in a supervised, fault-tolerant manner, replacing the Process dictionary usage with proper OTP patterns.

Summary

Functions

child_spec(init_arg)

Returns a specification to start this module under a supervisor.

See Supervisor.

disable_feature(server \\ __MODULE__, feature)

Disable a UX refinement feature.

enable_feature(server \\ __MODULE__, feature, opts \\ [], user_prefs)

Enable a UX refinement feature.

feature_enabled?(server \\ __MODULE__, feature)

Check if a feature is enabled.

get_accessibility_metadata(server \\ __MODULE__, component_id)

Get accessibility metadata for a component.

get_component_hint(server \\ __MODULE__, component_id, level)

Get a specific hint level for a component.

get_component_shortcuts(server \\ __MODULE__, component_id)

Get shortcuts for a component.

get_hint(server \\ __MODULE__, component_id)

Get the hint for a component.

handle_manager_cast(msg, state)

Callback implementation for Raxol.Core.Behaviours.BaseManager.handle_manager_cast/2.

handle_manager_info(msg, state)

Callback implementation for Raxol.Core.Behaviours.BaseManager.handle_manager_info/2.

init_system(server \\ __MODULE__)

Initialize the UX refinement system.

register_accessibility_metadata(server \\ __MODULE__, component_id, metadata)

Register accessibility metadata for a component.

register_component_hint(server \\ __MODULE__, component_id, hint_info)

Register comprehensive hints for a component.

register_hint(server \\ __MODULE__, component_id, hint)

Register a hint for a component.

start_link(init_opts \\ [])