Current section
23 Versions
Jump to
Current section
23 Versions
Compare versions
5
files changed
+25
additions
-35
deletions
| @@ -4,6 +4,13 @@ All notable changes to this project will be documented in this file. | |
| 4 4 | The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), |
| 5 5 | and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). |
| 6 6 | |
| 7 | + ## [0.28.1](https://github.com/township-agency/ex_teal/compare/v0.28.0...v0.28.1) (2024-10-15) |
| 8 | + |
| 9 | + |
| 10 | + ### Bug Fixes |
| 11 | + |
| 12 | + * sorting an index request should pass the conn to the child fields ([#284](https://github.com/township-agency/ex_teal/issues/284)) ([42161d4](https://github.com/township-agency/ex_teal/commit/42161d447655045d0dc37580a863783dfba6d7b2)) |
| 13 | + |
| 7 14 | ## [0.28.0](https://github.com/township-agency/ex_teal/compare/v0.27.9...v0.28.0) (2024-08-13) |
| @@ -1,20 +1,26 @@ | |
| 1 1 | # ExTeal |
| 2 2 | |
| 3 | + ExTeal is a beautiful administration dashboard written for Phoenix Apps. It provides a flexible and customizable interface for managing your application's data and resources. |
| 4 | + |
| 5 | + ## Features |
| 6 | + |
| 7 | + - Easy integration with Phoenix applications |
| 8 | + - Customizable resources and fields |
| 9 | + - Built-in CRUD operations |
| 10 | + - Flexible search and filtering |
| 11 | + - Role-based access control |
| 12 | + - Customizable dashboards and cards |
| 13 | + - CSV import/export functionality |
| 14 | + - Responsive design for desktop and mobile |
| 15 | + |
| 3 16 | ## Installation |
| 4 17 | |
| 5 18 | Add ExTeal as a dependency in your `mix.exs` file: |
| 6 19 | |
| 7 20 | ```elixir |
| 8 | - def deps do |
| 9 | - [ |
| 10 | - {:ex_teal, "~> 0.25"} |
| 11 | - ] |
| 12 | - end |
| 21 | + {:ex_teal, ~> 0.28} |
| 13 22 | ``` |
| 14 23 | |
| 15 | - and configure Teal in `config/config.exs`: |
| 16 | - |
| 17 | - ``` |
| 18 24 | # config/config.exs |
| 19 25 | |
| 20 26 | config :ex_teal, |
| @@ -56,27 +62,4 @@ pipelines for authentication and authorization. | |
| 56 62 | end |
| 57 63 | ``` |
| 58 64 | |
| 59 | - Visit `/admin` as an authenticated user and see all the cool :rocket: |
| 60 | - |
| 61 | - ## Developing Teal |
| 62 | - |
| 63 | - Update a project that uses Teal to point to your local repo: |
| 64 | - |
| 65 | - ```elixir |
| 66 | - |
| 67 | - |
| 68 | - defp deps do |
| 69 | - [ |
| 70 | - {:ex_teal, path: "../ex_teal"} |
| 71 | - ] |
| 72 | - ``` |
| 73 | - |
| 74 | - In the same project's `dev` config, configure Teal to use `vue-cli` generated |
| 75 | - assets rather than the compiled assets. |
| 76 | - |
| 77 | - ```elixir |
| 78 | - config :ex_teal, compiled_assets: false |
| 79 | - ``` |
| 80 | - |
| 81 | - |
| 82 | - In your local teal `assets/` folder, host the assets by running `yarn && yarn dev` |
| 65 | + Visit `/admin` as an authenticated user and see all the cool :rocket: |
| \ No newline at end of file |
| @@ -1,7 +1,7 @@ | |
| 1 1 | {<<"links">>, |
| 2 2 | [{<<"GitHub">>,<<"https://github.com/township-agency/ex_teal">>}]}. |
| 3 3 | {<<"name">>,<<"ex_teal">>}. |
| 4 | - {<<"version">>,<<"0.28.0">>}. |
| 4 | + {<<"version">>,<<"0.28.1">>}. |
| 5 5 | {<<"description">>, |
| 6 6 | <<"ExTeal is a beautiful administration dashboard written for Phoenix Apps built\nby Township.">>}. |
| 7 7 | {<<"elixir">>,<<"~> 1.12">>}. |
| @@ -180,7 +180,7 @@ defmodule ExTeal.Resource.Index do | |
| 180 180 | resource |
| 181 181 | |> Fields.index_fields(conn) |
| 182 182 | |> Enum.find(&(&1.attribute == field)) |
| 183 | - |> then(& &1.type.apply_options_for(&1, new_schema, %{}, :index)) |
| 183 | + |> then(& &1.type.apply_options_for(&1, new_schema, conn, :index)) |
| 184 184 | |
| 185 185 | handle_sort(query, field_struct, String.to_existing_atom(field), dir) |
| 186 186 | end |
| @@ -6,7 +6,7 @@ defmodule ExTeal.MixProject do | |
| 6 6 | def project do |
| 7 7 | [ |
| 8 8 | app: :ex_teal, |
| 9 | - version: "0.28.0", |
| 9 | + version: "0.28.1", |
| 10 10 | elixir: "~> 1.12", |
| 11 11 | start_permanent: Mix.env() == :prod, |
| 12 12 | build_embedded: Mix.env() == :prod, |