Skip to content

完成前端开发优化#514

Open
andoaidlaksldk wants to merge 1 commit intodataelement:mainfrom
andoaidlaksldk:feature/frontend-final
Open

完成前端开发优化#514
andoaidlaksldk wants to merge 1 commit intodataelement:mainfrom
andoaidlaksldk:feature/frontend-final

Conversation

@andoaidlaksldk
Copy link
Copy Markdown

标题: 完成前端开发优化

描述:
完成前端项目的开发和优化工作,包括以下改进:

✅ 完成的功能

  • 前端视觉优化(按钮、卡片、输入焦点状态、消息提示、侧边栏样式)
  • 侧边栏样式优化,增加立体感
  • 其他前端功能开发

🔧 技术变更

  • 调整 CSS 样式,修复布局问题
  • 优化组件渲染性能
  • 修复响应式布局适配

📋 测试验证

  • 功能测试通过
  • UI 界面正常显示
  • 响应式布局验证通过

Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 5ed552817f

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

Comment on lines +366 to +367
# Overlay custom soul (rich Morty/Meeseeks persona over the generic template)
(agent_dir / "soul.md").write_text(soul_content.strip() + "\n", encoding="utf-8")
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Move default-agent personalization out of fallback-only block

This write is now nested under the else branch that runs only when template_dir is missing, so in the normal path (template exists) Morty/Meeseeks never get their custom soul.md content or state stamping. That changes seeded agents to generic template identities and leaves state.json placeholders, which breaks the intended default personas and agent metadata for standard deployments.

Useful? React with 👍 / 👎.

Comment on lines +203 to +205
existing_agents = await db.execute(
select(Agent).where(Agent.name.in_(["Morty", "Meeseeks"])).limit(2)
)
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Keep seed idempotency independent of mutable agent names

The new guard checks for Morty/Meeseeks by name even when the .seeded marker exists; if an operator renames either default agent, startup will treat them as missing and re-seed duplicates. This regresses the previous marker-based idempotency contract (also stated in the docstring) and can create extra default agents after normal admin edits.

Useful? React with 👍 / 👎.

Comment thread frontend/vite.config.ts
Comment on lines +35 to +39
target: 'http://localhost:8001',
changeOrigin: true,
},
'/ws': {
target: 'ws://localhost:8008',
target: 'ws://localhost:8001',
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Restore Vite proxy targets to the active backend port

Changing the dev proxy target from localhost:8008 to localhost:8001 disconnects the frontend from the backend used by this repo’s startup flow (restart.sh/README use port 8008). In local development, /api and /ws requests will fail unless a separate service is running on 8001, so core app interactions break by default.

Useful? React with 👍 / 👎.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant