Lance Edgar
4d33e3dcbe
Move some custorder logic to handler; allow force-swap of product selection
2021-11-03 19:19:20 -05:00
Lance Edgar
52fbe73893
Overhaul the autocomplete component, for sake of new custorder
...
turns out we had some issues with our understanding of how that all
was supposed to work. this seems to be much cleaner and even
semi-documented :)
2021-10-16 15:37:23 -04:00
Lance Edgar
aeace0c7cf
Add debounce()
wrapper for buefy autocomplete
...
per docs, although was not very clear "which" debounce i needed, this
one at least works without errors..
hoping this fixes some page performance issues when tailbone
autocomplete component is present
2021-10-12 14:17:10 -04:00
Lance Edgar
3b6b1aa5b6
Invoke handler for customer autocomplete when making new custorder
2021-09-24 18:28:39 -04:00
Lance Edgar
57cb787b30
Add placeholder to customer lookup for new order
...
also hide phone field unless customer is identified
2021-09-24 17:28:14 -04: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
fe80028c07
Add support for "nested" menu items
...
some menus were just getting too long, so this gives us a way to collapse
certain items, which user can expand as needed
2021-02-01 13:58:08 -06:00
Lance Edgar
329e75ee82
Add initial "scanning" feature for Ordering Batches
2021-01-31 21:51:46 -06:00
Lance Edgar
708641a8f1
Purge things for legacy (jquery) mobile, and unused template themes
...
gosh it feels good to get rid of this stuff... fingers crossed that nothing
was broken, but am thinking it's safe
2021-01-30 15:52:47 -06:00
Lance Edgar
e1e3301fc1
Undo recent base.css
changes for <p>
tags
...
turns out i should be doing `<p class="block">` when i want spacing
2021-01-30 13:12:04 -06:00
Lance Edgar
480d878db8
Initial support for adding items to, executing customer order batch
2021-01-26 20:10:05 -06:00
Lance Edgar
0035a4129a
Add custom base.css
for falafel theme
...
this copies from bobcat/base.css and just adds margin-bottom for p tag.
this was done b/c in certain Buefy dialogs etc. the p tags are too close
together. not sure if this change breaks anything else yet...
2021-01-21 17:37:17 -06:00
Lance Edgar
ce629c91bb
Add CSS styles for 'codehilite' a la Pygments
...
this is in anticipation for displaying syntax-highlighted code snippets from
markdown source. this CSS file was generated according to instructions at
https://python-markdown.github.io/extensions/code_hilite/
2021-01-17 11:15:24 -06:00
Lance Edgar
cc833c52b6
Add common "form poster" logic, to make CSRF token/header names configurable
...
also refactor the Feedback logic to use it
2020-12-16 14:28:41 -06:00
Lance Edgar
a801672821
Improve error handling for feedback form
...
also make sure the message doesn't self-destruct when closing the dialog
2020-12-16 12:47:45 -06:00
Lance Edgar
058677adec
Tweak spacing for header logo + title, in falafel theme
...
those were just too close together, this should fix.
nb. i am unclear if everything in layout.css is actually being used..?
2020-12-15 19:09:17 -06:00
Lance Edgar
58362ae858
Add buefy theme support for ordering worksheet
2020-08-20 17:56:19 -05:00
Lance Edgar
c32f47ba95
Tweak the buefy autocomplete component a bit
...
to better support staying in sync w/ data on the caller/parent side
2020-08-02 19:13:40 -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
917d5ab3fa
Expose the Role.notes
field for view/edit
...
also add a simple "<pre> with sans-serif font" renderer
2020-03-23 19:59:28 -05:00
Lance Edgar
4c5b01f287
Move "delete results" logic for master grid
...
should be easier to customize this way..? previous way seemed to be broken
2020-01-06 07:46:10 -06:00
Lance Edgar
86695c9dc7
Refactor "send new message" form, esp. recipients field, per Vue.js
2019-11-04 19:06:58 -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
ebc22d845a
Add Vue.js support for "enable / disable selected" grid feature
2019-10-31 13:28:00 -05:00
Lance Edgar
4c42ccc7d7
Fix various templates for generating reports, per Buefy
...
also various other tweaks which came up along the way...
2019-09-06 17:45:59 -05:00
Lance Edgar
cb4e9e9eda
Tweak login form styles, so inputs are same size
2019-09-06 16:43: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
937c2920ac
Set default max height, width for app logo
...
should affect home page and login page
2019-08-23 22:02:46 -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
f2c06042cd
Tweak login page logo style for jQuery (non-Buefy) themes
2019-08-17 19:01:29 -05:00
Lance Edgar
fda7230bce
Fix form handling for user feedback
...
issue was noticed on demo site, but possibly existed elsewhere? also not 100%
sure about this fix, but it's believed to be okay...
2019-08-04 22:14:15 -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
f1b6f8a3e4
Add 'disabled' prop for buefy datepicker
...
also make sure we return `null` when input is empty
2019-07-23 13:12:07 -05:00
Lance Edgar
069ccab0ae
Clear feedback message after sending
...
that way user can open dialog again, and things not be weird
2019-07-05 19:54:57 -05:00
Lance Edgar
b8274d92db
Refactor feedback dialog for Buefy themes
...
for more proper Vue.js component usage pattern
2019-07-05 19:50:16 -05:00
Lance Edgar
744347c269
Clear checked rows when refreshing async grid data
...
we don't want to accidentally "remember" checked rows which aren't currently
visible... at least not yet / by default
2019-07-01 13:22:38 -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
3a53ffcc23
Add NumericInputWidget
for use with Buefy themes
...
uses a Vue.js component for better logic encapsulation
2019-06-28 13:06:43 -05:00
Lance Edgar
a4b27115ac
Refactor all Buefy form submit buttons, per Chrome behavior
...
ugh, what a pain. and turns out i'd previously ran into this same issue for
jQuery, per commit e945ebe325
2019-06-25 20:32:49 -05:00
Lance Edgar
cc79fe76fd
Refactor form/page component structure for Buefy/Vue.js
...
this also moves Execute Batch from the form buttons area, to object helper
2019-06-17 15:07:19 -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
e715794f04
Add Buefy support for "simple" delete confirmation
2019-06-08 21:02:32 -05:00
Lance Edgar
c44c6c79f9
Only tweak field value width for "normal" primary forms, in falafel theme
2019-06-08 15:17:40 -05:00
Lance Edgar
2b6d88105c
Add support for Buefy autocomplete; several other form tweaks
...
at least the Edit User form should work now, for instance
2019-06-08 13:46:00 -05:00
Lance Edgar
ea0aff1a3e
Tweak permissions styles for view/edit of User, Role
...
per Buefy themes, but still compatible with jQuery theme also
2019-06-04 19:53:47 -05:00
Lance Edgar
5c28f10921
Improve props handling for <once-button>
component
...
now we use computed properties for some of the underlying button props. this
also adds a "click" event for the element; callers should be able to add
handler for that which happens *in addition to* the button disabling. it's
assumed that's always safe or else caller wouldn't use `<once-button>`
2019-06-04 17:50:14 -05:00
Lance Edgar
e06f8c16df
Tweak styles for context menu on falafel theme
2019-06-03 16:39:17 -05:00
Lance Edgar
d7c8b80da5
Fix Buefy "row grids" when viewing parent; add basic file upload support
2019-05-23 16:29:29 -05:00
Lance Edgar
5998941741
Refactor Buefy forms a bit more, to copy grid pattern
...
i.e. each page can modify the component dynamically before it's registered
2019-05-23 14:52:22 -05:00