[meta] ROADMAP / Next release items

Created on 2 May 2014, over 10 years ago
Updated 5 December 2024, 17 days ago

Overview

There's some stuff I really hate about the back-end currently. I think a change would be good before the next release.
It is not worthy of a 7.x-2.x, or major API change, just tidy-work.

Main items

Standardizing style names

Rather than following their name in the wild e.g. codrops ResponsiveMultiLevelMenu becomes: codrops_multi or MeanMenu as mean_menu.

Moving all styles' hooks into its own folder

responsive_menus_mean_menu_style_settings(),
responsive_menus_mean_menu_style_js_settings(),
and possibly the data for: responsive_menus_libraries_info() is brought in by a function
as well as data for: responsive_menus_responsive_menus_style_info().
This will dramatically reduce the clutter in responsive_menus.module.

Getting away from variable_get

It would be much nicer to save all a style's data into an object, rather than individual variables.

Completed
Example:

  $js_settings = array(
    'selectors' => example('#main-menu', $js_defaults),
    'container' => example('body', $js_defaults),
  );

Instead of:

$js_settings['selectors'] = example('#main-menu', $js_defaults);
$js_settings['container'] = example('body', $js_defaults);

Completed
* MeanMenu has its own detection built-in that is not affected by this.
✨ Change window detection back to window.innerWidth Needs work

Click outside of menu to dismiss

#2156731: Click outside of menu to dismiss β†’
I want to utilize the ba-outside-events library to really get this right.
It is a nice, light library (900 bytes), and supports a ton of events:
clickoutside, dblclickoutside, focusoutside, bluroutside, mousemoveoutside, mousedownoutside, mouseupoutside, mouseoveroutside, mouseoutoutside, keydownoutside, keypressoutside, keyupoutside, changeoutside, selectoutside, submitoutside

Add message to clear caches after downloading library

#2218147: Add message to clear caches after downloading library β†’
This is just a user-friendliness change to the message about grabbing a library.
Add on to the libraries' module's message of "Hey, you don't have this!", to say: "Clear caches after downloading it".

Unlock the "units" for the width settings

Allow users to set "width to respond to" in px, em, or other.

API Changes

Only that responsive_menus_var_get() might get replaced by a single object load for a style.

Notes

Feel free to chime in. Looking for ideas, help, motivation, etc.
Will need issues created for each item & link this "meta" to them.

πŸ“Œ Task
Status

Active

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States jwjoshuawalker San Diego

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