Skip to content

Commit

Permalink
small fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
yujonglee committed Oct 28, 2024
1 parent 358a981 commit 9a53689
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion core/lib/canary/index/trieve/client.ex
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ defmodule Canary.Index.Trieve.Actual do
%{
highlight_window: 12,
highlight_max_length: 6,
highlight_threshold: 0.8,
highlight_threshold: 0.4,
highlight_strategy: :v1
}

Expand Down
3 changes: 3 additions & 0 deletions core/lib/canary/workers/job_reporter.ex
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,9 @@ defmodule Canary.Workers.JobReporter do
rescue
e ->
Logger.info(Exception.format(:error, e, __STACKTRACE__))
catch
e ->
Logger.info(Exception.format(:error, e, __STACKTRACE__))
end
end

Expand Down
3 changes: 2 additions & 1 deletion core/lib/canary_web/live/example_live/examples.ex
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,8 @@ defmodule CanaryWeb.ExampleLive.Examples do
if(has_webpage and has_github,
do: %{
name: "Search with tabs",
description: "Can create any number of tabs using glob patterns.",
description:
"Can create any number of tabs using glob patterns. e.g. Docs / Blog / GitHub / API / etc.",
code: """
<canary-root query="#{assigns.current_project.name}">
<canary-provider-cloud project-key="#{assigns.current_project.public_key}" api-base="#{CanaryWeb.Endpoint.url()}">
Expand Down
2 changes: 1 addition & 1 deletion core/lib/canary_web/live/projects_live/index.ex
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ defmodule CanaryWeb.ProjectsLive.Index do
</div>
</div>
<Primer.box is_scrollable style="max-height: 400px; margin-top: 18px">
<Primer.box is_scrollable style="max-height: 600px; margin-top: 18px">
<:row :for={project <- @current_account.projects}>
<div class="flex flex-row items-center justify-between">
<span><%= project.name %></span>
Expand Down

0 comments on commit 9a53689

Please sign in to comment.