Skip to content

Commit 9a53689

Browse files
committed
small fixes
1 parent 358a981 commit 9a53689

File tree

4 files changed

+7
-3
lines changed

4 files changed

+7
-3
lines changed

core/lib/canary/index/trieve/client.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ defmodule Canary.Index.Trieve.Actual do
227227
%{
228228
highlight_window: 12,
229229
highlight_max_length: 6,
230-
highlight_threshold: 0.8,
230+
highlight_threshold: 0.4,
231231
highlight_strategy: :v1
232232
}
233233

core/lib/canary/workers/job_reporter.ex

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,9 @@ defmodule Canary.Workers.JobReporter do
5454
rescue
5555
e ->
5656
Logger.info(Exception.format(:error, e, __STACKTRACE__))
57+
catch
58+
e ->
59+
Logger.info(Exception.format(:error, e, __STACKTRACE__))
5760
end
5861
end
5962

core/lib/canary_web/live/example_live/examples.ex

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,8 @@ defmodule CanaryWeb.ExampleLive.Examples do
9191
if(has_webpage and has_github,
9292
do: %{
9393
name: "Search with tabs",
94-
description: "Can create any number of tabs using glob patterns.",
94+
description:
95+
"Can create any number of tabs using glob patterns. e.g. Docs / Blog / GitHub / API / etc.",
9596
code: """
9697
<canary-root query="#{assigns.current_project.name}">
9798
<canary-provider-cloud project-key="#{assigns.current_project.public_key}" api-base="#{CanaryWeb.Endpoint.url()}">

core/lib/canary_web/live/projects_live/index.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ defmodule CanaryWeb.ProjectsLive.Index do
4949
</div>
5050
</div>
5151
52-
<Primer.box is_scrollable style="max-height: 400px; margin-top: 18px">
52+
<Primer.box is_scrollable style="max-height: 600px; margin-top: 18px">
5353
<:row :for={project <- @current_account.projects}>
5454
<div class="flex flex-row items-center justify-between">
5555
<span><%= project.name %></span>

0 commit comments

Comments
 (0)