Commit graph

346 commits

Author SHA1 Message Date
Lance Edgar
0d2f6e060f Use simple_error() from rattail, for showing some error messages
just trying to standardize a little
2019-09-19 20:19:26 -05:00
Lance Edgar
a972fb7359 Add todo comment 2019-09-14 15:07:47 -05:00
Lance Edgar
4a175c76f9 Add proper support for composite primary key, in MasterView
at least hopefully this is complete, and didn't break anything else...
2019-07-29 19:27:23 -05:00
Lance Edgar
e756ae3c8f Add "multi-engine" support for Trainwreck transaction views 2019-07-25 15:40:38 -05:00
Lance Edgar
839f6affe2 Add basic "DB picker" support, for views which allow multiple engines
i.e. whichever engine is "current" will determine where data comes from
2019-07-09 22:14:12 -05:00
Lance Edgar
993ce9289d Add basic "downloadable" support for ExportMasterView
instead of it trying to do its own thing for that...  more to come on this
2019-07-05 16:48:29 -05:00
Lance Edgar
8c610e2142 Add render_customer() method for MasterView
surely will be commonly useful?
2019-07-05 16:44:46 -05:00
Lance Edgar
f727c87b56 Add Buefy support for "delete w/ simple confirm" from index grid 2019-06-10 21:59:10 -05:00
Lance Edgar
796170100f Add support for "simple confirm" of object deletion
i.e. can just use `window.confirm()` instead of showing full confirm page

note, this is jquery-only for now
2019-06-08 18:50:16 -05:00
Lance Edgar
f10a80333b Add <once-button> for sending email preview; various other tweaks 2019-06-06 15:58:46 -05:00
Lance Edgar
6749604210 Add a generic "user" field renderer to master view
and use it for PersonNote view
2019-06-05 16:04:14 -05:00
Lance Edgar
a37b0229a0 Fix edit icon for row grids 2019-05-23 17:12:19 -05:00
Lance Edgar
b829cd260c Assume forms support Buefy if theme does; fix basic CRUD views 2019-05-23 13:11:26 -05:00
Lance Edgar
dfe0f49655 Add basic/generic Buefy support to the Form class
mostly just affects rendering, apparently backend logic needn't really change?
2019-05-20 16:24:14 -05:00
Lance Edgar
9d6cc86e60 Add basic Buefy support for row grids
possibly even "complete" support...guess we'll see
2019-05-06 19:53:59 -05:00
Lance Edgar
a3ca6abb7a Add basic support for "quickie" search
a master view can "support" quickie search, which means it will setup a route
suitable for the quickie search form action.  and/or it can "expose" quickie
search which means it will actually show a quickie search form on its views
2019-05-06 18:34:42 -05:00
Lance Edgar
303c741a10 Add basic support for "touching" a data record object
to trigger further datasync logic for it, etc.
2019-05-03 14:24:55 -05:00
Lance Edgar
cb67a23d0a Add render_person() convenience method for MasterView 2019-04-25 14:46:11 -05:00
Lance Edgar
798a9893e9 Add category, family, report code support for generic product batch 2019-04-23 22:50:58 -05:00
Lance Edgar
2c1985bef3 Add support for generic "product" batch type 2019-04-19 13:23:21 -05:00
Lance Edgar
6d68b56c56 Add views for "new product" batches 2019-04-17 21:48:41 -05:00
Lance Edgar
fcfc8b56bb Add basic Buefy support for App Settings page
also various buttons have been tweaked on some other "master view" pages
2019-04-17 14:55:27 -05:00
Lance Edgar
e1ff4578e9 Improve logic used to determine if current theme supports Buefy
let settings define this per theme, but have sane defaults also
2019-04-16 15:44:02 -05:00
Lance Edgar
e45dfd7351 More tweaks for Buefy support 2019-04-15 20:34:34 -05:00
Lance Edgar
4a92b05b57 Add Buefy support for email preview buttons 2019-04-15 19:54:17 -05:00
Lance Edgar
a0cd1f4cd0 Add "most of" Buefy support for grid filters
still a couple of details to wrap up yet, but this is most of it!
2019-04-15 18:36:14 -05:00
Lance Edgar
9ace36c459 Remove duplicate code
not sure how that got in there, oh well
2019-03-27 20:10:09 -05:00
Lance Edgar
8d6ecc3ec7 Add basic "Buefy" support for grids (master index view)
still pretty experimental at this point, but making progress
2019-03-24 21:09:08 -05:00
Lance Edgar
eafe3737dc Refactor template content_title() and prev/next buttons feature
those were intertwined but now are a bit more separate, much better
2019-03-09 21:22:07 -06:00
Lance Edgar
4a9b528c47 Only objectify address data if present
i.e. don't try to "remove" an address if no fields are present in form
2019-03-06 21:06:48 -06:00
Lance Edgar
e916d4f71f Add basic support for editing address for a "contact" record 2019-02-19 18:11:15 -06:00
Lance Edgar
b0b551af82 Add basic support for "mobile edit" of records
specifically need to allow this for Customer records, for one app
2019-02-19 17:10:42 -06:00
Lance Edgar
a45ce2ced2 Introduce support for "children first" truck dump receiving
still needs more testing to see what's left...
2019-02-06 16:50:40 -06:00
Lance Edgar
6cfc72c875 Add support for downloading batch rows as XLSX file 2019-02-05 18:18:02 -06:00
Lance Edgar
13ec46b145 Add generic support for "enable/disable selection" of grid records 2019-02-05 10:49:54 -06:00
Lance Edgar
84fc3e7d50 Add support for "delete set" feature for main object index view
aka. "delete selected objects"
2019-02-02 19:34:36 -06:00
Lance Edgar
8945dd75aa Convert all datetime values to localtime, for "download rows as CSV"
this probably will need to be more flexible at some point; this works for now
2019-01-15 15:49:54 -06:00
Lance Edgar
512e74c493 Add basic master view for Members table 2018-12-19 23:07:32 -06:00
Lance Edgar
c7496d7018 Clean up some inventory batch UI logic; prefer units by default 2018-12-18 15:13:01 -06:00
Lance Edgar
d369693f9f Add oneoff_import() helper method to MasterView class 2018-12-15 22:29:28 -06:00
Lance Edgar
d9e5eff23d Fix download filename when it contains spaces 2018-11-25 17:27:31 -06:00
Lance Edgar
4fa9ab3c6e Add better support for "make import batch from file" pattern 2018-11-22 20:26:28 -06:00
Lance Edgar
0375d66b91 Tweak default "model title" logic for master view
i.e. if view class doesn't declare one
2018-11-22 11:12:31 -06:00
Lance Edgar
e27debd452 Allow override of template for custom create views 2018-11-17 18:23:07 -06:00
Lance Edgar
2bd107056c Add MasterView.render_product(), fix edit for pricing batch row 2018-10-23 17:20:47 -05:00
Lance Edgar
e277a19f71 Hopefully, let the Grid class generate a default list of columns 2018-10-19 20:26:04 -05:00
Lance Edgar
78941ec8d9 Add thumbnail images to Appliances grid
guess we'll see how folks like this
2018-10-19 19:47:00 -05:00
Lance Edgar
4aa8f43a7e Add basic image upload support for tempmon appliances 2018-10-19 19:20:20 -05:00
Lance Edgar
94ba18eaee Add basic Excel download support for raw worked shifts
also, tweak response per python3
2018-10-09 14:10:36 -05:00
Lance Edgar
d7863c2572 Add speedbump by default when deleting any "row" record
also, allow deleting rows for truck dump child batch
2018-09-22 19:27:17 -05:00