Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions dist/8889.907045bda5017c96.js

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion dist/8889.fa6ee546ab4abfc0.js

This file was deleted.

2 changes: 1 addition & 1 deletion dist/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@
<body class="mat-typography">
<df-root></df-root>
<script type="text/javascript" src="https://assets.calendly.com/assets/external/widget.js"></script>
<script src="runtime.77e1fb9672a39df8.js" type="module"></script><script src="polyfills.cb64ea9d35bc0a9e.js" type="module"></script><script src="main.566154af96e9ca13.js" type="module"></script></body>
<script src="runtime.62892cf87228e373.js" type="module"></script><script src="polyfills.cb64ea9d35bc0a9e.js" type="module"></script><script src="main.566154af96e9ca13.js" type="module"></script></body>
</html>

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,17 @@ interface RoleRow {
`,
styles: [
`
/* Theme-flip tokens: dark text/surfaces by default (light mode);
the dark-theme class restores the original light-on-dark look. */
:host-context(.dark-theme) {
--df-ai-fg: rgba(255, 255, 255, 0.9);
--df-ai-fg-muted: rgba(255, 255, 255, 0.7);
--df-ai-fg-faint: rgba(255, 255, 255, 0.5);
--df-ai-surface: rgba(255, 255, 255, 0.02);
--df-ai-surface-strong: rgba(255, 255, 255, 0.08);
--df-ai-border: rgba(255, 255, 255, 0.1);
}

.prereqs {
border: 1px solid rgba(96, 165, 250, 0.3);
background: rgba(96, 165, 250, 0.05);
Expand All @@ -190,7 +201,7 @@ interface RoleRow {
}
p {
margin: 0;
color: rgba(255, 255, 255, 0.75);
color: var(--df-ai-fg-muted, rgba(0, 0, 0, 0.7));
font-size: 15px;
line-height: 1.55;
}
Expand All @@ -199,7 +210,7 @@ interface RoleRow {
&__section {
padding: 1rem 1.25rem;
border-radius: 6px;
background: rgba(255, 255, 255, 0.02);
background: var(--df-ai-surface, rgba(0, 0, 0, 0.03));

&--missing {
background: rgba(220, 53, 69, 0.06);
Expand All @@ -226,7 +237,7 @@ interface RoleRow {
}

&__kind-icon {
color: rgba(255, 255, 255, 0.5);
color: var(--df-ai-fg-faint, rgba(0, 0, 0, 0.5));
font-size: 17px;
}

Expand All @@ -237,7 +248,7 @@ interface RoleRow {

&__count {
font-size: 14px;
color: rgba(255, 255, 255, 0.6);
color: var(--df-ai-fg-muted, rgba(0, 0, 0, 0.6));
}

&__action {
Expand Down Expand Up @@ -270,8 +281,8 @@ interface RoleRow {
align-items: center;
gap: 0.5rem;
padding: 0.55rem 1.05rem;
background: rgba(255, 255, 255, 0.04);
border: 1px solid rgba(255, 255, 255, 0.1);
background: var(--df-ai-surface-strong, rgba(0, 0, 0, 0.05));
border: 1px solid var(--df-ai-border, rgba(0, 0, 0, 0.12));
border-radius: 999px;
font: inherit;
font-size: 16px;
Expand All @@ -289,7 +300,7 @@ interface RoleRow {
&--selected {
border-color: #60a5fa;
background: rgba(96, 165, 250, 0.18);
color: #fff;
color: var(--df-ai-fg, rgba(0, 0, 0, 0.87));
}
}

Expand All @@ -304,13 +315,13 @@ interface RoleRow {
&__pick-hint {
margin: 0.625rem 0 0;
font-size: 14px;
color: rgba(255, 255, 255, 0.6);
color: var(--df-ai-fg-muted, rgba(0, 0, 0, 0.6));
font-style: italic;
}

&__link {
font-size: 12px;
color: rgba(255, 255, 255, 0.45);
color: var(--df-ai-fg-faint, rgba(0, 0, 0, 0.45));
text-decoration: none;

&:hover {
Expand All @@ -322,19 +333,19 @@ interface RoleRow {
&__hint {
margin: 0.5rem 0 0;
font-size: 13px;
color: rgba(255, 255, 255, 0.7);
color: var(--df-ai-fg-muted, rgba(0, 0, 0, 0.7));
line-height: 1.5;

code {
font-family: 'SFMono-Regular', Menlo, Consolas, monospace;
font-size: 12px;
padding: 0.1rem 0.375rem;
border-radius: 3px;
background: rgba(255, 255, 255, 0.08);
background: var(--df-ai-surface-strong, rgba(0, 0, 0, 0.06));
}

strong {
color: rgba(255, 255, 255, 0.9);
color: var(--df-ai-fg, rgba(0, 0, 0, 0.9));
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -836,7 +836,8 @@ <h4 class="text-center" style="color: black !important">
<df-ai-model-picker
*ngIf="serviceForm.getRawValue().type === 'ai_connection'"
class="full-width"
[form]="serviceForm"></df-ai-model-picker>
[form]="serviceForm"
[serviceId]="edit && serviceData ? serviceData.id : null"></df-ai-model-picker>

<!-- AI Connection: allowed-roles multi-select. Replaces
the auto-rendered allowed_roles JSON text field.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,14 +87,25 @@ interface RoleRow {
`,
styles: [
`
/* Theme-flip tokens: dark text/surfaces by default (light mode);
the dark-theme class restores the original light-on-dark look. */
:host-context(.dark-theme) {
--df-ai-fg: rgba(255, 255, 255, 0.9);
--df-ai-fg-muted: rgba(255, 255, 255, 0.7);
--df-ai-fg-faint: rgba(255, 255, 255, 0.5);
--df-ai-surface: rgba(255, 255, 255, 0.02);
--df-ai-surface-strong: rgba(255, 255, 255, 0.04);
--df-ai-border: rgba(255, 255, 255, 0.08);
}

.allowed-roles {
display: flex;
flex-direction: column;
gap: 1rem;
padding: 1.5rem 1.75rem;
margin: 1rem 0;
background: rgba(255, 255, 255, 0.02);
border: 1px solid rgba(255, 255, 255, 0.08);
background: var(--df-ai-surface, rgba(0, 0, 0, 0.03));
border: 1px solid var(--df-ai-border, rgba(0, 0, 0, 0.12));
border-radius: 8px;
font-size: 16px;

Expand All @@ -117,7 +128,7 @@ interface RoleRow {

&__count {
font-size: 15px;
color: rgba(255, 255, 255, 0.6);
color: var(--df-ai-fg-muted, rgba(0, 0, 0, 0.6));
}

&__action {
Expand All @@ -133,7 +144,7 @@ interface RoleRow {
&__hint {
margin: 0;
font-size: 15px;
color: rgba(255, 255, 255, 0.75);
color: var(--df-ai-fg-muted, rgba(0, 0, 0, 0.7));
line-height: 1.55;
}

Expand All @@ -151,7 +162,7 @@ interface RoleRow {

&__loading,
&__empty {
color: rgba(255, 255, 255, 0.6);
color: var(--df-ai-fg-muted, rgba(0, 0, 0, 0.6));
font-style: italic;
font-size: 15px;
}
Expand All @@ -176,8 +187,8 @@ interface RoleRow {
align-items: center;
gap: 0.5rem;
padding: 0.55rem 1.05rem;
background: rgba(255, 255, 255, 0.04);
border: 1px solid rgba(255, 255, 255, 0.1);
background: var(--df-ai-surface-strong, rgba(0, 0, 0, 0.05));
border: 1px solid var(--df-ai-border, rgba(0, 0, 0, 0.12));
border-radius: 999px;
font: inherit;
font-size: 16px;
Expand All @@ -195,7 +206,7 @@ interface RoleRow {
&--selected {
border-color: #a78bfa;
background: rgba(167, 139, 250, 0.18);
color: #fff;
color: var(--df-ai-fg, rgba(0, 0, 0, 0.87));
}
}

Expand All @@ -209,7 +220,7 @@ interface RoleRow {

&__link {
font-size: 14px;
color: rgba(255, 255, 255, 0.5);
color: var(--df-ai-fg-faint, rgba(0, 0, 0, 0.5));
text-decoration: none;

&:hover {
Expand Down
Loading
Loading