Skip to content

Commit

Permalink
Update TODO
Browse files Browse the repository at this point in the history
  • Loading branch information
rnixx committed May 26, 2024
1 parent f1d21cd commit d720233
Showing 1 changed file with 11 additions and 21 deletions.
32 changes: 11 additions & 21 deletions TODO.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,38 +4,22 @@ TODO
[ ] - Conventions:
- ``opts`` passed to widget constructors.
- Widget lifecycle -> constructor -> compile -> update -> destroy.
- Naming - Events always ``on_*``.
- Naming - Events always ``on_*`` (on_down, on_move, on_up).
- Renaming - unload -> destroy
- Event callback naming -> handler, listener or subscriber?
- Strict distinction between DOM event and TS event in docs
- Do we want ``ts`` as namespace shortcut? Possible confusion with typescript.
Alternative?

[ ] - ``widget.Widget``
- add_widget
- remove_widget
- children

[ ] - Button widget in form?
[ ] - Add mechanism to control overlay size.

[ ] - Fix collapsible widget.

[ ] - Either include jquery and bootstrap dist here or create dedicated
delivery package with webresource declarations.

[ ] - Change all ``ajax:*`` attributes to ``data-t-ssr-*`` attributes.

[ ] - Introduce JS instance attaching to DOM nodes and implement an ``destroy``
mechanism in ```AjaxHandle``.

[ ] - Use ``document.createTreeWalker`` in parsers.

[ ] - Move ``AjaxRequest`` to ``request.js -> Request``.

[ ] - Move ``AjaxSpinner`` to ``spinner.js -> Spinner``.

[ ] - Rename ``Ajax*`` to ``SSR*``.

[ ] - ``AjaxOperation.handle()`` API consolidation. Instead of ``opts``, all
``AjaxOperation`` deriving objects gets passed ``elem`` and ``event`` as
arguments.
Expand All @@ -46,8 +30,14 @@ TODO
[ ] - Add ``ajax:selector``, ``ajax:mode`` attributes. and ``ajax:data``
attributes.

[ ] - Support ``data-t-ajax-*`` attributes as substitute of ``ajax:*`` attributes
and deprecate latter with B/C fallback.

[ ] - Overlay continuation definition should contain ``overlay`` instead of
``action``.

[ ] - Rename ``Ajax*`` to ``SSR*``.
- Change all ``ajax:*`` attributes to ``data-t-ssr-*`` attributes.
- Support ``data-t-ajax-*`` attributes as substitute of ``ajax:*`` attributes
and deprecate latter with B/C fallback.

[ ] - Form module
- Button widget in form?
- Move form to yafowil?

0 comments on commit d720233

Please sign in to comment.