damir
LiveUI - macros for building live views to manage db records
Hi everyone,
I wrote this over the past year while learning Elixir. It started when I tried to reuse the code between generated scaffolds so I added more stuff that is common in these kind of tools.
Here are some of the features:
- autogenerated views for CRUD operations
- basic protocol implementation with sensible defaults
- sortable tables with pagination
- inline editing
- advanced search form
- format values with css, functions and components
- handles ownership to current user
- handles relations
- handles file uploads
- support to override functions for data processing
- support to override live view callbacks
- custom actions for operations on single and multiple records
- audit with record versioning
- dark and light mode
- debug mode that displays socket assigns
I hope you find it useful and I look forward to your feedback!
Most Liked
damir
Yes, it is similar to Activeadmin or Kaffy.
There is no online demo yet but you can run demo app locally:
There is a sample aplication bundled with the project that has all these set up, just run
mix ecto.setupto generate some random data and start the server withiex -S mix phx.server. Admin credentials areadmin@example.com/password.
List records:
Inline edit in record view:
Custom action on multiple records:
Custom action on a single record:
xinha-sh
Is there any online demo. How does it behave like an admin panel ?
Popular in Announcing
Other popular topics
Categories:
Sub Categories:
Forums
Popular Tags
- #ecto
- #liveview
- #troubleshooting
- #learning-elixir
- #deployment
- #library
- #erlang
- #testing
- #genserver
- #mix
- #absinthe
- #remote-other
- #otp
- #plug
- #how-to-question
- #macros
- #postgres
- #channels
- #elixirconf
- #exunit
- #discussion
- #code-sync
- #javascript
- #podcasts
- #onsite
- #dialyzer
- #docker
- #authentication
- #umbrella
- #full-time-contract
- #podcasts-by-brainlid
- #ecto-query
- #elixir-ls
- #phoenix_html
- #iex
- #blog-post
- #graphql
- #genstage
- #ai
- #websockets
- #supervisor
- #advent-of-code
- #elixirconf-us
- #distillery
- #processes
- #forms
- #api
- #metaprogramming
- #security
- #performance













