Lance Edgar
|
fd700e06f4
|
Let a grid have custom ajax data url
i.e. instead of assuming we should GET the current "partial" page, can use a
different URL altogether now
|
2019-08-23 19:28:36 -05:00 |
|
Lance Edgar
|
1bb0330ab5
|
Refactory Buefy templates to use WholePage and ThisPage components
plus add `GridFilter.set_choices()` method
|
2019-08-03 16:57:13 -05:00 |
|
Lance Edgar
|
c09437880f
|
Add support for general "view click handler" for <b-table> element
plus some other tweaks for sake of revision history in profile view
|
2019-07-09 14:56:33 -05:00 |
|
Lance Edgar
|
ff3ee351d1
|
Add 'duration_hours' type for grid column display
|
2019-07-01 11:46:21 -05:00 |
|
Lance Edgar
|
b14e8daa1a
|
Expose a way to embed "raw" data values within Buefy grid data
for sake of custom front-end stuff
|
2019-06-28 15:47:52 -05:00 |
|
Lance Edgar
|
1ee76878d9
|
Various things to support "notes management" from person profile view
|
2019-06-06 13:49:59 -05:00 |
|
Lance Edgar
|
1c07508f39
|
Add <b-table> element template for simple grids with "static" data
|
2019-06-04 13:33:56 -05:00 |
|
Lance Edgar
|
be6a1d916f
|
Add Buefy support for enum grid filters
|
2019-05-21 18:40:08 -05:00 |
|
Lance Edgar
|
d5d04b7dac
|
Add support for Buefy datepicker in grid filters
|
2019-05-21 13:44:02 -05:00 |
|
Lance Edgar
|
b2b4e1bfbc
|
Add basic Buefy support for merging 2 objects
i.e. special grid stuff, plus "merge" view
|
2019-05-06 21:43:59 -05:00 |
|
Lance Edgar
|
0d00bd746e
|
Don't assume grid model class declares its title
that works for Rattail models, but not e.g. those from Onager
|
2019-04-25 15:39:30 -05:00 |
|
Lance Edgar
|
25c8edd81c
|
Allow config to specify grid "page size" options
|
2019-04-23 22:56:38 -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
|
e45dfd7351
|
More tweaks for Buefy support
|
2019-04-15 20:34:34 -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
|
ec70d85638
|
Add custom grid filter for phone number fields
and use it in various grid views
|
2019-04-10 14:20:36 -05:00 |
|
Lance Edgar
|
511ba61b1c
|
Add move_before() convenience method for GridFilterSet
to more easily rearrange sort order of grid filters
|
2019-04-02 14:44:59 -05:00 |
|
Lance Edgar
|
05b8ed7153
|
Add support for "row status" in Buefy grid tables
|
2019-03-28 23:09:10 -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
|
f755aefbfa
|
Honor enum sort order where possible, for grid filter values
|
2019-03-12 15:13:34 -05:00 |
|
Lance Edgar
|
60334229d5
|
Fix grid link logic some more...
should not show link if value is None
|
2019-03-06 21:03:43 -06:00 |
|
Lance Edgar
|
40c7e34014
|
Show grid link even when value is "false-ish"
saw a value of '0' get rendered with no link; this fixes
|
2019-03-06 18:22:12 -06:00 |
|
Lance Edgar
|
a637ba1e6b
|
Add 'percent' as field type for Form; fix rendering of 'percent' for Grid
these both now assume the value obtained will be a "typical" percentage
decimal, i.e. 0.30130 instead of 30.130
|
2018-12-18 17:41:38 -06:00 |
|
Lance Edgar
|
fed42d4898
|
Add "200 per page" option for UI table grids
|
2018-11-14 10:38:08 -06:00 |
|
Lance Edgar
|
37b9a81344
|
Add Grid.hide_columns() convenience method
|
2018-11-07 16:47:41 -06:00 |
|
Lance Edgar
|
7e28619e9d
|
Don't include grid filters for LargeBinary columns
|
2018-10-19 20:26:33 -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 |
|
Lance Edgar
|
944e896196
|
Consider any integer greater than PG allows, to be invalid grid filter value
this feels pretty hacky...would be nice to come up with a better way
|
2018-06-29 12:56:22 -05:00 |
|
Lance Edgar
|
0c653b5ee3
|
Fix input validation for integer grid filter
sometimes a default is provided as int
|
2018-06-27 10:26:37 -05:00 |
|
Lance Edgar
|
93b3a5dab6
|
Change how date fields are handled within grid filters
don't set type="date" b/c that can trigger native browser datepicker
|
2018-06-14 19:37:50 -05:00 |
|
Lance Edgar
|
8428790001
|
Use "known" label if possible when making new grid filters
|
2018-06-14 12:04:35 -05:00 |
|
Lance Edgar
|
ae3f79e522
|
Set filter value renderer when setting enum for grid field
|
2018-06-05 14:38:52 -05:00 |
|
Lance Edgar
|
3688979b8f
|
Add integer-specific grid filter
this was necessary for smarter handling of "invalid" input, e.g. '.645' is not
a good value when querying integer fields
|
2018-06-05 11:08:36 -05:00 |
|
Lance Edgar
|
46c8887c3e
|
Set default column renderers for grid based on data types
guess this really just moves that logic so it happens earlier
|
2018-06-01 13:02:55 -05:00 |
|
Lance Edgar
|
ccdf821583
|
Add MasterView.use_byte_string_filters flag for encoding search values
|
2018-05-24 15:09:00 -05:00 |
|
Lance Edgar
|
17d99e16b9
|
More tweaks for python 3
|
2018-02-12 19:22:05 -06:00 |
|
Lance Edgar
|
ee35cc6f22
|
Misc. cleanup for Python 3
|
2018-02-12 14:41:40 -06:00 |
|
Lance Edgar
|
d9ff59afda
|
Refactor grid filters to use colander/deform
|
2018-02-12 12:15:07 -06:00 |
|
Lance Edgar
|
91b395118e
|
Allow passing arbitrary attrs when rendering grid
|
2018-02-09 21:13:41 -06:00 |
|
Lance Edgar
|
a3b2fbadb7
|
Make sure each grid has unique set of actions
|
2018-02-09 15:04:57 -06:00 |
|
Lance Edgar
|
97c5e97ccb
|
Add append() and replace() methods for core Grid class
|
2018-02-02 13:16:25 -06:00 |
|
Lance Edgar
|
62d1918892
|
Add FieldList wrapper for grid columns list
needs to be merged with the "forms2" equivalent at some point...
|
2018-01-25 14:43:30 -06:00 |
|
Lance Edgar
|
50d6f1f95a
|
Let grids be paginated even when they have no model class
|
2018-01-06 19:21:45 -06:00 |
|
Lance Edgar
|
f17617c659
|
Accept value_enum kwarg when creating grid filter
and do the "normal" thing for that if one is given
|
2017-12-19 14:21:19 -06:00 |
|
Lance Edgar
|
587871e87c
|
Add Grid.remove_filter() method
|
2017-12-06 19:54:13 -06:00 |
|
Lance Edgar
|
20bae8e54b
|
Add Grid.set_sort_defaults() method
|
2017-12-04 20:53:46 -06:00 |
|
Lance Edgar
|
2cba0ade84
|
Accept None as valid arg for Grid.set_filter()
i.e. to effectively remove the filter
|
2017-11-11 09:52:11 -06:00 |
|
Lance Edgar
|
52342a7612
|
Fix value auto-selection for enum grid filters
|
2017-10-22 20:56:30 -07:00 |
|
Lance Edgar
|
401cba23b7
|
Add grid filter which treats empty string as NULL
|
2017-10-22 20:00:31 -07:00 |
|
Lance Edgar
|
14f67746bf
|
Allow passing None to Grid.set_joiner()
doing so will remove the joiner
|
2017-10-18 12:54:57 -07:00 |
|