Enhance course management by adding 'featured' and 'sort_order' fields to the database schema and related components. Update course filtering and display logic to prioritize featured courses in the catalog. Modify admin interfaces for course creation and editing to include new fields, ensuring proper handling in both the frontend and backend. Update documentation to reflect these changes.

This commit is contained in:
smhk1376 committed 2026-10-22 13:23:43 +03:30
1 parent 1641edfd01
commit 4b84409ed7
43 files changed
+703 -155

No files matched your search

+14
View File
@@ -0,0 +1,14 @@
export const GLOBAL_ACTION_LOADING_START = "global-action-loading-start";
export const GLOBAL_ACTION_LOADING_STOP = "global-action-loading-stop";
export function startActionLoading() {
if (typeof window !== "undefined") {
window.dispatchEvent(new Event(GLOBAL_ACTION_LOADING_START));
}
}
export function stopActionLoading() {
if (typeof window !== "undefined") {
window.dispatchEvent(new Event(GLOBAL_ACTION_LOADING_STOP));
}
}