Commit graph

616 commits

Author SHA1 Message Date
Konrad Staniszewski
ce8232a23c
Filter panel visual fixes (#105)
* Make filter panel full page height

* Fix filter items text

when the filter items were cutoff, the text would break onto multiple
lines and the count would overlap with the text

---------

Co-authored-by: Brendan Kellam <bshizzle1234@gmail.com>
2024-12-03 10:46:42 -10:00
bkellam
7915af8acd release v2.6.0 2024-12-02 16:15:25 -08:00
Konrad Staniszewski
b452fd2983
Gerrit sync (#104)
* Basic gerrit sync with working gitiles web-links functionality

This adds basic support for gerrit repo code host syncing. Gerrit uses
gitiles plugin for code browsing (in most cases).
It may be usefull to allow users to provide their own web code-browsing
url templates in the future.

* Add gerrit readme update

* Remove config arg from gerrit fetchAllProjects

* Remove example urls

* Resolve comments
2024-12-02 16:07:02 -08:00
bkellam
d9710c702d release v2.5.4 2024-11-29 10:48:53 -08:00
Brendan Kellam
d18601c746
Search history (#99) 2024-11-29 10:42:08 -08:00
bkellam
60dd3e935a release v2.5.3 2024-11-28 13:33:04 -08:00
Brendan Kellam
120d84a046
Symbol suggestions (#98) 2024-11-28 13:26:27 -08:00
bkellam
b115218be9 release v2.5.2 2024-11-27 10:51:35 -08:00
bkellam
55b50f22fd Fixed homepage links not resolving when DOMAIN_SUB_PATH is set. Fixes #96 2024-11-27 10:48:22 -08:00
bkellam
c061136125 Fix filter icon bug. Fixes #95 2024-11-27 10:43:41 -08:00
bkellam
18988ed14d release v2.5.1 2024-11-26 22:03:35 -08:00
Brendan Kellam
d6544086e7
Icon & link support for self-hosted repositories (#93) 2024-11-26 21:49:41 -08:00
bkellam
01f4329d3e Update README.md to point to new demo url 2024-11-26 14:22:38 -08:00
Brendan Kellam
33b5418bbf
Pass PostHog key at build time (#92) 2024-11-25 21:04:52 -08:00
Brendan Kellam
c73c34428c
File suggestions (#88) 2024-11-24 13:58:05 -08:00
dependabot[bot]
4b1a782539
Bump cross-spawn from 6.0.5 to 6.0.6 (#87)
Bumps [cross-spawn](https://github.com/moxystudio/node-cross-spawn) from 6.0.5 to 6.0.6.
- [Changelog](https://github.com/moxystudio/node-cross-spawn/blob/v6.0.6/CHANGELOG.md)
- [Commits](https://github.com/moxystudio/node-cross-spawn/compare/v6.0.5...v6.0.6)

---
updated-dependencies:
- dependency-name: cross-spawn
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-11-23 14:24:42 -08:00
bkellam
6f6d8103c5 release v2.5.0 2024-11-22 18:57:09 -08:00
Brendan Kellam
7f952ce163
Search suggestions (#85)
The motivation for building search suggestions is two-fold: (1) to make the zoekt query language more approachable by presenting all available options to the user, and (2) make it easier for power-users to craft complex queries.

The meat-n-potatoes of this change are concentrated in searchBar.tsx and searchSuggestionBox.tsx. The suggestions box works by maintaining a state-machine of "modes". By default, the box is in the refine mode, where suggestions for different prefixes (e.g., repo:, lang:, etc.) are suggested to the user. When one of these prefixes is matched, the state-machine transitions to the corresponding mode (e.g., repository, language, etc.) and surfaces suggestions for that mode (if any).

The query is split up into parts by spaces " " (e.g., 'test repo:hello' -> ['test', 'repo:hello']). See splitQuery. The part that has the cursor over it is considered the active part. We evaluate which mode the state machine is in based on the active part. When a suggestion is clicked, we only modify the active part of the query.

Three modes are currently missing suggestion data: file (file names), revision (branch / tag names), and symbol (symbol names). In future PRs, we will need to introduce endpoints into the backend to allow the frontend to fetch this data and surface it as suggestions..
2024-11-22 18:50:13 -08:00
bkellam
3fe2d3295a release v2.4.4 2024-11-20 14:36:24 -08:00
Brendan Kellam
f3d5fa6cb3
Add config param all to enable syncing all projects in GitLab instance (#84) 2024-11-20 14:29:13 -08:00
Brendan Kellam
83270ffdc9
Add support for configurable domain sub-paths (#74) 2024-11-18 12:09:26 -08:00
bkellam
558d049d38 release v2.4.3 2024-11-18 11:49:37 -08:00
Brendan Kellam
0f8f64c56f
Update docker container Node.JS version to v20 (#78) 2024-11-18 11:48:20 -08:00
bkellam
e5b83b68b2 release v2.4.2 2024-11-14 22:44:15 -08:00
Brendan Kellam
bea86a64c9
enable allow_missing_branches (#73) 2024-11-14 22:35:07 -08:00
Chris Roberts
e6d90398e4
Fix typo'd Exclude repo-wide (#71) 2024-11-14 15:03:34 -08:00
Steven
a407792212
Exclude repos by glob (#70) 2024-11-14 14:16:31 -08:00
Brendan Kellam
276086d2d6
Basic syntax highlighting support for search bar (#66) 2024-11-12 18:43:44 -08:00
Brendan Kellam
9cba4f274f
Add unit testing library to @sourcebot/backend (#65) 2024-11-12 18:37:35 -08:00
bkellam
8d1cc7e48a release 2.4.1 2024-11-11 11:35:27 -08:00
Brendan Kellam
adba96a8c4
Add additional telemetry (#63) 2024-11-09 16:40:07 -08:00
bkellam
379976d458 release v2.4.0 2024-11-06 18:42:48 -08:00
Brendan Kellam
ada53fc2c6
Multi branch / tag support (#58) 2024-11-06 18:28:10 -08:00
bkellam
5992ac5f88 release v2.3.0 2024-11-01 11:00:44 -07:00
Brendan Kellam
7966c1440c
Local directory support (#56) 2024-11-01 10:51:14 -07:00
bkellam
3b8e92053d release v2.2.0 2024-10-30 13:29:29 -07:00
bkellam
934bc8d903 Fixed issue with either or not being included in the GitLab api response. Fixes #55 2024-10-30 13:27:43 -07:00
bkellam
de468eae5d Use main for demo site 2024-10-30 09:35:06 -07:00
Brendan Kellam
e913b22324
Improve rendering performance of search results (#52) 2024-10-30 09:32:05 -07:00
bkellam
8a619b7145 Changelog for #54 2024-10-29 15:14:45 -07:00
Jellyfrog
26779dd84d
GitLab: include subgroups when filtering on groups (#54) 2024-10-29 15:05:18 -07:00
Brendan Kellam
f4c7354037
Filtering panel (#48) 2024-10-28 10:30:29 -07:00
Michael Sukkarieh
1fa3f7484a
Add discord button to nav bar and version in settings drop down (#47)
* add discord button to nav menu

* add version to settings drop down

* nit: prepend version text with "version"

* revert settings json change
2024-10-28 11:06:51 -06:00
bkellam
149664f664 release 2.1.1 2024-10-25 12:02:09 -07:00
Brendan Kellam
8019f316a7
[Fix] Change GitLab syncing behaviour for groups and users to include projects that are _not_ owned by the token (#51) 2024-10-25 12:01:01 -07:00
bkellam
3697f3da7f release 2.1.0 2024-10-22 23:07:33 -04:00
Brendan Kellam
82730f1cb0
Gitea support (#45) 2024-10-22 23:06:36 -04:00
bkellam
b1e0ab088d release 2.0.2 2024-10-18 15:05:03 -04:00
Brendan Kellam
cde9f46570
Version upgrade toast (#44) 2024-10-18 15:03:13 -04:00
bkellam
c5f80eb00b release v2.0.1 2024-10-17 19:30:58 -04:00