View Source PlausibleWeb.Live.Sites (Plausible v0.0.1)

LiveView for sites index.

Summary

Functions

Attributes

  • Global attributes are accepted.

Attributes

Attributes

  • change (:integer) (required)

Callback implementation for Phoenix.LiveView.render/1.

Attributes

  • filter_text (:string) - Defaults to "".
  • uri (URI) (required)

Attributes

Attributes

  • hourly_stats (:map) (required)

Functions

Link to this function

check_feature_access(site, user)

View Source

See Plausible.Teams.Adapter.Read.Ownership.check_feature_access/2.

Link to this function

check_features(invitation, user)

View Source
Link to this function

check_needs_to_upgrade(user)

View Source

See Plausible.Teams.Adapter.Read.Billing.check_needs_to_upgrade/1.

Link to this function

ensure_can_take_ownership(site, user)

View Source

See Plausible.Teams.Adapter.Read.Ownership.ensure_can_take_ownership/2.

Link to this function

handle_event(binary, arg2, socket)

View Source

Callback implementation for Phoenix.LiveView.handle_event/3.

Link to this function

handle_info(arg, socket)

View Source

Callback implementation for Phoenix.LiveView.handle_info/2.

Link to this function

handle_params(params, uri, socket)

View Source

Callback implementation for Phoenix.LiveView.handle_params/3.

See Plausible.Teams.Adapter.Read.Ownership.has_sites?/1.

Attributes

  • Global attributes are accepted.

Attributes

Link to this function

invitation_modal(assigns)

View Source
Link to this function

mount(params, session, socket)

View Source

Callback implementation for Phoenix.LiveView.mount/3.

Link to this function

owns_sites?(user, sites)

View Source

See Plausible.Teams.Adapter.Read.Ownership.owns_sites?/2.

Link to this function

percentage_change(assigns)

View Source

Attributes

  • change (:integer) (required)

Callback implementation for Phoenix.LiveView.render/1.

Attributes

  • filter_text (:string) - Defaults to "".
  • uri (URI) (required)

Attributes

Attributes

  • hourly_stats (:map) (required)
Link to this function

upgrade_nag_screen(assigns)

View Source