Skip to content

Commit 6bbdaa3

Browse files
Raina451claude
andauthored
chore(samples): fix sample-app convention gaps (#597)
* chore(samples): add missing config files to action & misc apps Adds uipath.json.example, a .gitignore that ignores .uipath/uipath.json, and a favicon to the five coded-action-apps. Also gives data-fabric-app-angular's .gitignore a .uipath entry and renames document-validation-app's example config to the expected uipath.json.example. Generated with Claude Code Co-Authored-By: Claude <noreply@anthropic.com> * chore(samples): migrate web apps to the coded-apps-dev harness process-app-v0, process-app-v1 and conversational-agent-app now use the @uipath/coded-apps-dev vite plugin: base './', a uipath.json.example, and config sourced from injected <meta name="uipath:*"> tags via a config-less new UiPath() instead of import.meta.env. App-specific env (e.g. ENTITY_ID) is untouched. Config-less new UiPath() needs SDK >= 1.4, so the process apps' SDK dep was bumped to ^1.3.1 (resolves 1.5.3); that surfaced one API-drift fix (getExecutionHistory now takes folderKey). Also fixes a pre-existing Tailwind v4 / PostCSS misconfig that stopped both process apps building. Generated with Claude Code Co-Authored-By: Claude <noreply@anthropic.com> * chore(samples): remove dead config left by the harness migration The migration to config-less new UiPath() orphaned some env config. Drops conversational-agent-app's unused .env.example and its VITE_UIPATH_* type block; removes the dead CLIENT_ID/SCOPE lines from the process apps' .env.example (keeping the ORG/TENANT/BASE_URL/ENTITY_ID vars still used for the Data Fabric link). Generated with Claude Code Co-Authored-By: Claude <noreply@anthropic.com> * docs(samples): add data-fabric-app preview demo Captured against a live tenant: the Data Fabric Explorer browsing an entity's records and a choice set. Adds screenshots/preview.gif and a Preview section to the README. Generated with Claude Code Co-Authored-By: Claude <noreply@anthropic.com> * docs(samples): add preview demos for process and conversational apps Captured against a live tenant: process-app-v0/v1 browsing Maestro processes and a faulted instance's execution detail, and conversational-agent-app picking an agent and viewing a chat thread. Each gets screenshots/preview.gif and a Preview section. Generated with Claude Code Co-Authored-By: Claude <noreply@anthropic.com> * chore(samples): stop gitignoring uipath.json in migrated apps Committing uipath.json is allowed, so drop it (and its stale comment) from the .gitignore files added during this change. .uipath stays ignored. Generated with Claude Code Co-Authored-By: Claude <noreply@anthropic.com> * refactor(samples): source Data Fabric link from SDK config, not env The process apps built the Data Fabric entity link from VITE_UIPATH_ORG_NAME /TENANT_NAME/BASE_URL. Those now come from uipath.json, so read them off sdk.config instead and drop the three vars from .env.example. Only the app-specific VITE_UIPATH_ENTITY_ID remains in env. Generated with Claude Code Co-Authored-By: Claude <noreply@anthropic.com> * docs(samples): add document-validation-app preview demo Preview gif from a screen recording of the validation inbox: task list, extracted fields, and the highlighted document text view. Cropped to the app viewport, sped up, and downscaled. Generated with Claude Code Co-Authored-By: Claude <noreply@anthropic.com> * chore(samples): use the updated favicon across all sample apps Replaces every sample-app favicon with docs/assets/favicon.png (the current UiPath icon). document-validation-app switches from favicon.svg to the png and its index.html <link> is updated to match. Generated with Claude Code Co-Authored-By: Claude <noreply@anthropic.com> --------- Co-authored-by: Claude <noreply@anthropic.com>
1 parent b3141c4 commit 6bbdaa3

76 files changed

Lines changed: 1447 additions & 341 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.
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# Logs
2+
logs
3+
*.log
4+
npm-debug.log*
5+
6+
# Build outputs
7+
node_modules
8+
dist
9+
dist-ssr
10+
.uipath
11+
12+
# OS / editor
13+
.DS_Store
14+
.vscode/*
15+
!.vscode/extensions.json
16+
.idea
17+
*.suo
18+
*.ntvs*
19+
*.njsproj
20+
*.sln
21+
*.sw?

samples/coded-action-apps/action-app-with-data-fabric-entity/index.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
<head>
44
<meta charset="UTF-8" />
55
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
6+
<link rel="icon" type="image/png" href="/src/assets/favicon.png" />
67
<title>UiPath Action Center Form</title>
78
</head>
89
<body>

samples/coded-action-apps/action-app-with-data-fabric-entity/package-lock.json

Lines changed: 0 additions & 30 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
1.47 KB
Loading
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"clientId": "<your-oauth-external-app-client-id>",
3+
"scope": "DataFabric.Schema.Read DataFabric.Data.Read DataFabric.Data.Write",
4+
"orgName": "<your-org-name>",
5+
"tenantName": "<your-tenant-name>",
6+
"baseUrl": "https://api.uipath.com",
7+
"redirectUri": "http://localhost:5173"
8+
}
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# Logs
2+
logs
3+
*.log
4+
npm-debug.log*
5+
6+
# Build outputs
7+
node_modules
8+
dist
9+
dist-ssr
10+
.uipath
11+
12+
# OS / editor
13+
.DS_Store
14+
.vscode/*
15+
!.vscode/extensions.json
16+
.idea
17+
*.suo
18+
*.ntvs*
19+
*.njsproj
20+
*.sln
21+
*.sw?

samples/coded-action-apps/action-app-with-document/index.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
<head>
44
<meta charset="UTF-8" />
55
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
6+
<link rel="icon" type="image/png" href="/src/assets/favicon.png" />
67
<title>UiPath Action Center Form</title>
78
</head>
89
<body>

samples/coded-action-apps/action-app-with-document/package-lock.json

Lines changed: 0 additions & 30 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
1.47 KB
Loading
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"clientId": "<your-oauth-external-app-client-id>",
3+
"scope": "OR.Execution OR.Tasks OR.Folders",
4+
"orgName": "<your-org-name>",
5+
"tenantName": "<your-tenant-name>",
6+
"baseUrl": "https://api.uipath.com",
7+
"redirectUri": "http://localhost:5173"
8+
}

0 commit comments

Comments
 (0)