Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 0 additions & 12 deletions lms/envs/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -478,18 +478,6 @@
# .. toggle_tickets: https://openedx.atlassian.net/browse/TNL-6931
ENABLE_COURSEWARE_SEARCH_FOR_COURSE_STAFF = False

# Dashboard search feature
# .. toggle_name: settings.ENABLE_DASHBOARD_SEARCH
# .. toggle_implementation: DjangoSetting
# .. toggle_default: False
# .. toggle_description: When enabled, this adds a Search Your Courses widget on the dashboard page for searching
# courseware data.
# .. toggle_use_cases: open_edx
# .. toggle_creation_date: 2015-01-29
# .. toggle_warning: In order to get this working, your courses data should be indexed in Elasticsearch.
# .. toggle_tickets: https://github.com/openedx/edx-platform/pull/6506
ENABLE_DASHBOARD_SEARCH = False

# log all information from cybersource callbacks
LOG_POSTPAY_CALLBACKS = True

Expand Down
3 changes: 0 additions & 3 deletions lms/envs/devstack.py
Original file line number Diff line number Diff line change
Expand Up @@ -180,9 +180,6 @@ def should_show_debug_toolbar(request): # pylint: disable=missing-function-docs
}
]

########################## Dashboard Search #######################
ENABLE_DASHBOARD_SEARCH = False


########################## Certificates Web/HTML View #######################
CERTIFICATES_HTML_VIEW = True
Expand Down
1 change: 0 additions & 1 deletion lms/envs/production.py
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,6 @@ def get_env_setting(setting):

if (
ENABLE_COURSEWARE_SEARCH or # noqa: F405
ENABLE_DASHBOARD_SEARCH or # noqa: F405
ENABLE_COURSE_DISCOVERY or # noqa: F405
ENABLE_TEAMS # noqa: F405
):
Expand Down
3 changes: 0 additions & 3 deletions lms/envs/test.py
Original file line number Diff line number Diff line change
Expand Up @@ -244,9 +244,6 @@
# Enable courseware search for tests
ENABLE_COURSEWARE_SEARCH = True

# Enable dashboard search for tests
ENABLE_DASHBOARD_SEARCH = True

FACEBOOK_APP_SECRET = "Test"
FACEBOOK_APP_ID = "Test"
FACEBOOK_API_VERSION = "v2.8"
Expand Down
2 changes: 0 additions & 2 deletions lms/static/lms/js/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,6 @@
*/
modules: getModulesList([
'course_bookmarks/js/course_bookmarks_factory',
'course_search/js/course_search_factory',
'course_search/js/dashboard_search_factory',
'discussion/js/discussion_board_factory',
'discussion/js/discussion_profile_page_factory',
'js/api_admin/catalog_preview_factory',
Expand Down
1 change: 0 additions & 1 deletion lms/static/lms/js/spec/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -678,7 +678,6 @@
'course_bookmarks/js/spec/bookmark_button_view_spec.js',
'course_bookmarks/js/spec/bookmarks_list_view_spec.js',
'course_bookmarks/js/spec/course_bookmarks_factory_spec.js',
'course_search/js/spec/course_search_spec.js',
'discussion/js/spec/discussion_board_factory_spec.js',
'discussion/js/spec/discussion_profile_page_factory_spec.js',
'discussion/js/spec/discussion_board_view_spec.js',
Expand Down
23 changes: 0 additions & 23 deletions lms/templates/dashboard.html
Original file line number Diff line number Diff line change
Expand Up @@ -75,11 +75,6 @@
});
});
</%static:webpack>
% if settings.FEATURES.get('ENABLE_DASHBOARD_SEARCH'):
<%static:require_module module_name="course_search/js/dashboard_search_factory" class_name="DashboardSearchFactory">
DashboardSearchFactory();
</%static:require_module>
% endif
% if redirect_message:
<%static:require_module module_name="js/views/message_banner" class_name="MessageBannerView">
var banner = new MessageBannerView({urgency: 'low', type: 'warning'});
Expand Down Expand Up @@ -275,24 +270,6 @@ <h3>${course_dir}</h3>
<%include file="${static.get_template_path('registration/account_activation_sidebar_notice.html')}" />
</div>
%endif

% if settings.FEATURES.get('ENABLE_DASHBOARD_SEARCH'):
<div id="dashboard-search-bar" class="search-bar dashboard-search-bar" role="search" aria-label="Dashboard">
<form class="search-form">
<label for="dashboard-search-input">${_('Search Your Courses')}</label>
<div class="search-field-wrapper">
<input id="dashboard-search-input" type="text" class="search-field"/>
<button type="submit" class="search-button" title="${_('Search')}">
<span class="icon fa fa-search" aria-hidden="true"></span>
</button>
<button type="button" class="cancel-button" title="${_('Clear search')}">
<span class="icon fa fa-remove" aria-hidden="true"></span>
</button>
</div>
</form>
</div>
<div id="dashboard-search-results" class="search-results dashboard-search-results"></div>
% endif
</div>
</div>
</main>
Expand Down
7 changes: 0 additions & 7 deletions openedx/features/course_search/README.rst

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Loading
Loading