Commit graph

32 commits

Author SHA1 Message Date
Lance Edgar 709fd5200d Add 'target' kwarg for grid action links
For opening link in new window etc.
2017-01-29 22:52:09 -06:00
Lance Edgar d4defef138 Fix type error in grid numeric filter 2017-01-03 10:02:14 -06:00
Lance Edgar 8f98d61a38 Tweak default "numeric" grid filter, to ignore UPC-like values
Those tend to cause SQL errors, so just "fail silently" for now.  This
situation needs to be improved on the front end at some point...
2016-12-28 16:42:09 -06:00
Lance Edgar 5a24c4113f Add new 'bytestring' filter for grids that need it
For now, must explicitly request the filter, nothing will use it by default
2016-12-07 16:00:36 -06:00
Lance Edgar 1f9a27a7ae Tweak default factory for boolean grid filters 2016-11-10 23:13:21 -06:00
Lance Edgar b157b79938 Remove last references to 'edbob' package 2016-10-09 21:12:13 -05:00
Lance Edgar 1c45472fe5 Tweak how a grid filter factory is determined
Don't inspect anything if a factory is provided by caller.
2016-09-19 16:34:12 -05:00
Lance Edgar 65d1c24230 Add a couple of extra verbs to base grid filter class
Seems like these could be more useful some day; for now they're used by
a bespoke project.
2016-09-19 16:33:24 -05:00
Lance Edgar 9de5a3b39e Tweak how we use DB session to fetch grid settings 2016-08-19 16:01:44 -05:00
Lance Edgar 01edbf32d1 Add null / not null verbs back to default boolean grid filter 2016-08-13 18:26:46 -05:00
Lance Edgar abb42e9f25 Add initial support for grid index URLs
Yay, been wanting this for some time now.
2016-05-01 17:50:57 -05:00
Lance Edgar 90bde4f2e0 Change default filter type for integer fields, in new grids
Treat that field like the numeric value it is.
2016-04-06 21:16:46 -05:00
Lance Edgar 7676312dd7 Add support for column header title (tooltip) in new grids 2016-04-06 21:15:54 -05:00
Lance Edgar e13a58e808 Add the 'is any' verb to default list for most grid filters 2016-03-24 00:05:04 -05:00
Lance Edgar cd461aef51 Improve grid filters for datetime fields.
Hopefully this makes these filters more intuitive, by allowing user to
provide a date value but interpret in a datetime context.
2016-03-11 13:21:54 -06:00
Lance Edgar 62221a1a25 Add new BatchMasterView for new-style batches. 2016-02-14 16:47:35 -06:00
Lance Edgar a5080b113d Various tweaks to products grid filters etc.
Trying to troubleshoot some things...think we're good now.  Some of the
changes here were made and then discovered not to be necessary yet, but
left in place since they're probably good ideas anyway.
2016-02-13 13:00:55 -06:00
Lance Edgar 583548cad5 Refactor products view(s) per new master pattern.
Finally!
2016-02-12 20:44:41 -06:00
Lance Edgar 747471b08a Fix auto-creation of grid sorter, when joined table is involved. 2016-01-13 02:40:03 -06:00
Lance Edgar 1956c4c9cf Add edit mode for email "profile" settings.
Plus some related tweaks, needed to make that happen.
2016-01-10 17:35:34 -06:00
Lance Edgar ef40af814a Add readonly support for email profile settings.
More to come...  Also this required some form tweaking/overhaul(s).
2015-12-04 17:25:52 -06:00
Lance Edgar 920f0144c2 Treat filter by "contains X Y" as "contains X and contains Y". 2015-08-21 23:43:19 -05:00
Lance Edgar c9b01f6061 More grid filter improvements; add choice/enum/date value renderers. 2015-08-20 21:17:48 -05:00
Lance Edgar 032d538062 Add "valueless verbs" concept to grid filters.
Plus some other improvements I'm sure...
2015-08-20 20:29:04 -05:00
Lance Edgar e688471732 Don't show Save Defaults button if no user is logged in. 2015-08-17 17:21:41 -05:00
Lance Edgar 2b1bdec2f8 Add "Save Defaults" button so user can save personal defaults for any new grid. 2015-08-14 19:59:26 -05:00
Lance Edgar d57f5169b0 Add 'Default Filters' and 'Clear Filters' buttons to new grid filters form. 2015-08-14 18:53:39 -05:00
Lance Edgar d2b065a8fc Add basic checkbox support to new grids.
Also:

 * Add 'creatable', 'editable' etc. to master view class.
 * Add styles for warning/notice grid rows.
 * Misc. other tweaks.
2015-08-14 15:31:11 -05:00
Lance Edgar d4210844ac Convert label profiles to use master view.
Plus some more minor tweaks to the framework.
2015-08-12 00:46:39 -05:00
Lance Edgar af07f477dc Convert User pages to use master view.
And of course make some more tweaks to new grids etc.
2015-08-11 23:24:02 -05:00
Lance Edgar 9605d44b05 Convert Roles to use master view.
Also tweak the grid API here and there.
2015-08-11 15:01:21 -05:00
Lance Edgar 585eb09bec Add support for "new-style grids" and "model master views".
Finally, an API that makes some sense...  We don't yet have feature parity
with the old-style grids and CRUD views, but this is already a significant
improvement to the design.  Still needs a lot of docs though...
2015-08-10 18:58:31 -05:00