Skip to content

Commit 96b8c7f

Browse files
Bill LeoutsakosBill Leoutsakos
authored andcommitted
chore(powerbi): synchronize staging and generated catalogs
2 parents 9072eb3 + 2cbc59e commit 96b8c7f

683 files changed

Lines changed: 13116 additions & 22274 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎.github/workflows/test-build.yml‎

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ jobs:
195195
# immediately, and either way the server log tail lands in the job log. No
196196
# step timeout: the job's bound covers a hang without cutting a slow but
197197
# healthy suite short of writing its report.
198-
- name: Verify SCIM and administration over real HTTP
198+
- name: Verify SCIM, administration and workflow comparisons over real HTTP
199199
working-directory: apps/sim
200200
env:
201201
NEXT_PUBLIC_APP_URL: http://127.0.0.1:3017
@@ -247,6 +247,11 @@ jobs:
247247
SCIM_E2E_AUTH_SECRET="$BETTER_AUTH_SECRET" \
248248
SCIM_E2E_REPORT_PATH="$report_dir/scim-e2e-report.json" \
249249
bun run test:scim:e2e
250+
VERSION_COMPARE_E2E_BASE_URL="$NEXT_PUBLIC_APP_URL" \
251+
VERSION_COMPARE_E2E_DATABASE_URL="$DATABASE_URL" \
252+
VERSION_COMPARE_E2E_AUTH_SECRET="$BETTER_AUTH_SECRET" \
253+
VERSION_COMPARE_E2E_REPORT_PATH="$report_dir/version-compare-http-report.json" \
254+
bun run test:workflow-version-compare:e2e
250255
251256
- name: Upload end-to-end reports and server logs
252257
if: failure()

‎apps/docs/components/icons.tsx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9668,7 +9668,7 @@ export function EnrowIcon(props: SVGProps<SVGSVGElement>) {
96689668
)
96699669
}
96709670

9671-
// ---- Competitor brand logos (sourced via Context.dev brand-intelligence API, 2026-07-02) ----
9671+
// Competitor brand logos (sourced via Context.dev brand-intelligence API, 2026-07-02)
96729672

