mirror of
https://github.com/Alvin-Zilverstand/return-youtube-dislike.git
synced 2026-12-02 19:01:21 +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
@@ -35,12 +35,36 @@
|
||||
>
|
||||
__MSG_linkDonate__
|
||||
</button>
|
||||
<button class="m3-btn" id="link_discord">Discord</button>
|
||||
<button class="m3-btn" id="link_discord" title="__MSG_linkDiscord__">__MSG_linkDiscord__</button>
|
||||
<br />
|
||||
|
||||
<!-- Patreon Login Section -->
|
||||
<div id="patreon-section" style="margin-top: 1rem; padding: 0.5rem; border-top: 1px solid var(--lightGrey);">
|
||||
<div id="patreon-logged-out" style="display: none;">
|
||||
<p style="color: var(--lightGrey); font-size: 0.9rem; margin-bottom: 0.5rem;" title="__MSG_patreonLoggedOutMessage__">__MSG_patreonLoggedOutMessage__</p>
|
||||
<button class="m3-btn m3-primary" id="patreon-login-btn" title="__MSG_patreonLogin__">
|
||||
<svg style="width: 16px; height: 16px; margin-right: 6px; vertical-align: middle;" viewBox="0 0 24 24" fill="currentColor">
|
||||
<path d="M14.82 2.41c3.96 0 7.18 3.24 7.18 7.21c0 3.96-3.22 7.18-7.18 7.18c-3.97 0-7.21-3.22-7.21-7.18c0-3.97 3.24-7.21 7.21-7.21M2 21.6h3.5V2.41H2V21.6z"/>
|
||||
</svg>
|
||||
__MSG_patreonLogin__
|
||||
</button>
|
||||
</div>
|
||||
<div id="patreon-logged-in" style="display: none;">
|
||||
<div style="display: flex; align-items: center; margin-bottom: 0.5rem;">
|
||||
<img id="patreon-user-avatar" src="" alt="" style="width: 32px; height: 32px; border-radius: 50%; margin-right: 8px; display: none;">
|
||||
<div>
|
||||
<p id="patreon-user-name" style="font-weight: 500; margin: 0;"></p>
|
||||
<p id="patreon-tier" style="color: var(--lightGrey); font-size: 0.8rem; margin: 0;"></p>
|
||||
</div>
|
||||
</div>
|
||||
<button class="m3-btn" id="patreon-logout-btn" style="font-size: 0.9rem;" title="__MSG_patreonLogout__">__MSG_patreonLogout__</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<button class="m3-btn" style="margin-top: 0.3rem" id="link_faq" title="__MSG_linkFAQ__">
|
||||
__MSG_linkFAQ__
|
||||
</button>
|
||||
<button class="m3-btn" id="link_github">GitHub</button>
|
||||
<button class="m3-btn" id="link_github" title="__MSG_linkGithub__">__MSG_linkGithub__</button>
|
||||
<button class="m3-btn" style="margin-top: 0.3em" id="link_help" title="__MSG_linkHelp__">
|
||||
__MSG_linkHelp__
|
||||
</button>
|
||||
@@ -56,7 +80,7 @@
|
||||
|
||||
<br />
|
||||
<br />
|
||||
<p style="display: none">API Status: <b id="status"></b></p>
|
||||
<p style="display: none">__MSG_apiStatusLabel__ <b id="status"></b></p>
|
||||
<img
|
||||
id="server-status"
|
||||
style="display: none; width: 0.75rem; height: 0.75rem"
|
||||
@@ -96,13 +120,13 @@
|
||||
|
||||
<!-- dialog box -->
|
||||
<fieldset id="advancedSettings">
|
||||
<label class="switch" data-hover="Disable Logging API Response in JavaScript Console.">
|
||||
<label class="switch" data-hover="__MSG_disableLoggingHover__">
|
||||
<input type="checkbox" id="disable_logging"/>
|
||||
<span class="slider"/>
|
||||
<span class="switchLabel">Disable logging to console</span>
|
||||
<span class="switchLabel">__MSG_disableLoggingLabel__</span>
|
||||
</label>
|
||||
<br />
|
||||
<label class="switch" data-hover="Stop counting your likes and dislikes">
|
||||
<label class="switch" data-hover="__MSG_textSettingsHover__">
|
||||
<input type="checkbox" id="disable_vote_submission" />
|
||||
<span class="slider"></span>
|
||||
<span class="switchLabel" title="__MSG_textSettings__">
|
||||
@@ -116,6 +140,12 @@
|
||||
<span class="switchLabel">__MSG_reformatLikes__</span>
|
||||
</label>
|
||||
<br />
|
||||
<label class="switch" data-hover="__MSG_hidePremiumTeaserHover__">
|
||||
<input type="checkbox" id="hide_premium_teaser" />
|
||||
<span class="slider"></span>
|
||||
<span class="switchLabel">__MSG_hidePremiumTeaser__</span>
|
||||
</label>
|
||||
<br />
|
||||
<div class="custom-select">
|
||||
<label for="number_format">__MSG_numberFormat__</label>
|
||||
<select name="number_format" id="number_format">
|
||||
|
||||
Reference in new issue
Block a user