This repository has been archived on 2023-03-18. You can view files and clone it, but cannot push or open issues or pull requests.
osr-discourse-src/app/assets/javascripts/discourse/controllers
Dan Ungureanu 352d43b101
FIX: Better handling of Group model state (#8356)
The group card and group members page were affecting each other and were
leaking members list and the query parameters which led to bad UX
experience and sub-optimal performance (client made more queries because
it was loading fewer members).

This commit refactors the group model to make it more consistent, remove
dead code, move error handling outside of model.
2019-11-18 14:59:28 +02:00
..
badges DEV: Move computed to discourseComputed (#8312) 2019-11-07 15:38:28 -06:00
discovery DEV: lint files 2019-11-14 11:52:29 +11:00
navigation DEV: Move computed to discourseComputed (#8312) 2019-11-07 15:38:28 -06:00
preferences WIP - discourse/models/user not defined 2019-11-13 15:34:30 -05:00
about.js.es6 DEV: Move computed to discourseComputed (#8312) 2019-11-07 15:38:28 -06:00
account-created-edit-email.js.es6 DEV: Move computed to discourseComputed (#8312) 2019-11-07 15:38:28 -06:00
account-created-index.js.es6 REFACTOR: Remove Ember.Controller in favor of import 2019-10-23 13:06:54 -04:00
activation-edit.js.es6 DEV: Move computed to discourseComputed (#8312) 2019-11-07 15:38:28 -06:00
add-post-notice.js.es6 DEV: Move computed to discourseComputed (#8312) 2019-11-07 15:38:28 -06:00
application.js.es6 DEV: Move computed to discourseComputed (#8312) 2019-11-07 15:38:28 -06:00
associate-account-confirm.js.es6 REFACTOR: Remove Ember.Controller in favor of import 2019-10-23 13:06:54 -04:00
auth-token.js.es6 Revert "Revert Ember.run refactors" 2019-10-30 09:48:24 -04:00
avatar-selector.js.es6 REFACTOR: Move upload utilities to their own file 2019-11-14 12:51:08 -05:00
basic-modal-body.js.es6 REFACTOR: Remove Ember.Controller in favor of import 2019-10-23 13:06:54 -04:00
bulk-notification-level.js.es6 DEV: Move computed to discourseComputed (#8312) 2019-11-07 15:38:28 -06:00
change-owner.js.es6 DEV: Move computed to discourseComputed (#8312) 2019-11-07 15:38:28 -06:00
change-timestamp.js.es6 DEV: Move computed to discourseComputed (#8312) 2019-11-07 15:38:28 -06:00
composer.js.es6 REFACTOR: Move upload utilities to their own file 2019-11-14 12:51:08 -05:00
convert-to-public-topic.js.es6 REFACTOR: Remove Ember.Controller in favor of import 2019-10-23 13:06:54 -04:00
create-account.js.es6 DEV: Remove Discourse.User and import instead 2019-11-13 15:34:30 -05:00
discovery-sortable.js.es6 DEV: Import every instance of Ember.computed function (#8267) 2019-10-30 15:28:29 -05:00
discovery.js.es6 REFACTOR: Remove Discourse.Category constants 2019-11-08 13:31:00 -05:00
edit-category.js.es6 REFACTOR: Remove Discourse.Category constants 2019-11-08 13:31:00 -05:00
edit-topic-timer.js.es6 DEV: Move computed to discourseComputed (#8312) 2019-11-07 15:38:28 -06:00
email-login.js.es6 DEV: Move computed to discourseComputed (#8312) 2019-11-07 15:38:28 -06:00
exception.js.es6 DEV: Move computed to discourseComputed (#8312) 2019-11-07 15:38:28 -06:00
explain-reviewable.js.es6 REFACTOR: Remove Ember.Controller in favor of import 2019-10-23 13:06:54 -04:00
feature-topic.js.es6 REFACTOR: Remove InputValidation which was simply an Ember.Object 2019-11-11 15:48:56 -05:00
flag.js.es6 DEV: Move computed to discourseComputed (#8312) 2019-11-07 15:38:28 -06:00
forgot-password.js.es6 DEV: Move computed to discourseComputed (#8312) 2019-11-07 15:38:28 -06:00
full-page-search.js.es6 DEV: Move computed to discourseComputed (#8312) 2019-11-07 15:38:28 -06:00
grant-badge.js.es6 DEV: Move computed to discourseComputed (#8312) 2019-11-07 15:38:28 -06:00
group-activity-posts.js.es6 DEV: Move computed to discourseComputed (#8312) 2019-11-07 15:38:28 -06:00
group-activity-topics.js.es6 REFACTOR: Remove Ember.Controller in favor of import 2019-10-23 13:06:54 -04:00
group-activity.js.es6 FIX: Linting 2019-10-29 13:31:44 -04:00
group-add-members.js.es6 DEV: Move computed to discourseComputed (#8312) 2019-11-07 15:38:28 -06:00
group-bulk-add.js.es6 DEV: Move computed to discourseComputed (#8312) 2019-11-07 15:38:28 -06:00
group-index.js.es6 FIX: Better handling of Group model state (#8356) 2019-11-18 14:59:28 +02:00
group-manage-logs.js.es6 DEV: Move computed to discourseComputed (#8312) 2019-11-07 15:38:28 -06:00
group-manage-profile.js.es6 REFACTOR: Remove Ember.Controller in favor of import 2019-10-23 13:06:54 -04:00
group-manage.js.es6 DEV: Move computed to discourseComputed (#8312) 2019-11-07 15:38:28 -06:00
group-messages.js.es6 FIX: Linting 2019-10-29 13:31:44 -04:00
group-requests.js.es6 FIX: Better handling of Group model state (#8356) 2019-11-18 14:59:28 +02:00
group.js.es6 FIX: Better handling of Group model state (#8356) 2019-11-18 14:59:28 +02:00
groups-index.js.es6 REFACTOR: Remove debounce to discourseDebounce 2019-11-11 13:34:01 -05:00
groups-new.js.es6 REFACTOR: Remove Ember.Controller in favor of import 2019-10-23 13:06:54 -04:00
history.js.es6 FIX: Missing braces 2019-11-13 12:04:40 -05:00
ignore-duration-with-username.js.es6 REFACTOR: Remove Ember.Controller in favor of import 2019-10-23 13:06:54 -04:00
ignore-duration.js.es6 REFACTOR: Remove Ember.Controller in favor of import 2019-10-23 13:06:54 -04:00
insert-hyperlink.js.es6 REFACTOR: Use a module for Ember.isEmpty 2019-11-01 13:50:15 -04:00
invites-show.js.es6 DEV: Move computed to discourseComputed (#8312) 2019-11-07 15:38:28 -06:00
jump-to-post.js.es6 DEV: Provide radix argument to parseInt (#8281) 2019-11-12 10:47:42 +01:00
keyboard-shortcuts-help.js.es6 REFACTOR: Remove Ember.Controller in favor of import 2019-10-23 13:06:54 -04:00
login.js.es6 DEV: Move computed to discourseComputed (#8312) 2019-11-07 15:38:28 -06:00
modal.js.es6 REFACTOR: Remove Ember.Controller in favor of import 2019-10-23 13:06:54 -04:00
move-to-topic.js.es6 Fix Prettier using correct version (1.19.1) 2019-11-15 10:34:26 -05:00
not-activated.js.es6 REFACTOR: Remove Ember.Controller in favor of import 2019-10-23 13:06:54 -04:00
password-reset.js.es6 DEV: Move computed to discourseComputed (#8312) 2019-11-07 15:38:28 -06:00
preferences.js.es6 FIX: Linting 2019-10-29 13:31:44 -04:00
raw-email.js.es6 DEV: Import every instance of Ember.computed function (#8267) 2019-10-30 15:28:29 -05:00
rename-tag.js.es6 DEV: Move computed to discourseComputed (#8312) 2019-11-07 15:38:28 -06:00
reorder-categories.js.es6 DEV: Provide radix argument to parseInt (#8281) 2019-11-12 10:47:42 +01:00
request-group-membership-form.js.es6 DEV: Move computed to discourseComputed (#8312) 2019-11-07 15:38:28 -06:00
review-index.js.es6 FEATURE: Filter reviewables by date range (#8354) 2019-11-15 15:29:59 -03:00
review-settings.js.es6 REFACTOR: Remove Ember.Controller in favor of import 2019-10-23 13:06:54 -04:00
search-help.js.es6 DEV: Move computed to discourseComputed (#8312) 2019-11-07 15:38:28 -06:00
second-factor-add-security-key.js.es6 REFACTOR: Remove Ember.Controller in favor of import 2019-10-23 13:06:54 -04:00
second-factor-add-totp.js.es6 REFACTOR: Remove Ember.Controller in favor of import 2019-10-23 13:06:54 -04:00
second-factor-backup-edit.js.es6 DEV: Move computed to discourseComputed (#8312) 2019-11-07 15:38:28 -06:00
second-factor-edit-security-key.js.es6 REFACTOR: Remove Ember.Controller in favor of import 2019-10-23 13:06:54 -04:00
second-factor-edit.js.es6 REFACTOR: Remove Ember.Controller in favor of import 2019-10-23 13:06:54 -04:00
static.js.es6 DEV: Move computed to discourseComputed (#8312) 2019-11-07 15:38:28 -06:00
tag-groups-edit.js.es6 DEV: Tag group improvements (#8252) 2019-10-30 16:57:13 +01:00
tag-groups-new.js.es6 DEV: Tag group improvements (#8252) 2019-10-30 16:57:13 +01:00
tag-groups.js.es6 DEV: Tag group improvements (#8252) 2019-10-30 16:57:13 +01:00
tags-index.js.es6 DEV: Move computed to discourseComputed (#8312) 2019-11-07 15:38:28 -06:00
tags-show.js.es6 DEV: Run prettier 2019-11-14 11:01:22 +00:00
topic-bulk-actions.js.es6 Fix Prettier using correct version (1.19.1) 2019-11-15 10:34:26 -05:00
topic.js.es6 REFACTOR: Remove debounce to discourseDebounce 2019-11-11 13:34:01 -05:00
upload-selector.js.es6 REFACTOR: Move upload utilities to their own file 2019-11-14 12:51:08 -05:00
user-activity.js.es6 DEV: Import every instance of Ember.computed function (#8267) 2019-10-30 15:28:29 -05:00
user-badges.js.es6 DEV: Import every instance of Ember.computed function (#8267) 2019-10-30 15:28:29 -05:00
user-card.js.es6 REFACTOR: Use Ember modules for @ember/service 2019-10-29 13:29:08 -04:00
user-invited-show.js.es6 Fix Prettier using correct version (1.19.1) 2019-11-15 10:34:26 -05:00
user-notifications.js.es6 DEV: Move computed to discourseComputed (#8312) 2019-11-07 15:38:28 -06:00
user-posts.js.es6 FIX: Linting 2019-10-29 13:31:44 -04:00
user-private-messages-tags.js.es6 REFACTOR: Remove Ember.Controller in favor of import 2019-10-23 13:06:54 -04:00
user-private-messages.js.es6 DEV: Move computed to discourseComputed (#8312) 2019-11-07 15:38:28 -06:00
user-summary.js.es6 DEV: Move computed to discourseComputed (#8312) 2019-11-07 15:38:28 -06:00
user-topics-list.js.es6 DEV: Move computed to discourseComputed (#8312) 2019-11-07 15:38:28 -06:00
user.js.es6 DEV: Move computed to discourseComputed (#8312) 2019-11-07 15:38:28 -06:00
users.js.es6 REFACTOR: Remove debounce to discourseDebounce 2019-11-11 13:34:01 -05:00