-
Notifications
You must be signed in to change notification settings - Fork 112
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
f43d3a3
commit fd21478
Showing
10 changed files
with
77 additions
and
93 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,7 +8,6 @@ | |
import json | ||
import httpx | ||
|
||
|
||
__all__ = ["LspProxy"] | ||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
80 changes: 40 additions & 40 deletions
80
...machinery/webgui/static/chat/chat.umd.cjs → ...chinery/webgui/static/assets/chat.umd.cjs
Large diffs are not rendered by default.
Oops, something went wrong.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,19 @@ | ||
<!doctype html> | ||
<!DOCTYPE html> | ||
<html lang="en" class="light"> | ||
<head> | ||
<meta charset="UTF-8" /> | ||
<link rel="icon" type="image/png" href="/favicon.png" /> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | ||
<title>Refact.ai Chat</title> | ||
<meta charset="UTF-8" /> | ||
<link rel="icon" type="image/png" href="/favicon.png" /> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | ||
<title>Refact.ai Chat</title> | ||
<!-- TODO: consider using a cdn for hosting these files after integrating with IDEs--> | ||
<script type="module" crossorigin src="/chat/chat.umd.js"></script> | ||
<link rel="stylesheet" crossorigin href="/chat/styles.css"> | ||
<link rel="stylesheet" crossorigin href="/chat/theme-config.css"> | ||
</head> | ||
<link rel="stylesheet" href="assets/style.css" /> | ||
<link rel="stylesheet" crossorigin href="/assets/theme-config.css"> | ||
<script src="assets/chat.umd.cjs"></script> | ||
<body> | ||
<div id="root"></div> | ||
<div id="refact-chat"></div> | ||
</body> | ||
</html> | ||
<script> | ||
window.onload = function() { | ||
RefactChat(document.getElementById("refact-chat"), "lsp") | ||
} | ||
</script> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,6 +11,7 @@ | |
<link href="https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;700&display=swap" rel="stylesheet"> | ||
<link rel="stylesheet" href="style.css"> | ||
<link rel="shortcut icon" href="#"> | ||
<link rel="icon" type="image/png" href="/favicon.png" /> | ||
<script src="https://cdn.jsdelivr.net/npm/handlebars@latest/dist/handlebars.js"></script> | ||
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/echarts.min.js"></script> | ||
<title>Refact Self Hosting</title> | ||
|
@@ -65,6 +66,11 @@ | |
</li> | ||
{{/unless}} | ||
{{/each}} | ||
{{#unless hamburger}} | ||
<li class="nav-item" role="presentation"> | ||
<button onclick="window.open('/chat', '_blank')" class="nav-link" id="{{id}}" {{#if disabled}}disabled{{/if}}>Chat</button> | ||
</li> | ||
{{/unless}} | ||
<div class="d-flex ms-auto"> | ||
<li class="nav-item dropdown"> | ||
<a class="nav-link dropdown-toggle" data-bs-toggle="dropdown" href="#" role="button" | ||
|
@@ -91,6 +97,11 @@ | |
</li> | ||
{{/if}} | ||
{{/each}} | ||
{{#if hamburger}} | ||
<li class="nav-item" role="presentation"> | ||
<button onclick="window.open('/chat', '_blank')" class="nav-link main-tab-button" id="{{id}}-tab">Chat</button> | ||
</li> | ||
{{/if}} | ||
</ul> | ||
</li> | ||
</div> | ||
|
@@ -115,8 +126,6 @@ | |
</div> | ||
<div class="main-tab-pane" id="license"> | ||
</div> | ||
<div class="main-tab-pane" id="chat"> | ||
</div> | ||
</div> | ||
</div> | ||
|
||
|
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.