Move Subscriptions sidebar icon above Watch History

- Moved the Subscriptions link block above the Watch History link block in `components/sidebar.html`.
- Verified hydration logic with `tests/app/hydrate-sidebar-navigation.test.mjs`.
- Visually verified the order using a frontend verification script.
This commit is contained in:
google-labs-jules[bot] committed 2026-01-19 02:26:50 +00:00
1 parent 5261f3125b
commit 405405d3c6
1 file changed
+9 -9
+9 -9
View File
@@ -72,15 +72,6 @@
/>
<span class="sidebar-text">Explore</span>
</a>
<a href="#view=history" class="sidebar-nav-link" title="History">
<img
src="assets/svg/history-icon.svg"
alt=""
aria-hidden="true"
class="sidebar-icon"
/>
<span class="sidebar-text">History</span>
</a>
<a
id="subscriptionsLink"
href="#view=subscriptions"
@@ -95,6 +86,15 @@
/>
<span class="sidebar-text">Subscriptions</span>
</a>
<a href="#view=history" class="sidebar-nav-link" title="History">
<img
src="assets/svg/history-icon.svg"
alt=""
aria-hidden="true"
class="sidebar-icon"
/>
<span class="sidebar-text">History</span>
</a>
</nav>
</section>