Lance Edgar
1e3647d27b
fix: add index_title_controls()
def block for base template
...
for customization purposes
2025-01-24 19:02:53 -06:00
Lance Edgar
194d798c0c
fix: add make_users_grid()
method for RoleView
...
per newer convention
2025-01-24 19:00:46 -06:00
Lance Edgar
91c87e4d85
tests: fix test per uvicorn root_path
default
2025-01-23 17:53:57 -06:00
Lance Edgar
d1985d4c6c
fix: fallback to empty string for uvicorn root_path
2025-01-23 17:45:51 -06:00
Lance Edgar
5aae0ec450
fix: add root_path
config setting for running webapp via uvicorn
2025-01-23 17:37:32 -06:00
Lance Edgar
455a0906c6
bump: version 0.20.4 → 0.20.5
2025-01-23 17:16:08 -06:00
Lance Edgar
fc76ba7dbd
fix: improve styling for grid tools section
2025-01-23 16:56:29 -06:00
Lance Edgar
7ba4987003
fix: add basic checkbox support for grids
2025-01-22 19:43:49 -06:00
Lance Edgar
6dfb35b688
fix: add WuttaRequestMixin for ThisPage component
2025-01-22 19:38:16 -06:00
Lance Edgar
e618957381
tests: fix tests per upstream changes
2025-01-15 17:03:13 -06:00
Lance Edgar
f0d1f00dd8
fix: avoid literal None
when rendering form field value
2025-01-15 17:01:53 -06:00
Lance Edgar
9580dde246
fix: let header title be even wider
...
still seeing them get truncated too eagerly..
2025-01-15 17:00:48 -06:00
Lance Edgar
8b23be7422
bump: version 0.20.3 → 0.20.4
2025-01-15 08:50:47 -06:00
Lance Edgar
9e0e36d536
fix: add WuttaDateWidget
and associated logic
2025-01-15 08:40:56 -06:00
Lance Edgar
e3c432aa37
fix: add serialize_object()
method for ObjectRef
schema node
...
so we can use this node type for non-wutta mapped class, with non-uuid
primary key
2025-01-15 08:21:15 -06:00
Lance Edgar
3041e01184
bump: version 0.20.2 → 0.20.3
2025-01-14 18:19:29 -06:00
Lance Edgar
0ddf4d2ab9
fix: add render_grid_tag()
as separate def block for index templates
...
sometimes caller needs to inject custom attrs to the grid tag
2025-01-14 18:16:21 -06:00
Lance Edgar
740110f87f
fix: add click_handler
attr for GridAction
...
sometimes caller just needs to do something unique, so let them
2025-01-14 18:15:22 -06:00
Lance Edgar
51c456eb38
bump: version 0.20.1 → 0.20.2
2025-01-14 13:19:27 -06:00
Lance Edgar
ecb1dce590
fix: improve support for composite model_key
in MasterView
...
in particular, had a table (Catapult) with composite primary key,
where both prop keys are named differently than columns.
this also splits out the route kwargs logic for action urls, because
of another situation where i wanted to use non-primary field as model
key, but it also needed to be stripped of whitespace. this allows for
such an override but in the end i did not pursue that method and just
wound up using default model key anyway..
2025-01-14 11:51:03 -06:00
Lance Edgar
72a663a80b
fix: let content header text be a bit longer
2025-01-14 11:28:38 -06:00
Lance Edgar
59fe324872
fix: add optional target
attr for GridAction
2025-01-14 11:28:12 -06:00
Lance Edgar
a405b19217
fix: add render_date()
method for grids
...
and corresponding built-in for set_renderer()
2025-01-13 17:41:02 -06:00
Lance Edgar
52a6bbf0f0
bump: version 0.20.0 → 0.20.1
2025-01-13 13:29:56 -06:00
Lance Edgar
013d921772
tests: fix test per appinfo/configure changes
2025-01-13 13:29:56 -06:00
Lance Edgar
2b3d69a379
fix: expose setting to choose menu handler, in appinfo/configure
2025-01-13 12:55:34 -06:00
Lance Edgar
8ba44e10bd
fix: use prop key instead of column name, for master view model key
...
every once in a while those can differ, we need prop key when they do
2025-01-12 19:42:22 -06:00
Lance Edgar
c33f211633
fix: add grid filters specific to numeric, integer types
2025-01-12 19:12:53 -06:00
Lance Edgar
d63a9223d3
fix: use default value for config settings
2025-01-12 17:11:46 -06:00
Lance Edgar
4b7092bd0a
tests: fix grid data test for report view
2025-01-11 23:55:40 -06:00
Lance Edgar
1ec25636df
bump: version 0.19.3 → 0.20.0
2025-01-11 22:00:48 -06:00
Lance Edgar
65511a26b2
feat: add basic views for Reports
...
not entirely useful as-is yet, that may change later but for now
keeping things minimal to avoid being painted into any corner
2025-01-11 21:35:06 -06:00
Lance Edgar
ffd4ee929c
fix: add action_method
and reset_url
params for Form class
...
so a form can use GET instead of POST, and reset button can be a
link. these are needed for new report views
2025-01-11 19:49:56 -06:00
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