96739673
export function N8nIcon(props: SVGProps<SVGSVGElement>) {
96749674
return (

‎apps/docs/components/ui/block-info-card.tsx‎

Lines changed: 1 addition & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
'use client'
22

33
import type * as React from 'react'
4+
import { isLightTileColor } from '@sim/workflow-renderer/tile-icon-color'
45
import { blockTypeToIconMap } from '@/components/ui/icon-mapping'
56

67
interface BlockInfoCardProps {
@@ -9,33 +10,6 @@ interface BlockInfoCardProps {
910
icon?: React.ComponentType<{ className?: string }>
1011
}
1112

12-
/**
13-
* Brightness above which a tile background is "clearly light" and a white
14-
* foreground icon would wash out. Mirrors apps/sim's LIGHT_TILE_THRESHOLD
15-
* (blocks/icon-color.ts) so monochrome `currentColor` icons (e.g. Daytona,
16-
* Notion) stay legible on white/pale tiles instead of white-on-white.
17-
*/
18-
const LIGHT_TILE_THRESHOLD = 0.75
19-
20-
function isLightTileColor(color: string): boolean {
21-
const hex = color.trim().replace('#', '').toLowerCase()
22-
let r: number
23-
let g: number
24-
let b: number
25-
if (/^[0-9a-f]{3}$/.test(hex)) {
26-
r = Number.parseInt(hex[0] + hex[0], 16)
27-
g = Number.parseInt(hex[1] + hex[1], 16)
28-
b = Number.parseInt(hex[2] + hex[2], 16)
29-
} else if (/^[0-9a-f]{6}$/.test(hex)) {
30-
r = Number.parseInt(hex.slice(0, 2), 16)
31-
g = Number.parseInt(hex.slice(2, 4), 16)
32-
b = Number.parseInt(hex.slice(4, 6), 16)
33-
} else {
34-
return false
35-
}
36-
return (0.299 * r + 0.587 * g + 0.114 * b) / 255 > LIGHT_TILE_THRESHOLD
37-
}
38-
3913
export function BlockInfoCard({
4014
type,
4115
color,

‎apps/docs/content/docs/api-reference/(generated)/workflows/meta.json‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
"applyWorkflowVariables",
1515
"listWorkflowVersionsV2",
1616
"getWorkflowVersionV2",
17+
"compareWorkflowVersionsV2",
1718
"updateWorkflowVersionV2",
1819
"activateWorkflowVersion",
1920
"revertWorkflowVersion",

‎apps/docs/content/docs/cli/reference.mdx‎

Lines changed: 107 additions & 78 deletions
Original file line numberDiff line numberDiff line change
@@ -6277,6 +6277,113 @@ sim workflows runs wait <runId> [options]
62776277

62786278
</CommandTable>
62796279

6280+
### sim workflows versions compare
6281+
6282+
Compare Workflow Versions
6283+
6284+
```bash
6285+
sim workflows versions compare <workflowId> [options]
6286+
```
6287+
6288+
**Arguments**
6289+
6290+
<CommandTable>
6291+
6292+
| Argument | Required | Description |
6293+
| --- | --- | --- |
6294+
| `workflowId` | Yes | Unique workflow identifier. |
6295+
6296+
</CommandTable>
6297+
6298+
**Options**
6299+
6300+
<CommandTable>
6301+
6302+
| Option | Required | Description |
6303+
| --- | --- | --- |
6304+
| `--base <value>` | Yes | Deployment version to compare from. |
6305+
| `--target <value>` | Yes | Deployment version to compare to, in the same workflow. |
6306+
6307+
</CommandTable>
6308+
6309+
### sim workflows versions get
6310+
6311+
Get Workflow Version
6312+
6313+
```bash
6314+
sim workflows versions get <workflowId> <version>
6315+
```
6316+
6317+
**Arguments**
6318+
6319+
<CommandTable>
6320+
6321+
| Argument | Required | Description |
6322+
| --- | --- | --- |
6323+
| `workflowId` | Yes | Unique workflow identifier. |
6324+
| `version` | Yes | Numeric deployment version. |
6325+
6326+
</CommandTable>
6327+
6328+
### sim workflows versions list
6329+
6330+
List Workflow Versions
6331+
6332+
```bash
6333+
sim workflows versions list <workflowId> [options]
6334+
```
6335+
6336+
**Arguments**
6337+
6338+
<CommandTable>
6339+
6340+
| Argument | Required | Description |
6341+
| --- | --- | --- |
6342+
| `workflowId` | Yes | Unique workflow identifier. |
6343+
6344+
</CommandTable>
6345+
6346+
**Options**
6347+
6348+
<CommandTable>
6349+
6350+
| Option | Required | Description |
6351+
| --- | --- | --- |
6352+
| `--limit <n>` | No | Maximum items to return (0 for everything). Defaults to `100`. |
6353+
| `--cursor <value>` | No | Continue from nextCursor returned by a previous result. |
6354+
6355+
</CommandTable>
6356+
6357+
### sim workflows versions update
6358+
6359+
Update Workflow Version
6360+
6361+
```bash
6362+
sim workflows versions update <workflowId> <version> [options]
6363+
```
6364+
6365+
**Arguments**
6366+
6367+
<CommandTable>
6368+
6369+
| Argument | Required | Description |
6370+
| --- | --- | --- |
6371+
| `workflowId` | Yes | Unique workflow identifier. |
6372+
| `version` | Yes | Numeric deployment version. |
6373+
6374+
</CommandTable>
6375+
6376+
**Options**
6377+
6378+
<CommandTable>
6379+
6380+
| Option | Required | Description |
6381+
| --- | --- | --- |
6382+
| `--name <value>` | No | New label for the deployment version. |
6383+
| `--description <value>` | No | New release note for the deployment version, or null to clear it. (--description null sends the word, not JSON null). |
6384+
6385+
</CommandTable>
6386+
62806387
### sim workflows create
62816388

62826389
Create Workflow
@@ -6750,84 +6857,6 @@ sim workflows state replace <workflowId> [options]
67506857

67516858
</CommandTable>
67526859

6753-
### sim workflows versions get
6754-
6755-
Get Workflow Version
6756-
6757-
```bash
6758-
sim workflows versions get <workflowId> <version>
6759-
```
6760-
6761-
**Arguments**
6762-
6763-
<CommandTable>
6764-
6765-
| Argument | Required | Description |
6766-
| --- | --- | --- |
6767-
| `workflowId` | Yes | Unique workflow identifier. |
6768-
| `version` | Yes | Numeric deployment version. |
6769-
6770-
</CommandTable>
6771-
6772-
### sim workflows versions list
6773-
6774-
List Workflow Versions
6775-
6776-
```bash
6777-
sim workflows versions list <workflowId> [options]
6778-
```
6779-
6780-
**Arguments**
6781-
6782-
<CommandTable>
6783-
6784-
| Argument | Required | Description |
6785-
| --- | --- | --- |
6786-
| `workflowId` | Yes | Unique workflow identifier. |
6787-
6788-
</CommandTable>
6789-
6790-
**Options**
6791-
6792-
<CommandTable>
6793-
6794-
| Option | Required | Description |
6795-
| --- | --- | --- |
6796-
| `--limit <n>` | No | Maximum items to return (0 for everything). Defaults to `100`. |
6797-
| `--cursor <value>` | No | Continue from nextCursor returned by a previous result. |
6798-
6799-
</CommandTable>
6800-
6801-
### sim workflows versions update
6802-
6803-
Update Workflow Version
6804-
6805-
```bash
6806-
sim workflows versions update <workflowId> <version> [options]
6807-
```
6808-
6809-
**Arguments**
6810-
6811-
<CommandTable>
6812-
6813-
| Argument | Required | Description |
6814-
| --- | --- | --- |
6815-
| `workflowId` | Yes | Unique workflow identifier. |
6816-
| `version` | Yes | Numeric deployment version. |
6817-
6818-
</CommandTable>
6819-
6820-
**Options**
6821-
6822-
<CommandTable>
6823-
6824-
| Option | Required | Description |
6825-
| --- | --- | --- |
6826-
| `--name <value>` | No | New label for the deployment version. |
6827-
| `--description <value>` | No | New release note for the deployment version, or null to clear it. (--description null sends the word, not JSON null). |
6828-
6829-
</CommandTable>
6830-
68316860
### sim workflows import
68326861

68336862
Import Workflow

0 commit comments

Comments
 (0)