Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

"Repos Summary" - Feature search for quick navigation #182

Closed
AvnerCohen opened this issue Jan 6, 2016 · 7 comments
Closed

"Repos Summary" - Feature search for quick navigation #182

AvnerCohen opened this issue Jan 6, 2016 · 7 comments

Comments

@AvnerCohen
Copy link

Thanks for Hound ! Awesome work.

We have an issue, and before digging into the code to see if we can improve, was wondering if maybe I'm just missing something.

We have many repositories (> 100) indexed using hound. Sometimes you have to search for a term that exists in multiple places and returns way too many results.

In this instances, it would really be good if I could get the results grouped by repo in a collapse/expand sort of view. This way I can:

  1. At a glance, see what the overall picture of results (and maybe tune the query).
  2. Be able to drill down into the specific repo without needing to scroll through pages of less relevant results.

Thoughts?

@kellegous
Copy link
Member

Totally agree. I have been wanting to add a section to the UI that allows you to easily navigate amount the repos included in the result set.

@intiocean
Copy link

+1

@pfrandsen
Copy link

+1 for this. We just started using Hound at work (awesome tool) and are indexing around 600 repos. It would be really nice to have a list of matching repos (result overview) with links to the matches for a given repo.

@AvnerCohen
Copy link
Author

@kellegous you looking for someone to take a stab at this? any pointers to the specific implementation you maybe had in mind, but not the time?

@tanyunshi
Copy link

👍 collapse/expand view would be very nice for a large amount of repositories.

tanyunshi pushed a commit to Polyconseil/hound that referenced this issue Jan 30, 2017
tanyunshi pushed a commit to Polyconseil/hound that referenced this issue Jan 31, 2017
tanyunshi pushed a commit to Polyconseil/hound that referenced this issue Jan 31, 2017
tanyunshi pushed a commit to Polyconseil/hound that referenced this issue Feb 15, 2017
tanyunshi pushed a commit to Polyconseil/hound that referenced this issue Feb 17, 2017
tanyunshi pushed a commit to Polyconseil/hound that referenced this issue Feb 24, 2017
tanyunshi pushed a commit to Polyconseil/hound that referenced this issue Feb 24, 2017
tanyunshi pushed a commit to Polyconseil/hound that referenced this issue Apr 27, 2017
tanyunshi pushed a commit to Polyconseil/hound that referenced this issue Jun 12, 2017
xavfernandez pushed a commit to Polyconseil/hound that referenced this issue Mar 12, 2019
xavfernandez pushed a commit to Polyconseil/hound that referenced this issue Mar 12, 2019
safrimus pushed a commit to safrimus/hound that referenced this issue Jun 26, 2019
Refers to hound-search#182

(cherry picked from commit b790d69)
yelizariev pushed a commit to yelizariev/hound that referenced this issue Nov 24, 2019
yelizariev pushed a commit to yelizariev/hound that referenced this issue Nov 24, 2019
yelizariev pushed a commit to yelizariev/hound that referenced this issue Nov 29, 2019
yelizariev pushed a commit to yelizariev/hound that referenced this issue Nov 29, 2019
Roguelazer pushed a commit to EasyPost/hound that referenced this issue Sep 27, 2021
@Roguelazer
Copy link

Any chance of upstreaming the attached PR for this? It would be nice to not have to keep pulling it in to my company's fork.

@salemhilal
Copy link
Contributor

Hey @Roguelazer, are you talking about this issue specifically? If you're willing to bring it up to date I can take a crack at it shortly. Otherwise, I can look on Wednesday.

vracini added a commit to vracini/hound that referenced this issue Mar 21, 2022
vracini added a commit to vracini/hound that referenced this issue Mar 21, 2022
rwtnorton added a commit to EasyPost/hound that referenced this issue Dec 2, 2024
Summary:
Merge pull request hound-search#387 from corbosman/main

Adds support for Github webhooks, so that committing to a repository sends a webhook request to hound, which then re-indexes the repository. Per contributor @corbosman, this enabled his org to use Hound with thousands of repos and keep indexes fresh.

