diff --git a/config.xml b/config.xml index be642683a..41867deba 100644 --- a/config.xml +++ b/config.xml @@ -37,7 +37,6 @@ - diff --git a/package-lock.json b/package-lock.json index 0fa28bd8f..4b6988182 100644 --- a/package-lock.json +++ b/package-lock.json @@ -10198,22 +10198,6 @@ "is-typedarray": "^1.0.0" } }, - "node_modules/typescript": { - "version": "5.8.3", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.8.3.tgz", - "integrity": "sha512-p1diW6TqL9L07nNxvRMM7hMMw4c5XOo/1ibL4aAIGmSAt9slTE1Xgw5KWuof2uTOvCg9BY7ZRi+GaF+7sfgPeQ==", - "dev": true, - "license": "Apache-2.0", - "optional": true, - "peer": true, - "bin": { - "tsc": "bin/tsc", - "tsserver": "bin/tsserver" - }, - "engines": { - "node": ">=14.17" - } - }, "node_modules/uc.micro": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/uc.micro/-/uc.micro-2.1.0.tgz", diff --git a/src/sidebarApps/extensions/index.js b/src/sidebarApps/extensions/index.js index cece90a40..f540d3672 100644 --- a/src/sidebarApps/extensions/index.js +++ b/src/sidebarApps/extensions/index.js @@ -564,6 +564,12 @@ function ListItem({ icon, name, id, version, downloads, installed, source }) { if (searchInput) { searchInput.value = ""; $searchResult.content = ""; + // Reset filter state when clearing search results + currentFilter = null; + filterCurrentPage = 1; + filterHasMore = true; + isFilterLoading = false; + $searchResult.onscroll = null; updateHeight($searchResult); $installed.expand(); } @@ -650,6 +656,12 @@ async function uninstall(id) { if (searchInput) { searchInput.value = ""; $searchResult.content = ""; + // Reset filter state when clearing search results + currentFilter = null; + filterCurrentPage = 1; + filterHasMore = true; + isFilterLoading = false; + $searchResult.onscroll = null; updateHeight($searchResult); if ($installed.collapsed) { $installed.expand(); diff --git a/src/styles/overrideAceStyle.scss b/src/styles/overrideAceStyle.scss index 020a0e9d4..7fb00cbeb 100644 --- a/src/styles/overrideAceStyle.scss +++ b/src/styles/overrideAceStyle.scss @@ -1,55 +1,59 @@ -.ace_mobile-menu, -.ace_tooltip.ace_doc-tooltip { - display: none !important; -} - -.ace_editor { - &[data-font="Fira Code"] { - font-feature-settings: 'liga' on, 'calt' on; - -webkit-font-feature-settings: 'liga' on, 'calt' on; - -webkit-font-smoothing: antialiased; - text-rendering: optimizeLegibility; - unicode-bidi: isolate; - } -} - -.ace_tooltip { - background-color: rgb(255, 255, 255); - background-color: var(--secondary-color); - color: rgb(37, 37, 37); - color: var(--secondary-text-color); - max-width: 68%; - white-space: pre-wrap; -} - -main .ace_editor { - textarea { - user-select: none !important; - pointer-events: none !important; - transform: translate(-100000px, -10000px) !important; - } -} - -.ace-container { - height: 100%; -} - -.ace_dark.ace_editor.ace_autocomplete .ace_marker-layer .ace_active-line { - background-color: var(--active-color); -} - -.ace_dark.ace_editor.ace_autocomplete .ace_completion-highlight { - color: var(--popup-active-color); -} - -.ace_dark.ace_editor.ace_autocomplete { - border: 1px solid var(--popup-border-color); - box-shadow: 2px 3px 5px var(--box-shadow-color); - line-height: 1.4; - background: var(--primary-color); - color: var(--primary-text-color); -} - -.ace_hidden-cursors .ace_cursor { - opacity: 0.8 !important; -} \ No newline at end of file +.ace_mobile-menu, +.ace_tooltip.ace_doc-tooltip { + display: none !important; +} + +.ace_editor { + &[data-font="Fira Code"] { + font-feature-settings: + "liga" on, + "calt" on; + -webkit-font-feature-settings: + "liga" on, + "calt" on; + -webkit-font-smoothing: antialiased; + text-rendering: optimizeLegibility; + unicode-bidi: isolate; + } +} + +.ace_tooltip { + background-color: rgb(255, 255, 255); + background-color: var(--secondary-color); + color: rgb(37, 37, 37); + color: var(--secondary-text-color); + max-width: 68%; + white-space: pre-wrap; +} + +main .ace_editor { + textarea { + user-select: none !important; + pointer-events: none !important; + transform: translate(-100000px, -10000px) !important; + } +} + +.ace-container { + height: 100%; +} + +.ace_dark.ace_editor.ace_autocomplete .ace_marker-layer .ace_active-line { + background-color: rgba(from var(--active-color) r g b / 0.3); +} + +.ace_dark.ace_editor.ace_autocomplete .ace_completion-highlight { + color: var(--popup-active-color); +} + +.ace_dark.ace_editor.ace_autocomplete { + border: 1px solid var(--popup-border-color); + box-shadow: 2px 3px 5px var(--box-shadow-color); + line-height: 1.4; + background: var(--primary-color); + color: var(--primary-text-color); +} + +.ace_hidden-cursors .ace_cursor { + opacity: 0.8 !important; +}