Commit graph

68 commits

Author SHA1 Message Date
Lance Edgar 4189bdf919 Rename methods provided by plugin 2022-08-11 00:17:10 -05:00
Lance Edgar dee27b51f5 Add components for login form and customer field 2022-08-09 14:40:04 -05:00
Lance Edgar e537d8e3a6 Put available settings in the store; etc.
also add `build-watch` script for dev's sake

menu component no longer allows anonymous feedback by default

logo component gets a `centered` prop
2022-08-09 14:38:41 -05:00
Lance Edgar 3392f8cbd6 Increase spacing around "Create" button for model-index 2022-08-08 19:36:27 -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 31cebd28c2 Cleanup some receiving cruft 2022-07-24 22:30:55 -05:00
Lance Edgar 720fc6182d Allow override of "create" permission for model index 2021-09-03 18:29:49 -05:00
Lance Edgar a0a405f849 Allow for "native sort" params in model index 2021-09-03 16:27:10 -05:00
Lance Edgar 695ea388a6 Allow multiple feedback recipient options
in which case user must choose one, to send feedback
2021-08-02 18:44:29 -05:00
Lance Edgar 6e949eb199 Use better class name for logo image styles
sheesh, we were affecting *all* images i think...
2021-07-29 20:05:22 -05:00
Lance Edgar edede0f2ce Allow "any" number for inventory cases/units, including decimal 2021-04-12 11:35:12 -05:00
Lance Edgar f19b1bc387 Add "angle-down" icon for user menu button
make it more obvious that it's a menu button...
2021-02-10 16:49:19 -06:00
Lance Edgar af21cab150 Add initial "inventory" component, for updating row counts 2020-03-29 16:37:25 -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 f68db3c97c Stop showing Buefy toast messages at bottom of screen
top is much better at least for development...
2020-03-24 13:57:19 -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 36ba991bdc Add new ByjoveReceiving component 2020-03-20 14:02:07 -05:00
Lance Edgar 09852baa84 Fix pagination bug in model-crud 2020-03-20 13:53:11 -05:00
Lance Edgar 985860732d Add byjoveCurrency filter 2020-03-20 13:52:16 -05:00
Lance Edgar 0ceabeb53f Wrap "create new object" button, for padding 2020-03-13 13:16:14 -05:00
Lance Edgar 68a349383c Let caller define placeholder and icon for autocomplete field 2020-03-01 17:32:37 -06: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 a9c4548594 Make sure we never ask for page 0 when fetching model index data 2020-02-23 21:09:26 -06:00
Lance Edgar 24667ead2a Consolidate some perm check logic 2020-02-23 21:09:04 -06:00
Lance Edgar 41ccf00049 Update permissions when logging in user 2020-02-21 12:05:40 -06:00
Lance Edgar 637363909a Use empty object for default user info 2020-02-12 19:28:43 -06:00
Lance Edgar 0b4e4f9894 Add proper logout logic to menu; let caller hide root options, about link 2020-02-11 13:54:53 -06:00
Lance Edgar c17c25b4cb Change aria-role (to "menu") for main user menu 2020-02-11 13:42:47 -06:00
Lance Edgar 3c4e9567a9 Add user_is_admin flag to app store, plus logic to set/clear it 2020-02-11 13:33:54 -06:00
Lance Edgar a80a42fb56 Add session_established flag in global store 2020-02-11 11:06:11 -06:00
Lance Edgar 777f877dd5 Add ByjovePlugin for sake of $hasPerm() method
hopefully this will be home to more things over time?
2020-02-11 11:05:31 -06:00
Lance Edgar 7664f9bbb9 Delay showing the app until user info is fetched 2020-02-10 19:53:36 -06:00
Lance Edgar 5451f87f30 Remove some redirect magic, for logged-in users
that is now the custom app's responsibility
2020-02-10 17:35:45 -06:00
Lance Edgar 4501505f38 Stop including Home link in menu
caller must explicitly do that if they want it
2020-02-10 17:35:22 -06:00
Lance Edgar a1a9aafdac Stop forcing redirect to login for anonymous user
custom app should be responsible for that i think..yes?
2020-02-10 16:31:33 -06:00
Lance Edgar f0d94cf06b Let caller control whether app footer is shown 2020-02-10 16:31:19 -06:00
Lance Edgar 3d89cffa65 Let caller control whether Login and Feedback menu items are shown 2020-02-10 16:30:38 -06:00
Lance Edgar e131305902 Force redirect to login page, if settings say so
this is pretty rudimentary, probably needs to be smarter or else should maybe
just be defined within final app instead of byjove
2020-02-10 14:18:28 -06:00
Lance Edgar ac5231c657 Add icons to nav header buttons
although we probably will need a way to remove those soon..  since we don't
have a ton of space up there
2020-02-09 16:30:36 -06:00
Lance Edgar fb5e6cde46 Add page-content-wrapper to main app template 2020-02-08 21:21:39 -06:00
Lance Edgar 7f1ef1b335 Fix bug when checking user session
must have a user before can be root
2019-12-02 13:53:23 -06:00
Lance Edgar 915b58aafa Absorb header, footer into main section of feedback dialog
trying to make it less wonky...
2019-11-26 16:55:39 -06:00
Lance Edgar 817d8bef13 Add app/menu support for "become / stop being root" feature 2019-11-26 16:43:51 -06:00