[PR #15860] [MERGED] docs: add-current-path-to-version-switcher #14673

Closed
opened 2026-02-05 15:35:56 +03:00 by OVERLORD · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/immich-app/immich/pull/15860
Author: @NicholasFlamy
Created: 2/2/2025
Status: Merged
Merged: 2/4/2025
Merged by: @jrasm91

Base: mainHead: docs-version-switcher-use-current-path


📝 Commits (1)

  • 7275ac1 add-current-path-to-version-switcher

📊 Changes

1 file changed (+1 additions, -1 deletions)

View changed files

📝 docs/src/components/version-switcher.tsx (+1 -1)

📄 Description

Description

Adds the path of the page you are on to the version switcher options so that you can quickly view changes on the page you are on.

Testing:

Tested in dev environment with npm run start for docs.

Images

Links in the version switcher have the current path in them (visible in the bottom left):
Screenshot 2025-02-02 144126


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/immich-app/immich/pull/15860 **Author:** [@NicholasFlamy](https://github.com/NicholasFlamy) **Created:** 2/2/2025 **Status:** ✅ Merged **Merged:** 2/4/2025 **Merged by:** [@jrasm91](https://github.com/jrasm91) **Base:** `main` ← **Head:** `docs-version-switcher-use-current-path` --- ### 📝 Commits (1) - [`7275ac1`](https://github.com/immich-app/immich/commit/7275ac1e4312e29dd6b82b7fa162814e7dec46e5) add-current-path-to-version-switcher ### 📊 Changes **1 file changed** (+1 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `docs/src/components/version-switcher.tsx` (+1 -1) </details> ### 📄 Description ## Description <!-- Description of the proposed changes. --> Adds the path of the page you are on to the version switcher options so that you can quickly view changes on the page you are on. ### Testing: <!-- Information on the testing that has been done. --> Tested in dev environment with `npm run start` for docs. <details><summary><h2>Images</h2></summary><!-- Images are under this HTML dropdown. --> <!-- Images go below this line. --> Links in the version switcher have the current path in them (visible in the bottom left): ![Screenshot 2025-02-02 144126](https://github.com/user-attachments/assets/b1d49b72-6b37-4d9c-8982-9384c13b440b) </details> <!-- API endpoint changes (if relevant) ### API Changes The `/api/something` endpoint is now `/api/something-else` --> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
OVERLORD added the pull-request label 2026-02-05 15:35:56 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: immich-app/immich#14673