Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: gitHub authentication to the application using GitHub's Device Flow O… #408

Open
wants to merge 43 commits into
base: main
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
43 commits
Select commit Hold shift + click to select a range
0c1b5c0
GitHub authentication to the application using GitHub's Device Flow O…
Nov 25, 2024
60bbee4
Add type for error response
Nov 25, 2024
14c289f
fix error handling
Nov 25, 2024
e43953e
moved /github to /lib
Nov 25, 2024
0822ccd
Merge branch 'main' into feat/git-auth
thecodacus Dec 3, 2024
1b61aab
Merge branch 'main' into feat/git-auth
Dec 14, 2024
e4af820
merge main
Dec 14, 2024
9118ede
Merge branch 'main' into feat/git-auth
emcconnell Dec 14, 2024
0e2c9fb
GitHub OAuth optional feature
Dec 14, 2024
ea6d5e5
GitHub OAuth optional feature
Dec 14, 2024
5497f8f
Merge branch 'feat/git-auth' of https://github.com/emcconnell/bolt.ne…
Dec 14, 2024
e91bd2b
merge changes
Dec 14, 2024
66beb24
chore: update commit hash to 9efc709782ed44a36da6de2222b1d5dd004fb489
github-actions[bot] Dec 14, 2024
865324d
chore: update commit hash to 2638c1a704118b411f942e1b17b6765abce46721
github-actions[bot] Dec 20, 2024
54e7156
Merge branch 'main' of https://github.com/emcconnell/bolt.new-any-llm
Dec 20, 2024
1a4d300
commit
Dec 20, 2024
4a55c2b
Merge branch 'main' into feat/git-auth
Dec 20, 2024
93d121c
Merge branch 'main' into feat/git-auth
Dec 20, 2024
f0fb1e9
more changes
Dec 20, 2024
087e02e
more changes
Dec 20, 2024
f739713
more changes
Dec 20, 2024
9609a51
more changes
Dec 20, 2024
43d5f28
more changes
Dec 20, 2024
733fc83
more changes
Dec 20, 2024
f0464a2
more changes
Dec 20, 2024
dad7562
more changes
Dec 20, 2024
addeefe
more changes
Dec 20, 2024
6bd33c9
more changes
Dec 20, 2024
f3f1ea8
more changes
Dec 20, 2024
87579d8
more changes
Dec 20, 2024
d37cf4e
more changes
Dec 20, 2024
18d72e9
more changes
Dec 20, 2024
6a5deaf
more changes
emcconnell Dec 21, 2024
4273fe4
more changes
emcconnell Dec 21, 2024
aeb501f
more changes
Dec 21, 2024
84781ad
more changes
Dec 21, 2024
fd7e72a
more changes
Dec 21, 2024
b07702d
more changes
Dec 21, 2024
4e2d561
more changes
Dec 21, 2024
b819e9f
merge main
Dec 21, 2024
07fb2ea
fix repo visibility
Dec 22, 2024
099b003
debounce repo name lookup
Dec 22, 2024
820f6bb
more changes
Dec 22, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
commit
Ed McConnell committed Dec 20, 2024
commit 1a4d3005fe7e8e87fca02028bac27895318bf3ae
2 changes: 1 addition & 1 deletion app/commit.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{ "commit": "66beb24527f841120a8d3372b01265fc47509dc7" }
{ "commit": "54e71569d4cb60fb61567645bea7f1c8a779215c" }
21 changes: 9 additions & 12 deletions app/components/settings/providers/ProvidersTab.tsx
Original file line number Diff line number Diff line change
@@ -35,8 +35,8 @@ export default function ProvidersTab() {
newFilteredProviders.sort((a, b) => a.name.localeCompare(b.name));

// Split providers into regular and URL-configurable
const regular = newFilteredProviders.filter(p => !URL_CONFIGURABLE_PROVIDERS.includes(p.name));
const urlConfigurable = newFilteredProviders.filter(p => URL_CONFIGURABLE_PROVIDERS.includes(p.name));
const regular = newFilteredProviders.filter((p) => !URL_CONFIGURABLE_PROVIDERS.includes(p.name));
const urlConfigurable = newFilteredProviders.filter((p) => URL_CONFIGURABLE_PROVIDERS.includes(p.name));

setFilteredProviders([...regular, ...urlConfigurable]);
}, [providers, searchTerm, isLocalModel]);
@@ -112,8 +112,8 @@ export default function ProvidersTab() {
);
};

const regularProviders = filteredProviders.filter(p => !URL_CONFIGURABLE_PROVIDERS.includes(p.name));
const urlConfigurableProviders = filteredProviders.filter(p => URL_CONFIGURABLE_PROVIDERS.includes(p.name));
const regularProviders = filteredProviders.filter((p) => !URL_CONFIGURABLE_PROVIDERS.includes(p.name));
const urlConfigurableProviders = filteredProviders.filter((p) => URL_CONFIGURABLE_PROVIDERS.includes(p.name));

return (
<div className="p-4">
@@ -128,22 +128,19 @@ export default function ProvidersTab() {
</div>

{/* Regular Providers Grid */}
<div className="grid grid-cols-2 gap-4 mb-8">
{regularProviders.map(renderProviderCard)}
</div>
<div className="grid grid-cols-2 gap-4 mb-8">{regularProviders.map(renderProviderCard)}</div>

{/* URL Configurable Providers Section */}
{urlConfigurableProviders.length > 0 && (
<div className="mt-8">
<h3 className="text-lg font-semibold mb-2 text-bolt-elements-textPrimary">Experimental Providers</h3>
<p className="text-sm text-bolt-elements-textSecondary mb-4">
These providers are experimental and allow you to run AI models locally or connect to your own infrastructure. They require additional setup but offer more flexibility.
These providers are experimental and allow you to run AI models locally or connect to your own
infrastructure. They require additional setup but offer more flexibility.
</p>
<div className="space-y-4">
{urlConfigurableProviders.map(renderProviderCard)}
</div>
<div className="space-y-4">{urlConfigurableProviders.map(renderProviderCard)}</div>
</div>
)}
</div>
);
}
}