Omit ports in constructed URL (hound-search#383)

Improve accessibility (hound-search#398)

* Resolve WCAG2AA.Principle3.Guideline3_1.3_1_1.H57.2

* Resolve WCAG2AA.Principle4.Guideline4_1.4_1_2.H91.InputText.Name

* Resolve WCAG2AA.Principle4.Guideline4_1.4_1_2.H91.Button.Name

* Improve stats contrast

* Improve advanced text contrast

* Improve repo title contrast

* Improve contrast in advanced section

* Improve line number contrast

* Improve excluded files contrast

* Improve "load all" button contrast

Automatically build docker image and publish to ghcr.io (hound-search#401)

* Feat: Use goreleaser

* Feat: Add docker build, remove goreleaser

* Fix: Add image name

* Feat: Use ghcr.io and build-push-action@2

* We try again

* Trying yet again

* Fix: Use actor and GITHUB_TOKEN

* Fix: Use github.actor in image tag path

* Fix: use github.repository_owner instead of github.actor

When you have an organisation, github.actor != github.repository_owner

Co-authored-by: Jone Marius Vignes <jvig@ihelse.net>

Update default-config.json (hound-search#391)

* Update default-config.json

* Update default-config.json (ref: main)

Add hyperlinks to repository root (hound-search#396)

Add literal search option (hound-search#397)

* Add literal search option

* Pull EscapeRegExp into common.js

* Add db/ to Jest ignore patterns

* Test EscapeRegExp() matches its input

* Test vacuous EscapeRegExp

Give repo links a target of blank (hound-search#404)

Add rel="noopener noreferrer" to _blank links

Adding pull request template

Update README to use ghcr.io

Currently, the README suggests running an outdated version of hound. There's been a lot of good work done in the past [3 years](https://hub.docker.com/r/etsy/hound/tags).

The container registry was updated in hound-search#401

Add latest tag

Fix typo

Remove default branch warning

It's been almost a year since we renamed the default branch to `main`. The warning can probably be taken out.

ui: collapse and expand files Fixes hound-search#182

Fix the linter, update golang versions. (hound-search#422)

* golangci to v3 per https://stackoverflow.com/questions/71758856/github-action-for-golangci-lint-fails-with-cant-load-fmt

* add with latest

* add setup-go and specific version

* update version

* Use only one actions/checkout, previous version of go linter

The linter (`golangci`) and the action that runs the linter (`golangci/golangci-lint-action`) are separate. The linter seems to be running but finding new errors, so this change might be enough to temporarily squash those.

* Drop go 1.12 and 1.13,  add 1.17 and 1.18

There's a new golang version every 6 months. The latest two golang versions are supported officially. I'm keeping 1.14 around for now since it was previously the latest supported version.

* Only run linter on 1.17

The 1.18 linter has import issues that we'll investigate later.

* update version

* nolint

* nolint

* nolint

* nolint

* update lint to go 1.18

Co-authored-by: David Schott <dschott@etsy.com>

chore: Bump version const

Otherwise, `houndd -version` spits out the wrong version.
Anticipating the patch release that this commit will go out with.

Add config.json to .gitignore

Add .dockerignore

Adding the setup-qemu-action to enable multiplatform docker builds from github actions

Attempt auto-generated files

Add badge

refactor to use filenames and no regex

add config override

add some docs

add config test

Update version for release

Update Makefile to reflect the move to a go module.

Convert Signal to es6 class. (hound-search#440)

Upgrade all devDependencies in webpack build. (hound-search#439)

Corrected a typo in readme.md

chore: add manual install option (hound-search#446)

* chore: add another option to install hound

* chore: format

* chore: add $GOPATH/bin in installation

* fix indentation for bulleted list

---------

Co-authored-by: dschott <dschott@etsy.com>

kick off for pull requests (hound-search#448)

Add my name to the README

change Advanced options div ID

Merge pull request hound-search#449 from hound-search/jswensen-bug-385

[Issue 385] change Advanced options div ID

Update list of maintainers with additional volunteers (hound-search#451)

Add `display-name` option to customize/disambiguate output (hound-search#454)

Rebuild ui/bindata.go

It seems that ui/bindata.go has got out of sync; the changes from
d25b221 aren't applying and the
advanced dialog box is always showing, as the div doesn't match.

Regenerating this seems to make things work

Closes: hound-search#453

bump the version (hound-search#457)

Update alpine to 3.16 and switch from bzr to breezy (hound-search#429)

Co-authored-by: David Schott <dschott68@users.noreply.github.com>

Add support for manually setting a limit on results

* Added a query parameter to allow user to specify max results, rather
  than a hard limit at 5000, for each index.
* Added support for a default max result limit in the config.  If unset,
  it remains at the former default of 5000 results per index.
* Fixed issue where no results would be returned if the limit was
  exceeded - now it simply returns the results up to the limit.

Add tests for parse min/max bounds

Merge pull request hound-search#464 from hound-search/AlexTalks/tests

Add support for manually setting a limit on results(copy)

Another attempt to replace go-bindata with //go:embed (hound-search#460)

* switch from go-bindata to embed

Signed-off-by: moson-mo <mo-son@mailbox.org>

* bump semver dependency to v4

Signed-off-by: moson-mo <mo-son@mailbox.org>

* amend workflow jobs for go-embed switch

Signed-off-by: moson-mo <mo-son@mailbox.org>

---------

Signed-off-by: moson-mo <mo-son@mailbox.org>

Remove jquery from hound

Merge pull request hound-search#465 from hound-search/iagu/remove-jquery

Remove jquery from hound

Add fake source

Copy with rsync

fake: Do not copy, use a symlink

Rebase on the latest version

Replace tar hashing with golang.org/x/mod and add options

Rename vcs driver from "fake" to "local"

Rename "detect-changes" to "watch-changes"

Update the README

Clarify a few things in the comments

Suppress the linting error

Prevent line numbers from being copied in search results

Merge remote-tracking branch 'mainline/main' into sync_with_mainline

support phab repo links

Reviewers: #risk_assessment_framework!

Subscribers: #risk_assessment_framework

Differential Revision: https://phab.easypo.net/D61327
# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

No branches or pull requests

7 participants