webketje / GS-Custom-Settings

A GetSimple CMS plugin for custom site, theme and plugin settings. Uses Knockout & RequireJS
http://webketje.github.io/projects/gs-custom-settings
2 stars 1 forks source link

Slight performance issues with tabs containing +25 settings #17

Closed webketje closed 8 years ago

webketje commented 9 years ago
  1. When switching from Manage->Edit mode, especially when the active tab is not editable
  2. When switching from tab to tab in Edit mode
  3. When moving large tabs up or down in Edit mode

For (1) & (2) Need to find alternatives to costly with: binding; ev. foreach: combined with visible:, and only load the settings when the tab is first opened (cf custom bindings?). For (3) Need to decouple sidebar data from settings data & set an order property, as currently the entire settings arrays are moved with the tabs, slowing down the entire app.

webketje commented 8 years ago

A new mechanic in v0.6 solves this issue, where tab settings are loaded gradually (1 by 1) into the array if the list exceeds 15 settings. Furthermore expand and fadein/out transitions provide a smoother experience.