sourcegraph/.gitignore
Kelli Rockwell f8ead8534b
cody web: provide suggestions in context selector (#56039)
* Add note to gitignore about cody directory inclusion

* Update docstring about user-history usage

* Re-index user history entries by user ID

* Pass authenticated user ID to useUserHistory hook

* Pass `authenticatedUser` through Cody chat UI component props

* Refactor scope selector queries to use fragments

* Hook up repo selector popover to query 10 most recently visited repos

* Change visibility of `UserHistory.loadEntries()`

* Pass authenticated user through a couple more components

* Refactor suggested repos query to grab 10 by name and first 10 embedded

* Construct suggested repos list from user history, transcript history, and defaults

* Display suggestions, cleanup popover height/display

* Initialize new transcript with previous scope

* Type fixups

* Some language cleanup

* Add docstring for user history hook

* Refactor repo suggestions out to a custom hook

* Re-index Cody transcript history entries by user ID

* Don't show suggestions section at all if there are none

* Update for autoload case

* Update cody-shared dependency

* Fix placeholder spacing

* DRY up suggestions rendering, improve spacing

* Use abbreviated repo name in header

* Bazel configure

* Update editor implementations for cody-shared package

* Add extra top padding to section headers

* Vertically align radio buttons in rows

* Update unindexed warning copy, link color

* Hide context explanation when repos are selected

* Remove "Great"
2023-09-11 04:25:47 +05:30

211 lines
2.9 KiB
Plaintext

# Temporary directory for whatever you want
.tmp/
# Bazel
bazel-*
.bazelrc-nix
# Vim
*.swp
# JetBrains/IntelliJ
.idea
.graphqlconfig
# Emacs
*~
\#*\#
/.emacs.desktop
/.emacs.desktop.lock
.\#*
.dir-locals.el
# Go
*.o
*.a
*.so
# C
*.dylib
# Mac OS X
.DS_Store
# Python
*.py[cod]
__pycache__
# langkit
/workspace/
# Test binaries
*.test
grapher/python/pysonar2/tests
grapher/ruby/rubysonar/target
grapher/ruby/rubysonar/dependency-reduced-pom.xml
grapher/ruby/yard/.bundle
npm-debug.log
pnpm-error.log
pnpm-debug.log
.codemod.bookmark
.elasticbeanstalk/
.tmp/*.jar
/cmd/frontend/internal/graphqlbackend/node_modules
/ui/artifacts
/ui/node_modules
/ui/assets/_goTemplates.js
/ui/assets/analytics.js
/ui/assets/bundle.js
/ui/assets/bundle.css
/ui/assets/sourcebox.js
/ui/assets/sourcebox.css
/ui/assets/test.js
/ui/assets/test.css
/ui/assets/webpack.manifest.json
/ui/assets/vs
/ui/assets/*.html
/ui/assets/*.map
/ui/assets/*.txt
/ui/assets/extension
/ui/.tmp
/ui/assets/scripts/
/ui/assets/styles/
/ui/assets/*.br
/ui/assets/*.gz
/ui/assets/stats-*
*.json.actual
eb-bundle.zip
/release/
/conf/private
/provision/kubernetes/gen
/deploy/sourcegraph.com/src
/deploy/sourcegraph/src
# Sublime
*.sublime-project
*.sublime-workspace
.bin/
.env
/vendor/
.gtm/
cmd/src/debug
cmd/gitserver/debug
cmd/indexer/debug
/.gtm/
# Client
node_modules
package-lock.json
.nyc_output/
coverage/
out/
client/shared/src/schema/*.d.ts
puppeteer/
package-lock.json
/dist
sourcegraph-webapp-*.tgz
*.tsbuildinfo
graphql-operations.ts
*.module.scss.d.ts
dll-bundle
# Extensions
/client/extension-api/dist
# Direnv
.envrc
.direnv
# Docker images
docker-images/prometheus/config/prometheus_targets.yml
comment.txt
.eslintcache
storybook-static/
# Certificates
*.pem
*.crt
# tilt files
/dev/tilt/generated-cluster
/dev/tilt/tilt-watch-targets
# sonarqube
.scannerwork
# sg command specific things, see ./dev/sg
sg.config.overwrite.yaml
# sg Google Cloud API OAuth token
.sg.token.json
# Generated sitemaps are not committed, they're hosted in a GCS bucket.
sitemap/
sitemap_query.db
# Lighthouse CI reports
.lighthouseci/
# Trivy security vulnerability reports
*-security-report.html
# CI annotations
.annotate
.annotate.lock
annotations/
.buildevent_file
# Buildkite analytics files
test-reports/
# CI linter cache (used only in CI)
.golangci-lint-cache
# go workspace files shouldn't be committed
go.work
go.work.sum
# binary
/sg
# SCIP
index.scip
# Buildkite helper and cache files
/an
/tr
/cache-*.tar
# Backward compatibility database tests patch, generated on the fly in CI
# for `bazel test @sourcegraph_back_compat//...` targets.
/dev/backcompat/back_compat_migrations.patch
# Generated on CI only
.aspect/bazelrc/ci.sourcegraph.bazelrc
# nix
result
result-*
# Windows
/cmd/sourcegraph/__debug_bin.exe
# For locally building and testing shared packages from the sourcegraph/cody repository on
# the web client.
/cody