Lance Edgar
214f3d9b1e
Improve merge support for records with no uuid
...
for now we "pretend" they have a uuid still, custom view is
responsible for determining the value for each row if needed
2023-06-18 21:20:45 -05:00
Lance Edgar
8d880fc9dd
Add workaround for "share grid link" on insecure sites
2023-05-18 13:48:22 -05:00
Lance Edgar
976a5836a9
Purge even more jquery stuff
...
and related static files etc. from old themes
this might be the end of it..??
2023-02-03 17:08:33 -06:00
Lance Edgar
8410419717
Remove support for Buefy 0.8
...
only Buefy 0.9 and greater are supported now
2023-02-01 18:44:55 -06:00
Lance Edgar
8264a69cec
Add "direct link" support for master grids
2022-12-25 14:42:29 -06:00
Lance Edgar
6fbc79fe5e
Add support for Buefy 0.9.x
...
or: add hacks to continue supporting Buefy 0.8.x
..depending on your perspective
2022-12-22 20:49:20 -06:00
Lance Edgar
871ea84f96
Add support for "is row checkable" in grids
...
i.e. when grid has checkboxes, some rows maybe shouldn't get one
2022-12-20 19:14:54 -06:00
Lance Edgar
d5d9c644a2
Add the ViewSupplement concept
...
also fix cell-class for grid columns. cannot use "raw" fieldname
because in some cases (e.g. 'number', 'rate') Bulma may interpret that
as actually meaning something, and affect the display
2022-12-10 09:46:54 -06:00
Lance Edgar
2e3823364c
Add support for editing catalog cost in receiving batch, per new theme
...
had to add several "under the hood" features to make this work, to
embed a Vue component within grid `<td>` cells, etc.
2022-12-05 14:03:03 -06:00
Lance Edgar
deed2111fb
Add "between" verb for numeric grid filters
2022-11-15 16:29:15 -06:00
Lance Edgar
d52a186e12
Add support for toggling visibility of email profile settings
2022-08-06 18:38:17 -05:00
Lance Edgar
ec2600ddf7
Add simple searchable column support for non-AJAX grids
...
idk maybe even AJAX grids can use? not gonna try at the moment
2022-02-26 21:00:05 -06:00
Lance Edgar
4d404cb20b
Add auto-filter hyperlinks for batch row status breakdown
2022-02-20 19:40:32 -06:00
Lance Edgar
340a177a29
Overhaul desktop views for receiving, for efficiency
...
still could use even more i'm sure, but this takes advantage of buefy
to add dialogs etc. from the "view receiving batch row" page. this
batch no longer allows direct edit of rows but that's hopefully for
the better.
2021-12-13 18:37:47 -06:00
Lance Edgar
a553a26644
Optionally set the sticky-header
attribute for main buefy grids
...
should affect the 'index' and 'view' (with rows) but i don't think any
other pages will get this..?
2021-10-22 21:04:39 -05:00
Lance Edgar
3ece3303db
Refactor several "field grids" per Buefy theme
...
e.g. the Users field when viewing a Role, and Vendor Sources panel
when viewing a Product
2021-09-25 18:54:33 -04:00
Lance Edgar
87d8322b85
Add way to override grid action label rendering
...
so that custom HTML can be embedded in there somehow..
2021-09-22 16:42:49 -05:00
Lance Edgar
4d742bacb1
Allow grid columns to be *invisible* (but still present in grid)
...
this can be useful when you need contextual data for a given row, for
sake of front-end UI features, but do not want to actually show the
extra data column(s)
2021-08-29 10:28:36 -05:00
Lance Edgar
fe584f193f
Always show all grid actions...for now
...
we don't have a great way to accommodate too many actions; ideally
could hide some in a drawer, but for now we just show them all for
simplicity...
2021-08-28 18:45:31 -05:00
Lance Edgar
3cf4c0f8e4
Require explicit opt-in for "clicking grid row checks box" feature
...
sometimes it makes sense *not* to enable that, in which case disabled
probably should be the default
2021-08-23 19:26:50 -05:00
Lance Edgar
637c249c36
Handle row click as if checkbox was clicked, for checkable grid
...
should be more convenient since the checkbox is a rather small target as
compared to the row itself.
this also brings in newer Buefy 0.8.6 b/c it includes "shift+click" behavior
for the checkbox:
- https://github.com/buefy/buefy/issues/535
- https://github.com/buefy/buefy/pull/1894
2021-02-26 21:49:58 -06:00
Lance Edgar
89f0336af9
Add special "contains any of" verb for string-based grid filters
2021-02-12 13:57:54 -06:00
Lance Edgar
37a60592f6
Add 'warning' class for 'delete' action in b-table grid
2020-09-17 13:54:43 -05:00
Lance Edgar
7a0f975b31
Fix spacing between components in "grid tools" section
2020-08-23 11:26:29 -05:00
Lance Edgar
374f20ff1a
Remove <section>
tag around "no results" for minimal b-table
2020-08-20 17:51:21 -05:00
Lance Edgar
b5028ab2d0
Add pagination to price, cost history grids for product view
2020-08-17 21:38:12 -05:00
Lance Edgar
4c3112b85b
Fix another pagination bug with buefy grid tables
...
hopefully this gets it all working right...ugh
2020-07-19 18:43:31 -05:00
Lance Edgar
3819dd9469
Fix pagination sync issue with buefy grid tables
2020-07-15 22:05:57 -05:00
Lance Edgar
a8a79ee326
Let each grid component have a custom name, if needed
2020-05-20 19:19:06 -05:00
Lance Edgar
3223a77cb1
Add "danger" style for "delete" grid row action
2020-03-19 00:02:27 -05:00
Lance Edgar
2605f5ab79
Fix batch row status breakdown for Buefy themes
...
also, fix the "import batch from file" feature UI, per Buefy theme
2020-03-02 14:38:06 -06:00
Lance Edgar
bcfb4f257d
Improve checkbox click handling support for grids
...
i.e. let custom use define click handlers
2019-10-31 18:03:17 -05:00
Lance Edgar
3b65b06a3d
Fix buefy grid pager bug
...
"has results, then no results" bug where spinner kept going
2019-10-15 15:30:52 -05:00
Lance Edgar
ec8ce36bd5
Only show action URL if present, for Buefy grid rows
2019-10-12 18:35:22 -05:00
Lance Edgar
d97f95fb92
Add basic support for "between" verb, for date range grid filter
...
this seems to be complete, but we'll see in practice if i forgot something..
2019-08-29 17:23:32 -05:00
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
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
a4d6c6694a
Make sure grid action links preserve white-space
...
i.e. don't wrap between link icon and text!
2019-07-01 11:46:52 -05:00
Lance Edgar
76a19ebe5b
Pull the grid tools to the right, for Buefy
2019-06-16 16:23:01 -05:00
Lance Edgar
3ddde1a1ca
Use locale formatting for some numbers in the Buefy grid
2019-06-15 19:50:25 -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
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
8a47ab2dde
Punctuation tweak
2019-05-23 13:58:29 -05:00
Lance Edgar
7b1947914e
Make Buefy grids use proper Vue.js component structure
...
at least, better than before...this lets each page have the final say about the
app logic etc.
2019-05-23 12:10:11 -05:00
Lance Edgar
be6a1d916f
Add Buefy support for enum grid filters
2019-05-21 18:40:08 -05:00
Lance Edgar
47b2c603ef
Expose per-page size picker for grids
2019-05-21 17:37:39 -05:00
Lance Edgar
d5d04b7dac
Add support for Buefy datepicker in grid filters
2019-05-21 13:44:02 -05:00
Lance Edgar
4a198ce473
Tweak how we disable grid filter options
...
hoping to find some magic combo that works for everyone...
2019-05-08 17:16:27 -05:00
Lance Edgar
e9976635ba
Align pseudo-columns for grid filters; let app settings define widths
2019-05-08 17:13:01 -05:00