ash_phoenix/README.md

24 lines
1.1 KiB
Markdown
Raw Normal View History

2020-10-21 06:54:35 +13:00
# AshPhoenix
2020-10-21 07:38:50 +13:00
![Elixir CI](https://github.com/ash-project/ash_phoenix/workflows/Ash%20CI/badge.svg)
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
[![Coverage Status](https://coveralls.io/repos/github/ash-project/ash_phoenix/badge.svg?branch=master)](https://coveralls.io/github/ash-project/ash_phoenix?branch=master)
[![Hex version badge](https://img.shields.io/hexpm/v/ash_phoenix.svg)](https://hex.pm/packages/ash_phoenix)
2020-10-21 06:54:35 +13:00
2020-10-21 07:38:50 +13:00
See the online documentation for `AshPhoenix.LiveView` for the current set of utilities. This is a new integration, and doesn't do much. Currently, the only
thing that is offered are a few helpers for keeping query data live ins ide of live views. There is some experimental code here as well for passing an `Ash.Changeset` to Phoenix.HTML.form_for/4.
2020-10-21 06:54:35 +13:00
2020-10-21 07:38:50 +13:00
Roadmap:
- UI authorization utilities e.g `<%= if authorized_to_do?(resource, action, actor) do %>`
- Potentially helpers for easily connecting buttons to resource actions
- Form helpers for using `Ash.Changeset`s with `form_for`
2020-10-21 06:54:35 +13:00
```elixir
def deps do
[
{:ash_phoenix, "~> 0.1.0"}
]
end
```