Resource icon

Standard Library by Xon 1.23.1

No permission to download
  • Fix move thread dialog didn't update allowed prefixes when the forum changed on XF2.2
  • Fix time count up/down javascript would incorrectly use the phrase time.minutes instead of time.minute when referencing 1 minute
  • Fix bad type-hint on whereImpossible() method for EarlyJoinFinderTrait trait
  • Update Helper::newExtendedClass() to execute in the context of the class being executed, this allows private/protected constructors to be called
  • Add tab-nav helper code to work with collapsible sections (sv/lib/tab-nav.js), this allows tabbing between elements to trigger collapsing/expanding of collapsed sections
  • Add support for 3rd party add-ons implementing XF2.3 style property variations to use the "default" variant in XF2.1/XF2.2
  • Update to choices.js v11.2.0
    • Adjust choices.js input-box css to have expected @xf-inputTextColor text color
    • Add "Default Choices.js bundle" option to expose which choices.js bundle to use (controls the search-as-you-type implementation)
    • Add support for required html attribute (Note; requires css changes)
    • Improve UX on the select dropdown
    • Fix data-label-description from source html was not treated as trusted (ie MultiPrefix & prefix help)
    • Fix selected choice was not reliably highlighted when opening the dropdown
    • Fix dropdown would stick closed when a search loses focus
  • Enhance admincp batch add-on installer to sort add-ons by their dependencies to make updating multiple add-ons more reliable
  • When using "AJAX pagination with filter bar" (js/sv/lib/xf/filter.js), fix invalid javascript error message when filtering by a value without pagination wrapper
    • Noticeable on the "logo selection" page of the Selectable logo (paid) add-on
  • Partial workaround for buggy XF2.3 behavior around repository uniqueness. Does not affect call sites to \XF::repository, only Helper::repository
  • Fix incorrectly using SqlJoinTrait would swallow the actual error
  • Improve detection of excluding non-required joins when using EarlyJoinFinderTrait. This affects Multi Prefix is optimizing for matching on a single prefix, and also Extended Ignore
  • Remove usage of assert() for XF Cloud compatibility
  • Improve compatibility when using EarlyJoinFinderTrait and SqlJoinTrait together
    • Avoid possible expensive table expression queries being computed multiple times
  • Fix single-select mode could incorrectly have multiple items selected when pre-rendering choices.js widget
  • Workaround unexpected behavior in \XF::options() and strongly typed property hints (generated by XF CLI command xf-dev:generate-options-stub) which may cause bugs in some add-ons
  • Update choices.js v11.1.0
    • Remove role="textbox" from search input, per a11y practices
    • Add choices.search-kmp.js build, more advanced than a simple prefix match but less complex than using FUSE for search
    • Support <option label="..." /> HTML (not generated by XF natively)
  • Like
Reactions: TAIFUN and JoshyPHP
  • Update to choices.js v11.0.6
    • Fix regression where clicking the item would close & then re-open the dropdown instead of expected behavior
    • Fix regression in setChoices API call (interaction with selected items, does not affect bundled select.js library)
  • Update to choices.js v11.0.4
    • Fix selected option being escaped twice (Affects MultiPrefix editing a thread prefix)
    • Fix reaching maximum item limit notice is not cleared after removing selections
    • Fix tab => direction keys handling
    • Fix performance regression when loading options after choices.js object creation (Affects MultiPrefix loading per-forum prefixes)
  • Fix javascript paginated filtering for XF2.2 support
  • Like
Reactions: vbuser
Back
Top Bottom