fix progress thing

This commit is contained in:
Ariel Weinberger
2025-07-19 22:43:09 -05:00
parent f546184c58
commit 90e47f7f78
2 changed files with 41 additions and 4 deletions
+22
View File
@@ -0,0 +1,22 @@
---
alwaysApply: true
---
# Background
Imagine is a platform very similar to Lovable or Bolt. You can vibe code to build products. But it's better, because it's connected to Appwrite's cloud resources.
# Rules
- You NEVER touch the `ai-service` directory. This is a Node.js AI server using Vercel AI SDK. There is a special `ai-service/src/shared-types/index.ts` file with shared types used by the Imagine frontend. You are allowed to read anything in this file and related files. Just NEVER make writes.
- You only work in the main project which is "Imagine Console", a Svelte project. Under the `src` directory.
- You ONLY use pnpm, not npm or yarn.
- You NEVER run `pnpm build` or `pnpm dev`, assume that whenever we talk, I have a dev server running and I can see changes live.
- This is NOT a SvelteKit project, it's a Svelte project.
- NO usage of TailwindCSS, we define classes in the Svelte components.
- For icons, we DO NOT use ANY icon library other than Appwrite's Pink Icons.
- For UI components, we may use Appwrite's Pink Design System and components.
- You HAVE to ask for confirmatino if you are not sure that what you're going to do is 100% correct. This is not a standard tech stack so your immediate solutions might not be accepted.
# Architecture
The console features projects, and projects feature workspaces. A worksapce is essentially a sandboxed environment where the AI writes/reads code, makes changes, runs the dev server, etc.
In the main screen there is a chat interface on the left hand side and a preview iframe on the right hand side.
@@ -26,7 +26,7 @@
.workspace-progress {
height: 100%;
width: 100%;
background-color: #000;
background-color: var(--bgcolor-neutral-primary);
justify-content: center;
align-items: center;
display: flex;
@@ -34,19 +34,34 @@
.progress-steps {
width: 240px;
background-color: #282828;
background-color: var(--bgcolor-neutral-secondary);
border-radius: 8px;
color: #fff;
color: var(--fgcolor-neutral-primary);
}
.step {
padding: 12px 16px;
display: flex;
align-items: center;
gap: 12px;
}
.step:not(:last-child) {
border-bottom: 1px solid rgba(255, 255, 255, 0.1);
border-bottom: 1px solid var(--border-neutral);
}
.step-status {
display: flex;
align-items: center;
justify-content: center;
width: 16px;
height: 16px;
}
.step-text {
display: flex;
align-items: center;
line-height: 1;
}
</style>