mirror of
https://github.com/Alvin-Zilverstand/return-youtube-dislike.git
synced 2026-12-03 11:21:20 +01:00
Advanced stats for patreon supporters (#1222)
* auth works * Works after review. * switched to auth flow * all works well in chrome * all works well in chrome and firefox * translations harmonized * translations harmonized * website translations * Translations harmonized. * Everything kinda works * Almost works * all works * all works * all works #2 * Streamline premium analytics range handling * Restore premium analytics selection flow * Fix analytics zoom interactions * Add per-section expansion controls to premium analytics * Adjust map legend visibility for premium analytics * Add missing country synonyms for premium map * Remove legacy premium badge overlay * Polish premium analytics controls for light theme * Refresh map legend when toggling sections * Improve light-mode styling for range selectors * Fix map mode switching regression * Fix for panel expand * Typo fix * webpack fix * before next steps. * split, zero-buckets * bucket size indicated on UI * all works * first/last toggle * breadcrumbs * release
This commit is contained in:
1 parent
fb46b07db6
commit
40fda6dd32
174 files changed
+20235
-2619
No files matched your search
@@ -64,7 +64,7 @@
|
||||
>
|
||||
__MSG_linkDonate__
|
||||
</button>
|
||||
<button id="link_discord">Discord</button>
|
||||
<button id="link_discord" title="__MSG_linkDiscord__">__MSG_linkDiscord__</button>
|
||||
<br />
|
||||
<button
|
||||
style="margin-top: 0.3rem"
|
||||
@@ -73,7 +73,7 @@
|
||||
>
|
||||
__MSG_linkFAQ__
|
||||
</button>
|
||||
<button id="link_github">GitHub</button>
|
||||
<button id="link_github" title="__MSG_linkGithub__">__MSG_linkGithub__</button>
|
||||
<button
|
||||
style="margin-top: 0.3em"
|
||||
id="link_help"
|
||||
|
||||
@@ -0,0 +1,358 @@
|
||||
:root {
|
||||
color-scheme: light dark;
|
||||
--ryd-bg: linear-gradient(135deg, #050505 0%, #141414 45%, #3c0a0f 100%);
|
||||
--ryd-surface: rgba(8, 8, 8, 0.9);
|
||||
--ryd-surface-light: rgba(248, 248, 248, 0.9);
|
||||
--ryd-card: rgba(12, 12, 12, 0.85);
|
||||
--ryd-card-border: rgba(255, 86, 94, 0.18);
|
||||
--ryd-text-primary: #f9f9f9;
|
||||
--ryd-text-secondary: rgba(251, 251, 251, 0.7);
|
||||
--ryd-accent: #ff424d;
|
||||
--ryd-accent-strong: #ff172e;
|
||||
--ryd-muted: rgba(204, 204, 204, 0.55);
|
||||
--ryd-shadow: 0 35px 80px rgba(125, 14, 24, 0.32);
|
||||
--ryd-radius-lg: 32px;
|
||||
--ryd-radius-md: 24px;
|
||||
--ryd-radius-sm: 16px;
|
||||
--ryd-gap: clamp(1.75rem, 4vw, 2.5rem);
|
||||
font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
|
||||
}
|
||||
|
||||
body {
|
||||
margin: 0;
|
||||
min-height: 100vh;
|
||||
background: var(--ryd-bg);
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: flex-start;
|
||||
padding: clamp(1.5rem, 4vw, 3rem);
|
||||
color: var(--ryd-text-primary);
|
||||
}
|
||||
|
||||
.ryd-changelog {
|
||||
width: min(100%, 1040px);
|
||||
background: linear-gradient(180deg, rgba(15, 23, 42, 0.9) 0%, rgba(15, 23, 42, 0.92) 70%, rgba(15, 23, 42, 0.98) 100%);
|
||||
border-radius: var(--ryd-radius-lg);
|
||||
border: 1px solid rgba(148, 163, 184, 0.2);
|
||||
box-shadow: var(--ryd-shadow);
|
||||
padding: clamp(2.5rem, 5vw, 4rem);
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.ryd-changelog::after {
|
||||
content: "";
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
background: radial-gradient(circle at top right, rgba(255, 66, 77, 0.32), transparent 45%),
|
||||
radial-gradient(circle at 20% 80%, rgba(139, 0, 0, 0.28), transparent 55%);
|
||||
pointer-events: none;
|
||||
mix-blend-mode: lighten;
|
||||
}
|
||||
|
||||
.ryd-changelog__hero {
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
text-align: left;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 1.25rem;
|
||||
}
|
||||
|
||||
.ryd-changelog__badge {
|
||||
display: inline-flex;
|
||||
align-self: flex-start;
|
||||
padding: 0.35rem 0.85rem;
|
||||
border-radius: 100px;
|
||||
background: rgba(255, 66, 77, 0.18);
|
||||
color: var(--ryd-accent);
|
||||
font-weight: 600;
|
||||
letter-spacing: 0.08em;
|
||||
text-transform: uppercase;
|
||||
font-size: 0.8rem;
|
||||
}
|
||||
|
||||
.ryd-changelog__title {
|
||||
margin: 0;
|
||||
font-size: clamp(2.25rem, 5vw, 3.25rem);
|
||||
line-height: 1.05;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.ryd-changelog__subtitle {
|
||||
margin: 0;
|
||||
max-width: 52ch;
|
||||
color: var(--ryd-text-secondary);
|
||||
font-size: clamp(1.05rem, 2.2vw, 1.25rem);
|
||||
line-height: 1.6;
|
||||
}
|
||||
|
||||
.ryd-changelog__actions {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 0.75rem;
|
||||
}
|
||||
|
||||
.ryd-changelog__meta {
|
||||
margin: 0;
|
||||
color: var(--ryd-muted);
|
||||
font-size: 0.95rem;
|
||||
}
|
||||
|
||||
.ryd-button {
|
||||
border: none;
|
||||
border-radius: 999px;
|
||||
padding: 0.85rem 1.75rem;
|
||||
font-size: 0.95rem;
|
||||
font-weight: 600;
|
||||
letter-spacing: 0.01em;
|
||||
cursor: pointer;
|
||||
transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
|
||||
}
|
||||
|
||||
.ryd-button:focus-visible {
|
||||
outline: 3px solid rgba(56, 189, 248, 0.55);
|
||||
outline-offset: 3px;
|
||||
}
|
||||
|
||||
.ryd-button--primary {
|
||||
background: linear-gradient(135deg, var(--ryd-accent-strong), #ff5c6b);
|
||||
color: #0b0b0b;
|
||||
box-shadow: 0 20px 35px rgba(255, 41, 67, 0.35);
|
||||
}
|
||||
|
||||
.ryd-button--primary:hover {
|
||||
transform: translateY(-2px);
|
||||
box-shadow: 0 25px 40px rgba(255, 41, 67, 0.45);
|
||||
}
|
||||
|
||||
.ryd-button--ghost {
|
||||
background: rgba(255, 255, 255, 0.08);
|
||||
color: var(--ryd-text-primary);
|
||||
border: 1px solid rgba(255, 66, 77, 0.25);
|
||||
}
|
||||
|
||||
.ryd-button--ghost:hover {
|
||||
background: rgba(255, 66, 77, 0.16);
|
||||
}
|
||||
|
||||
.ryd-button--outline {
|
||||
background: transparent;
|
||||
color: var(--ryd-text-primary);
|
||||
border: 1px solid rgba(255, 66, 77, 0.4);
|
||||
}
|
||||
|
||||
.ryd-button--outline:hover {
|
||||
background: rgba(255, 66, 77, 0.18);
|
||||
}
|
||||
|
||||
.ryd-changelog__main {
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
margin-top: clamp(2.5rem, 5vw, 3.5rem);
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: var(--ryd-gap);
|
||||
}
|
||||
|
||||
.ryd-section {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 1rem;
|
||||
background: var(--ryd-card);
|
||||
border-radius: var(--ryd-radius-md);
|
||||
border: 1px solid var(--ryd-card-border);
|
||||
padding: clamp(1.75rem, 4vw, 2.5rem);
|
||||
backdrop-filter: blur(14px);
|
||||
}
|
||||
|
||||
.ryd-section__heading {
|
||||
margin: 0;
|
||||
font-size: clamp(1.45rem, 3vw, 1.85rem);
|
||||
}
|
||||
|
||||
.ryd-section__intro {
|
||||
margin: 0;
|
||||
color: var(--ryd-text-secondary);
|
||||
line-height: 1.6;
|
||||
font-size: 1rem;
|
||||
}
|
||||
|
||||
.ryd-feature-grid {
|
||||
display: grid;
|
||||
gap: clamp(1.75rem, 4vw, 2.5rem);
|
||||
grid-template-columns: minmax(0, 1fr);
|
||||
}
|
||||
|
||||
@media (max-width: 720px) {
|
||||
.ryd-feature-grid {
|
||||
gap: clamp(1.5rem, 6vw, 2rem);
|
||||
}
|
||||
}
|
||||
|
||||
.ryd-feature-card {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 1.25rem;
|
||||
background: rgba(10, 10, 10, 0.8);
|
||||
border-radius: var(--ryd-radius-sm);
|
||||
border: 1px solid rgba(255, 66, 77, 0.18);
|
||||
padding: 1.5rem;
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.ryd-feature-card::before {
|
||||
content: "";
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
background: radial-gradient(circle at top right, rgba(255, 45, 73, 0.26), transparent 55%);
|
||||
opacity: 0.6;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.ryd-feature-card__text {
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 0.75rem;
|
||||
}
|
||||
|
||||
.ryd-feature-card__text h3 {
|
||||
margin: 0;
|
||||
font-size: 1.35rem;
|
||||
}
|
||||
|
||||
.ryd-feature-card__text p {
|
||||
margin: 0;
|
||||
color: var(--ryd-text-secondary);
|
||||
line-height: 1.55;
|
||||
font-size: clamp(1rem, 2.2vw, 1.125rem);
|
||||
}
|
||||
|
||||
.ryd-feature-card__visual {
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
border-radius: 14px;
|
||||
border: 1px dashed rgba(255, 86, 94, 0.45);
|
||||
background: rgba(32, 8, 12, 0.65);
|
||||
overflow: hidden;
|
||||
padding: clamp(0.5rem, 2vw, 0.85rem);
|
||||
}
|
||||
|
||||
.ryd-feature-card__placeholder {
|
||||
text-align: center;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 0.45rem;
|
||||
padding: 1.25rem;
|
||||
}
|
||||
|
||||
.ryd-feature-card__placeholder-label {
|
||||
font-weight: 600;
|
||||
letter-spacing: 0.04em;
|
||||
text-transform: uppercase;
|
||||
color: rgba(255, 106, 112, 0.78);
|
||||
}
|
||||
|
||||
.ryd-feature-card__placeholder-copy {
|
||||
color: var(--ryd-text-secondary);
|
||||
font-size: 0.95rem;
|
||||
}
|
||||
|
||||
.ryd-feature-card__visual img {
|
||||
width: 100%;
|
||||
height: auto;
|
||||
object-fit: contain;
|
||||
border-radius: inherit;
|
||||
display: block;
|
||||
}
|
||||
|
||||
.ryd-list {
|
||||
margin: 0;
|
||||
padding-left: 1.5rem;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 0.6rem;
|
||||
color: var(--ryd-text-secondary);
|
||||
line-height: 1.6;
|
||||
}
|
||||
|
||||
.ryd-list--bulleted {
|
||||
list-style: disc;
|
||||
}
|
||||
|
||||
.ryd-list li::marker {
|
||||
color: var(--ryd-accent);
|
||||
}
|
||||
|
||||
.ryd-section--support {
|
||||
align-items: flex-start;
|
||||
}
|
||||
|
||||
.ryd-support {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 0.75rem;
|
||||
}
|
||||
|
||||
.ryd-changelog__footer {
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
margin-top: clamp(2rem, 5vw, 3rem);
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
flex-wrap: wrap;
|
||||
gap: 0.75rem;
|
||||
color: var(--ryd-muted);
|
||||
font-size: 0.9rem;
|
||||
}
|
||||
|
||||
@media (max-width: 720px) {
|
||||
.ryd-changelog {
|
||||
padding: clamp(1.75rem, 6vw, 2.5rem);
|
||||
border-radius: 24px;
|
||||
}
|
||||
|
||||
.ryd-section {
|
||||
padding: clamp(1.5rem, 6vw, 2rem);
|
||||
}
|
||||
|
||||
.ryd-feature-card__visual {
|
||||
min-height: 160px;
|
||||
}
|
||||
}
|
||||
|
||||
@media (prefers-color-scheme: light) {
|
||||
:root {
|
||||
--ryd-bg: linear-gradient(135deg, #ffffff 0%, #f7f7f7 40%, #ffe5e7 100%);
|
||||
--ryd-surface: rgba(255, 255, 255, 0.92);
|
||||
--ryd-card: rgba(255, 255, 255, 0.92);
|
||||
--ryd-card-border: rgba(255, 66, 77, 0.15);
|
||||
--ryd-text-primary: #181818;
|
||||
--ryd-text-secondary: rgba(24, 24, 24, 0.72);
|
||||
--ryd-muted: rgba(120, 120, 120, 0.8);
|
||||
--ryd-shadow: 0 30px 70px rgba(136, 8, 20, 0.16);
|
||||
}
|
||||
|
||||
body {
|
||||
color: var(--ryd-text-primary);
|
||||
}
|
||||
|
||||
.ryd-changelog {
|
||||
background: rgba(255, 255, 255, 0.94);
|
||||
}
|
||||
|
||||
.ryd-feature-card {
|
||||
background: rgba(255, 255, 255, 0.88);
|
||||
}
|
||||
|
||||
.ryd-feature-card__visual {
|
||||
background: rgba(255, 235, 237, 0.75);
|
||||
}
|
||||
|
||||
.ryd-feature-card__placeholder-label {
|
||||
color: rgba(184, 36, 46, 0.85);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,125 @@
|
||||
<!doctype html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<title>__MSG_changelog_title__</title>
|
||||
<link rel="preconnect" href="https://fonts.googleapis.com" />
|
||||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
|
||||
<link
|
||||
href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap"
|
||||
rel="stylesheet"
|
||||
/>
|
||||
<link rel="stylesheet" href="changelog.css" />
|
||||
</head>
|
||||
<body>
|
||||
<div class="ryd-changelog">
|
||||
<header class="ryd-changelog__hero">
|
||||
<div class="ryd-changelog__badge">__MSG_changelog_badge__</div>
|
||||
<h1 class="ryd-changelog__title">__MSG_changelog_heading__</h1>
|
||||
<p class="ryd-changelog__subtitle">__MSG_changelog_subheading__</p>
|
||||
<div class="ryd-changelog__actions">
|
||||
<button class="ryd-button ryd-button--primary" id="ryd-changelog-upgrade">
|
||||
__MSG_changelog_cta_primary__
|
||||
</button>
|
||||
<button class="ryd-button ryd-button--ghost" id="ryd-changelog-support">
|
||||
__MSG_changelog_cta_secondary__
|
||||
</button>
|
||||
</div>
|
||||
<p class="ryd-changelog__meta">__MSG_changelog_releaseDate__</p>
|
||||
</header>
|
||||
|
||||
<main class="ryd-changelog__main">
|
||||
<section class="ryd-section">
|
||||
<h2 class="ryd-section__heading">__MSG_changelog_section_highlights__</h2>
|
||||
<div class="ryd-feature-grid">
|
||||
<article class="ryd-feature-card">
|
||||
<div class="ryd-feature-card__text">
|
||||
<h3>__MSG_changelog_feature_timeline_title__</h3>
|
||||
<p>__MSG_changelog_feature_timeline_body__</p>
|
||||
</div>
|
||||
<figure class="ryd-feature-card__visual">
|
||||
<img
|
||||
src="../images/activity.jpg"
|
||||
alt="Screenshot of the premium activity timeline showing hourly likes and dislikes."
|
||||
loading="lazy"
|
||||
/>
|
||||
</figure>
|
||||
</article>
|
||||
|
||||
<article class="ryd-feature-card">
|
||||
<div class="ryd-feature-card__text">
|
||||
<h3>__MSG_changelog_feature_map_title__</h3>
|
||||
<p>__MSG_changelog_feature_map_body__</p>
|
||||
</div>
|
||||
<figure class="ryd-feature-card__visual">
|
||||
<img
|
||||
src="../images/map1.jpg"
|
||||
alt="Screenshot of the premium world heatmap with country level dislike insights."
|
||||
loading="lazy"
|
||||
/>
|
||||
</figure>
|
||||
<figure class="ryd-feature-card__visual">
|
||||
<img
|
||||
src="../images/map2.jpg"
|
||||
alt="Screenshot of the premium United States heatmap with state level dislike insights."
|
||||
loading="lazy"
|
||||
/>
|
||||
</figure>
|
||||
</article>
|
||||
|
||||
<article class="ryd-feature-card">
|
||||
<div class="ryd-feature-card__text">
|
||||
<h3>__MSG_changelog_feature_quality_title__</h3>
|
||||
<p>__MSG_changelog_feature_quality_body__</p>
|
||||
</div>
|
||||
<figure class="ryd-feature-card__visual">
|
||||
<img
|
||||
src="../images/list.jpg"
|
||||
alt="Screenshot of the premium top countries leaderboard sorted by dislikes."
|
||||
loading="lazy"
|
||||
/>
|
||||
</figure>
|
||||
</article>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section class="ryd-section">
|
||||
<h2 class="ryd-section__heading">__MSG_changelog_section_upgrade__</h2>
|
||||
<p class="ryd-section__intro">__MSG_changelog_upgrade_body__</p>
|
||||
<ol class="ryd-list">
|
||||
<li>__MSG_changelog_upgrade_step1__</li>
|
||||
<li>__MSG_changelog_upgrade_step2__</li>
|
||||
<li>__MSG_changelog_upgrade_step3__</li>
|
||||
</ol>
|
||||
</section>
|
||||
|
||||
<section class="ryd-section">
|
||||
<h2 class="ryd-section__heading">__MSG_changelog_section_release__</h2>
|
||||
<ul class="ryd-list ryd-list--bulleted">
|
||||
<li>__MSG_changelog_release_item1__</li>
|
||||
<li>__MSG_changelog_release_item2__</li>
|
||||
<li>__MSG_changelog_release_item3__</li>
|
||||
</ul>
|
||||
</section>
|
||||
|
||||
<section class="ryd-section ryd-section--support">
|
||||
<h2 class="ryd-section__heading">__MSG_changelog_support_heading__</h2>
|
||||
<p class="ryd-section__intro">__MSG_changelog_support_description__</p>
|
||||
<div class="ryd-support">
|
||||
<button class="ryd-button ryd-button--outline" id="ryd-changelog-contact">
|
||||
__MSG_changelog_support_contact__
|
||||
</button>
|
||||
</div>
|
||||
</section>
|
||||
</main>
|
||||
|
||||
<footer class="ryd-changelog__footer">
|
||||
<span>© __MSG_extensionName__</span>
|
||||
<span>__MSG_changelog_releaseDate__</span>
|
||||
</footer>
|
||||
</div>
|
||||
|
||||
<script type="module" src="../../ryd.changelog.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 25 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 40 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 21 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 43 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 21 KiB |
Reference in new issue
Block a user