3
0
Fork 0
Commit graph

206 commits

Author SHA1 Message Date
Lance Edgar b972f1a132 fix: add placeholder when grid has no filters
otherwise tools section doesn't get pushed to the right
2025-01-11 19:42:25 -06:00
Lance Edgar 956021dcbf fix: add get_page_templates() method for master view
i thought i needed it to do something clever for report views, but
wound up not needing it..  however this seems like a reasonable
abstraction which may come in handy later
2025-01-11 19:41:11 -06:00
Lance Edgar c1e6053aaf bump: version 0.19.2 → 0.19.3 2025-01-09 12:54:01 -06:00
Lance Edgar 3827d331c0 fix: use request.url instead of current_route_url()
latter was causing more problems for sideshow tests
2025-01-09 12:13:38 -06:00
Lance Edgar e674db86be fix: add basic <wutta-autocomplete> component
this probably needs improvement yet but we'll see
2025-01-08 12:29:53 -06:00
Lance Edgar 517928320b fix: add WuttaDictEnum form schema type 2025-01-08 12:29:42 -06:00
Lance Edgar ae9ca8eee3 bump: version 0.19.1 → 0.19.2 2025-01-07 15:21:30 -06:00
Lance Edgar ee8ca11f6a fix: always use prop key for default grid filters
previous logic was using underlying column name, which breaks when the
prop key does not match
2025-01-07 15:07:21 -06:00
Lance Edgar e5f7fe43c2 fix: avoid request.current_route_url() for user menu
not sure why, at least on chromium browser sometimes that will throw
an error!?  but this works around fine
2025-01-07 14:48:51 -06:00
Lance Edgar 7f09ca5ede fix: add scale kwarg for WuttaMoney schema type, widget 2025-01-07 13:40:44 -06:00
Lance Edgar b73127e350 fix: make WuttaQuantity serialize w/ app handler, remove custom widget
turns out we need to always serialize the value via render_quantity()
and the widget becomes redundant
2025-01-07 13:34:42 -06:00
Lance Edgar b5b88e2a7b fix: bugfix for bool simple settings with default value 2025-01-06 19:29:58 -06:00
Lance Edgar 49b13306c4 bump: version 0.19.0 → 0.19.1 2025-01-06 17:00:27 -06:00
Lance Edgar b3f1f8b6d9 fix: improve built-in grid renderer logic
- add `render_batch_id()`
- allow kwargs for `render_currency()`
- caller may specify built-in renderer w/ string identifier
2025-01-06 16:56:31 -06:00
Lance Edgar 2de08ad50d fix: allow session injection for ObjectRef constructor
for sake of simpler tests
2025-01-06 16:48:42 -06:00
Lance Edgar 7895ce4676 tests: move WebTestCase to wuttaweb.testing module 2025-01-06 16:47:48 -06:00
Lance Edgar 5cec585fdf fix: improve rendering for batch row status 2025-01-02 23:14:10 -06:00
Lance Edgar 86ffb5d58f fix: add basic support for row grid "view" action links
still no actual "view row" support just yet, but subclass can
implement however they like..
2025-01-02 22:52:32 -06:00
Lance Edgar 170afe650b fix: add "xref buttons" tool panel for master view
also add `url` param for `MasterView.make_button()`
2025-01-02 22:35:43 -06:00
Lance Edgar 0631b8e16b fix: add WuttaQuantity schema type, widget 2025-01-02 21:28:55 -06:00
Lance Edgar a219f3e30d fix: remove session param from some form schema, widget classes
this was originally used for injecting the test session, but i wound
up using mock instead elsewhere, so this is just for consistency
2025-01-02 21:09:31 -06:00
Lance Edgar a612bf3846 fix: add grid renderers for bool, currency, quantity
also set bool renderer by default when possible
2025-01-02 20:13:04 -06:00
Lance Edgar 08a895a07b fix: use proper bulma styles for markdown content
cf. https://bulma.io/documentation/elements/content/
2024-12-29 20:07:10 -06:00
Lance Edgar 6515a0a224 fix: use span element for readonly money field widget render 2024-12-28 21:18:10 -06:00
Lance Edgar 84ab931081 fix: include grid filters for all column properties of model class
by default anyway.  previous logic started from `grid.columns` and
then only included column properties, but now we start from the model
class itself and let sa-utils figure out the default list
2024-12-28 21:14:20 -06:00
Lance Edgar c2efc1cd1a fix: use app handler to render error string, when progress fails 2024-12-28 21:14:15 -06:00
Lance Edgar 171e9f7488 fix: add schema node type, widget for "money" (currency) fields 2024-12-28 20:33:56 -06:00
Lance Edgar c4fe90834e fix: exclude FK fields by default, for model forms
e.g. `person_uuid` and such
2024-12-28 18:56:04 -06:00
Lance Edgar c800ebf4e4 fix: fix style for header title text
let it be longer before truncating with ellipsis
2024-12-23 21:18:18 -06:00
Lance Edgar ae6b72bf95 bump: version 0.18.0 → 0.19.0 2024-12-23 21:14:31 -06:00
Lance Edgar ede9ae60b4 fix: move CRUD header buttons toward center of screen
having them all the way to the right just means more mouse movement
required, plus that area is too cluttered
2024-12-23 21:09:15 -06:00
Lance Edgar 89ff90c60c docs: tweak readme (test commit) 2024-12-23 20:17:36 -06:00
Lance Edgar 95ff87fbf3 feat: add feature to edit email settings, basic message preview 2024-12-23 19:24:17 -06:00
Lance Edgar 3035d1f58a bump: version 0.17.2 → 0.18.0 2024-12-18 22:33:42 -06:00
Lance Edgar a132253cb1 feat: add basic support for running in ASGI context 2024-12-18 15:09:16 -06:00
Lance Edgar b6d5ffa8ce feat: add support for running via uvicorn; wutta webapp command 2024-12-18 12:36:52 -06:00
Lance Edgar 3fabc0a141 bump: version 0.17.1 → 0.17.2 2024-12-17 16:42:56 -06:00
Lance Edgar abec06c63c fix: add basic support for grid filters for Date fields 2024-12-17 16:31:33 -06:00
Lance Edgar 5493dfeae8 fix: fix style bug for grid "add filter" autocomplete 2024-12-16 20:29:12 -06:00
Lance Edgar 8ac414162d bump: version 0.17.0 → 0.17.1 2024-12-16 12:33:27 -06:00
Lance Edgar 4e71420781 fix: tweak wording for batch execution 2024-12-15 02:46:22 -06:00
Lance Edgar 863a8814e1 fix: let view subclass more easily inject kwargs for make_batch() 2024-12-15 02:28:22 -06:00
Lance Edgar 180acc509f bump: version 0.16.2 → 0.17.0 2024-12-15 00:48:07 -06:00
Lance Edgar 30671fcd78 fix: add handling for decimal values and lists, in make_json_safe() 2024-12-14 23:57:34 -06:00
Lance Edgar dd1fd8c0ce feat: add basic support for batch execution
no execution options yet, and no progress indicator

also basic delete support, invoking handler
2024-12-14 23:57:10 -06:00
Lance Edgar e3beb9953d feat: add basic support for rows grid for master, batch views 2024-12-14 10:48:11 -06:00
Lance Edgar 5006c97b4b feat: add basic master view class for batches
no support for displaying rows yet, just the main batch CRUD
2024-12-13 22:20:04 -06:00
Lance Edgar d72a2a15ec fix: fix behavior when editing Roles for a User
per proper UUID fields i guess
2024-12-12 20:07:49 -06:00
Lance Edgar e952e1031e fix: add basic views for raw Permissions 2024-12-12 19:24:36 -06:00
Lance Edgar 3cad7f1b13 fix: improve support for date, datetime fields in grids, forms 2024-12-12 15:15:00 -06:00