[PR #246] [CLOSED] feat: input prefill with location hash #27251

Closed
opened 2026-06-20 10:33:07 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/imputnet/cobalt/pull/246
Author: @jojobii-arks
Created: 11/13/2023
Status: ❌ Closed

Base: current ← Head: jojobii-arks/245-hash-prefill


📝 Commits (1)

  • d546569 feat: input prefill with location hash

📊 Changes

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

View changed files

📝 src/front/cobalt.js (+14 -0)

📄 Description

Resolves #245

Summary

  • On page load, check for hash in window location and update input with hash value if present.
    • NOTE: This doesn't implement the same value regex test that ?u=url implementation does.

Implementation drawbacks to consider

  • If Cobalt happens to use hash values later on (i.e. navigating to an open settings page or specific point in changelog), this would need to be revised to handle those cases.

🔄 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/imputnet/cobalt/pull/246 **Author:** [@jojobii-arks](https://github.com/jojobii-arks) **Created:** 11/13/2023 **Status:** ❌ Closed **Base:** `current` ← **Head:** `jojobii-arks/245-hash-prefill` --- ### 📝 Commits (1) - [`d546569`](https://github.com/imputnet/cobalt/commit/d5465699e86b6e3cc7f9a1f7d4805ed8735565e5) feat: input prefill with location hash ### 📊 Changes **1 file changed** (+14 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `src/front/cobalt.js` (+14 -0) </details> ### 📄 Description Resolves #245 # Summary - On page load, check for hash in window location and update input with hash value if present. - NOTE: This doesn't implement the same value regex test that `?u=url` implementation does. ## Implementation drawbacks to consider - If Cobalt happens to use hash values later on (i.e. navigating to an open settings page or specific point in changelog), this would need to be revised to handle those cases. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-06-20 10:33:07 -05:00
Sign in to join this conversation.