mirror of
https://github.com/appwrite/console.git
synced 2026-06-06 19:27:48 +00:00
fix progress thing
This commit is contained in:
@@ -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.
|
||||
+19
-4
@@ -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>
|
||||
Reference in New Issue
Block a user