Refactors ResultSet handling to use tracked arrays and native array APIs, removing ArrayProxy semantics. - Access items via .content across controllers, routes, components, and templates (conditionals, #each, find, map) - Replace Ember array mutators on ResultSets: * removeObject → removeValueFromArray * addObjects → addUniqueValuesToArray * setObjects → content.splice(...) * unshiftObjects → content.unshift(...) - Use modern native APIs on ResultSets: * toSorted for non-mutating sort * .at(-1) for last element access - Update adapter/util logic to iterate results.content (e.g., theme afterFindAll, default theme lookup) - Initialize tracked collections where needed (e.g., themes list via TrackedArray) to maintain reactivity |
||
|---|---|---|
| .. | ||
| app | ||
| assets | ||
| config | ||
| db/migrate | ||
| lib/discourse_user_notes | ||
| spec | ||
| test/javascripts/acceptance | ||
| plugin.rb | ||
| README.md | ||
discourse-user-notes
https://meta.discourse.org/t/user-notes-plugin/41026/
This plugin gives staff members the ability to attach notes to users.
Whenever the user posts, a little note icon will appear beside their name if they have any staff notes. Clicking on it will reveal the notes other staff members have left.
Installation
Follow our Install a Plugin howto, using
git clone https://github.com/discourse/discourse-user-notes.git as the plugin command.
Once you've installed it, review the settings under admin and then enable
user_notes_enabled.
Clearing browser cache might be required when first installed
Issues
If you have issues or suggestions for the plugin, please bring them up on Discourse Meta.
License
MIT