nextcloud / nextcloud/maps

Allow to populate the search field via URL parameter

Open
#694 1 comment 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

feature: 🔍 search good first issue
Dominant language
JavaScript
Stars
598
Forks
113
PR merge metrics
No merged PRs in 30d

Description

This is a proposal for an enhancement:

allow to enter an address to search for, directly in the URL, via a parameter
for example
../index.php/apps/maps/?search=my%20address

this would allow, for example,
having a firefox bookmark called "maps" with address ../index.php/apps/maps/?search=
when entering "maps rome" in the address bar, firefox would directly open the maps app at the desired location (e.g. Rome).

another option is having a gesture browser extension so that when an address is selected, making the gesture would automatically open the maps app at the address location.

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 at the maps app URL entry point shown as ../index.php/apps/maps/ and trace how the search field is initialized. Check how the search parameter should be decoded and confirm that opening a URL with search=my%20address populates the field and searches for that address.

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.