[META] 7.x-2.x roadmap

Created on 21 April 2016, over 8 years ago
Updated 16 October 2024, 2 months ago

TODO: switch version to 2.x once branch is available.

  1. clean up the data structure so that it becomes more dx-friendly and predictable (and to faciliitate update hooks).
  2. alter the form structure *after* hook_form_alter() (expected to improve DX and fix compatibility issues with other modules)
  3. make the theme implementation as generic as possible (matching the default wrappers more closely, maybe even providing a theme hook)
  4. make the tree handing more robust by referencing parents and adjusting the depth for missing parents
  5. include items_per_page as sortable item
  6. get rid of predefined containers by ajaxifying the sort form

Update:

An initial rewrite is now available in the 7.x-2.x branch. It introduces the following changes:

  • Item types and their forms are managed by classes extending ViewsEFFieldsetItemType. New types and classes can be registered via hook_views_ef_fieldset_item_types().
  • The extender no longer modifies the exposed form options form, but uses its own form instead. Items can be added dynamically.
  • The form is no longer built in a form alter, but instead uses #after_build. Affected form elements no longer get unset, instead they are marked as #printed = true.
  • Affected widgets now use a custom template that matches the default markup provided by views-exposed-form.tpl.php.
  • The CSS fix for floated collapsed fieldsets has been revised. Floats on views widgets are no longer removed.
  • The tree constructor should handle missing parents more gracefully now.

7.x-1.x features yet to be reintroduced:

  • A configurable description for fieldsets.
  • Vertical tabs.
  • Collapse if inactive: This feature is somewhat broken in 1.x as it only checks if there is any exposed input.

Other tasks that are still left:

  • Performance optimizations for item retrieval (currently there are a lot of round trips).
  • Proper handling of overridden default options.
  • Handling of filter groups (behavior not yet tested).
🌱 Plan
Status

Closed: won't fix

Version

2.0

Component

Code

Created by

🇩🇪Germany ciss

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024