Skip to content

Conversation

aspenyang
Copy link

@aspenyang aspenyang commented Sep 7, 2025

aspenyang Large ✏️ Draft aspenyang /opt1-search → Lissy93/dashy Commits: 36 | Files Changed: 11 | Additions: 600 Label Unchecked Tasks Powered by Pull Request Badge

Category:

Feature

Overview

Work in Progress – Opening this PR to gather feedback.
Implements the the URL detection / "go to link" feature and adds a toggle for default web search behavior.

Current behavior:

  • Pressing Enter on a detected URL opens the link.
  • Web search can be enabled/disabled via conf.yml (default on launch) and a runtime UI toggle.

Issue Number (if applicable) #1881

New Vars (if applicable)

  • disableWebSearch in conf.yml: controls default web search behavior on Dashy launch.
  • A setting button besides the search bar:
    • a runtime option to toggle the web search feature
    • a runtime option to toggle the "go to link" feature

Screenshot (if applicable)

  • The web search toggle configuration in conf.yml UI:
    web_search_toggle_conf_edited
  • The search bar behavior setting button:
    search_settings_button_edited
  • Runtime toggles for the web search feature and the url detection/open link feature
    search_settings

Code Quality Checklist (Please complete)

  • All changes are backwards compatible
  • All lint checks and tests are passing
  • There are no (new) build warnings or errors
  • (If a new config option is added) Attribute is outlined in the schema and documented
  • (If a new dependency is added) Package is essential, and has been checked out for security or performance
  • (If significant change) Bumps version in package.json

Copy link

netlify bot commented Sep 7, 2025

Deploy Preview for dashy-dev ready!

Name Link
🔨 Latest commit f1c3d7b
🔍 Latest deploy log https://app.netlify.com/projects/dashy-dev/deploys/68dc0aa2a32ffe000879383f
😎 Deploy Preview https://deploy-preview-1915--dashy-dev.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Adds searchTilesWithFields(allTiles, searchTerm, fieldSelection) to enable advanced search constrained to selected fields.
feat(search): add field-aware exact match section grouped by original section Body
@aspenyang
Copy link
Author

New Features: Advanced Search Functionality

  • Advanced Search Panel: Users can enable advanced search and select which fields (title, description, provider, URL, tags, domain) to search from.
  • Exact Match Block: When advanced search is enabled, exact matches are visually highlighted in a dedicated section for quick access.
  • Force Web Search (only accessible when web search enabled): Option to trigger a web search using Ctrl/Cmd+Enter, even when a web link is detected.

New Vars

  • Search Settings Button
    • Provides a runtime option to enable Advanced Search, allowing users to filter by specific fields.

Screenshots:

Advanced search panel

  • User can select from six fields to restrict search range
  • User can toggle "ctrl/cmd + enter" to enforce web search (when web search enabled)
    advanced_search_edited

Exact Match Section

  • When searching in advanced mode, a new "Exact Match" block will show up if there are exact matches
  • Selected item in "Exact Search" is highlighted, user can press "enter" to open the selected item
  • User can use "left" and "right" arrow key to change selected item
    exact_match_edited

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant