jthegedus / jthegedus/docsify-select

Select value based on url query

Open
#27 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
JavaScript
Stars
30
Forks
6
PR merge metrics
No merged PRs in 30d

Description

Is your feature request related to a problem? Please describe.
It would be very useful if we could set the selected value with a URL query parameter. I'm not sure if there's a way to achieve this manually.

Describe the solution you'd like
To be able to add the value I want for the select through the URL, something like: ?select-linux-distro=arch-linux

Describe alternatives you've considered
I've been trying to set it manually through a JS listener but haven't been very successful

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading the plugin's JavaScript entry point and the existing select handling. Reproduce the requested URL-query case, such as ?select-linux-distro=arch-linux, and compare it with the current manual JavaScript-listener approach. Done means a matching query parameter selects the requested value when the plugin renders.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.