mirror of
https://gh.wpcy.net/https://github.com/discourse/discourse.git
synced 2026-05-06 19:53:42 +08:00
This Pull Request introduces changes that replace the use of .sortBy with .sort combined with compare from @ember/utils. This update aims to modernize and standardize sorting operations throughout the codebase. **Main Changes:** * Replaced .sortBy with .sort and compare in various components, controllers, and services to improve sorting practices. * Updated sorting logic to handle optional chaining (?.) for increased robustness. * Adjusted sorting logic, including reversing, in some cases for more clarity and correctness. * Added a new deprecation workflow entry to handle sortBy deprecation logs (discourse.native-array-extensions.sortBy). |
||
|---|---|---|
| .. | ||
| admin/assets/javascripts | ||
| app | ||
| assets | ||
| config | ||
| db | ||
| lib | ||
| public | ||
| spec | ||
| test/javascripts | ||
| about.json | ||
| plugin.rb | ||
| README.md | ||
This plugin is still in active development and may change frequently
Documentation
The Discourse Chat plugin adds chat functionality to your Discourse so it can natively support both long-form and short-form communication needs of your online community.
For user documentation, see Discourse Chat.
For developer documentation, see Discourse Documentation.