From 56803aa26ffd18efd3f32fd8db8744e56749b449 Mon Sep 17 00:00:00 2001 From: Vendicated Date: Tue, 28 Oct 2025 00:01:38 +0100 Subject: [PATCH 001/353] fix NoTrack --- src/plugins/_core/noTrack.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/_core/noTrack.ts b/src/plugins/_core/noTrack.ts index eada58cbf..cd6234dc4 100644 --- a/src/plugins/_core/noTrack.ts +++ b/src/plugins/_core/noTrack.ts @@ -49,7 +49,7 @@ export default definePlugin({ }, }, { - find: ".METRICS", + find: ".METRICS_V2", replacement: [ { match: /this\._intervalId=/, From 6f16f1312c848d26b7add592670b3f56be14c604 Mon Sep 17 00:00:00 2001 From: Aztup <55710232+Aztup@users.noreply.github.com> Date: Thu, 30 Oct 2025 14:14:43 +0100 Subject: [PATCH 002/353] fix(openInApp): Tidal regex (#3747) Tidal no longer requires /browse/ in its URLs Co-authored-by: lewisakura --- src/plugins/openInApp/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/openInApp/index.ts b/src/plugins/openInApp/index.ts index 04c4f441c..5dcca372f 100644 --- a/src/plugins/openInApp/index.ts +++ b/src/plugins/openInApp/index.ts @@ -52,7 +52,7 @@ const UrlReplacementRules: Record = { description: "Open Epic Games links in the Epic Games Launcher", }, tidal: { - match: /^https:\/\/tidal\.com\/browse\/(track|album|artist|playlist|user|video|mix)\/(.+)(?:\?.+?)?$/, + match: /^https:\/\/tidal\.com\/(?:browse\/)?(track|album|artist|playlist|user|video|mix)\/(.+)(?:\?.+?)?$/, replace: (_, type, id) => `tidal://${type}/${id}`, description: "Open Tidal links in the Tidal app", }, From b049ab3f387b018d31ceabce3f2115088a9b7d09 Mon Sep 17 00:00:00 2001 From: thororen1234 <78185467+thororen1234@users.noreply.github.com> Date: Thu, 30 Oct 2025 10:40:22 -0400 Subject: [PATCH 003/353] GithubRepos: Update for Modal V2 + Fix Star & Buttons --- .../components/GitHubReposComponent.tsx | 20 ++++++------ .../githubRepos/components/ReposModal.tsx | 32 +++++++++++-------- .../githubRepos/components/Star.tsx | 1 - src/equicordplugins/githubRepos/index.tsx | 20 +++++++++--- src/equicordplugins/githubRepos/styles.css | 10 ++++-- 5 files changed, 50 insertions(+), 33 deletions(-) diff --git a/src/equicordplugins/githubRepos/components/GitHubReposComponent.tsx b/src/equicordplugins/githubRepos/components/GitHubReposComponent.tsx index 9dcdfd99d..67aa4029e 100644 --- a/src/equicordplugins/githubRepos/components/GitHubReposComponent.tsx +++ b/src/equicordplugins/githubRepos/components/GitHubReposComponent.tsx @@ -6,8 +6,9 @@ import { classNameFactory } from "@api/Styles"; import { BaseText } from "@components/BaseText"; +import { Button, TextButton } from "@components/Button"; import { openModal } from "@utils/modal"; -import { Button, React, useEffect, UserProfileStore, useState } from "@webpack/common"; +import { React, useEffect, UserProfileStore, useState } from "@webpack/common"; import { settings } from ".."; import { fetchReposByUserId, fetchReposByUsername, fetchUserInfo, GitHubUserInfo } from "../githubApi"; @@ -15,6 +16,8 @@ import { GitHubRepo } from "../types"; import { RepoCard } from "./RepoCard"; import { ReposModal } from "./ReposModal"; +export const cl = classNameFactory("vc-github-repos-"); + export function GitHubReposComponent({ id, theme }: { id: string, theme: string; }) { const [repos, setRepos] = useState([]); const [loading, setLoading] = useState(true); @@ -22,8 +25,6 @@ export function GitHubReposComponent({ id, theme }: { id: string, theme: string; const [userInfo, setUserInfo] = useState(null); const [returnJustButton, setReturnJustButton] = useState(false); - const cl = classNameFactory("vc-github-repos-"); - const openReposModal = () => { if (!userInfo) return; @@ -101,9 +102,8 @@ export function GitHubReposComponent({ id, theme }: { id: string, theme: string; return ( + ); diff --git a/src/equicordplugins/githubRepos/components/ReposModal.tsx b/src/equicordplugins/githubRepos/components/ReposModal.tsx index eeac8e39d..55ca21b74 100644 --- a/src/equicordplugins/githubRepos/components/ReposModal.tsx +++ b/src/equicordplugins/githubRepos/components/ReposModal.tsx @@ -4,12 +4,14 @@ * SPDX-License-Identifier: GPL-3.0-or-later */ +import { Button } from "@components/Button"; import { HeadingPrimary } from "@components/Heading"; import { ModalContent, ModalFooter, ModalHeader, ModalRoot } from "@utils/modal"; -import { Button, React } from "@webpack/common"; +import { React } from "@webpack/common"; import { getLanguageColor } from "../colors"; import { GitHubRepo } from "../types"; +import { cl } from "./GitHubReposComponent"; import { Star } from "./Star"; interface ReposModalProps { @@ -33,18 +35,18 @@ export function ReposModal({ repos, username, rootProps }: ReposModalProps) { const renderTableRow = (repo: GitHubRepo) => ( window.open(repo.html_url, "_blank")}> -
{repo.name}
+
{repo.name}
-
+
{repo.description || ""}
{repo.language && ( -
+
{repo.language} @@ -52,8 +54,8 @@ export function ReposModal({ repos, username, rootProps }: ReposModalProps) { )} -
- +
+ {repo.stargazers_count.toLocaleString()}
@@ -61,15 +63,15 @@ export function ReposModal({ repos, username, rootProps }: ReposModalProps) { ); return ( - + - + {username}'s GitHub Repositories - -
- + +
+
@@ -85,13 +87,15 @@ export function ReposModal({ repos, username, rootProps }: ReposModalProps) {