Commit graph

22 commits

Author SHA1 Message Date
Lance Edgar 2a1f5764a1 Misc. tweaks for model-crud, customer-field 2022-08-11 00:17:34 -05:00
Lance Edgar 427732bf1a Detect 404 notfound when viewing CRUD record; warn user accordingly
and always redirect to model index page
2022-07-26 20:48:22 -05:00
Lance Edgar 720fc6182d Allow override of "create" permission for model index 2021-09-03 18:29:49 -05:00
Lance Edgar 62d3c5fc05 Misc. fixes for model-crud, e.g. redirect to parent after deleting row 2020-03-29 16:34:12 -05:00
Lance Edgar d634143e84 Avoid showing "removed" batch rows by default 2020-03-29 16:32:52 -05:00
Lance Edgar d1db1c54c4 Add support for "Create Row" button when viewing parent CRUD object
plus misc. other tweaks, for polish
2020-03-27 11:48:30 -05:00
Lance Edgar bc148f910a Misc. improvements for "delete" support in model-crud 2020-03-24 13:57:49 -05:00
Lance Edgar e7a0ddb782 Let caller define row sorting for model-crud
also display a "title" for rows if set
2020-03-23 23:55:04 -05:00
Lance Edgar 09852baa84 Fix pagination bug in model-crud 2020-03-20 13:53:11 -05:00
Lance Edgar ce70eb2b91 Add basic "quick-delete" prop for model-crud
if set, and Delete button is clicked, will emit a "delete" event instead of
navigating to a "delete" URL
2020-03-01 17:23:21 -06:00
Lance Edgar cd71754f84 Fix the "view object" link in CRUD header
depending on if object is a "row" or not
2020-03-01 17:22:57 -06:00
Lance Edgar 2f58da7df3 Add basic support for "executing" mode, in model-crud 2020-02-26 21:31:38 -06:00
Lance Edgar d1b503fd41 Allow customization of Save button for model-crud 2020-02-26 17:45:58 -06:00
Lance Edgar 3d5e0be2fe Tweak how/when Edit and Delete buttons are shown for model-crud
esp. with regard to "row" views
2020-02-23 21:09:51 -06:00
Lance Edgar 55efba432a Let caller specify how to generate row item routes, for model-crud 2019-11-15 10:30:51 -06:00
Lance Edgar d8e215a1dd Add slot for row filters, in model-crud 2019-11-12 19:05:24 -06:00
Lance Edgar a6555b7bae Add way to hide save/cancel buttons for model-crud 2019-11-12 17:51:10 -06:00
Lance Edgar 84b2a2bf70 Cleanup global state logic a bit, for current user and permissions
this still isn't ideal perhaps, but leaves some clues for improvement
2019-11-12 11:49:07 -06:00
Lance Edgar eab0ebcc00 Add "quick entry" slot for model-crud component
custom app must define template etc. for that, if/when needed
2019-11-11 11:27:55 -06:00
Lance Edgar 18766831ea Add 'model-index' and 'model-crud' class to component divs
so the app can customize styles more easily
2019-11-08 19:45:58 -06:00
Lance Edgar e83d98905a Add basic pagination support for model index, and view w/ rows 2019-11-06 22:29:59 -06:00
Lance Edgar c87fd1ab35 Add "model crud" component 2019-11-06 20:18:07 -06:00