Commit Graph

21 Commits

Author SHA1 Message Date
118a6cf986 优化DropdownMenu UI
- 修复聊天页静音的显示文案问题
- 优化DropdownMenu的UI
2025-09-01 15:50:10 +08:00
484d641554 Enhance AI Agent Profile Interaction
This commit introduces several enhancements to how AI agent profiles are displayed and interacted with:

**Profile Display:**
- **AI Account Distinction:** Profile pages now differentiate between regular user accounts and AI agent accounts.
    - AI agent profiles will not display the "Agents" tab in their profile.
    - The profile header height is adjusted for AI accounts.
- **Navigation Parameter:** An `isAiAccount` boolean parameter is added to the `AccountProfile` navigation route to indicate if the profile being viewed belongs to an AI.

**Interaction & Navigation:**
- **Avatar Click Navigation:**
    - Clicking an AI agent's avatar in various lists (Hot Agents, My Agents, User Agents Row, User Agents List) now navigates to the agent's dedicated profile page.
    - When navigating to an agent's profile from an agent list, `isAiAccount` is set to `true`.
- **Chat Initiation:** Clicking the chat button on AI agent cards in the "Agent" tab (both Hot and My Agents) now correctly initiates a chat with the respective AI.
- **ViewModel Updates:**
    - `AgentViewModel`, `MineAgentViewModel`, and `HotAgentViewModel` now include a `goToProfile` function to handle navigation to agent profiles, correctly passing the `isAiAccount` flag.

**Code Refinements:**
- Click handlers for agent avatars and chat buttons are now wrapped with `DebounceUtils.simpleDebounceClick` to prevent multiple rapid clicks.
- The `UserContentPageIndicator` now conditionally hides the "Agent" tab based on the `isAiAccount` status.
- `UserAgentsRow` and `UserAgentsList` now accept an `onAvatarClick` callback for navigating to agent profiles.
- `AgentItem` (used in `UserAgentsRow`) and `UserAgentCard` (used in `UserAgentsList`) now handle avatar clicks.
- The general `Agent` composable (used in `AiPostComposable`) now also supports an `onAvatarClick` callback.
2025-09-01 01:10:35 +08:00
weber
2a7d310be5 新增网络工具,修改bug 2025-08-27 16:37:53 +08:00
weber
df75c710e5 UI调整 2025-08-25 18:35:06 +08:00
weber
8f8c2ff2e9 UI调整,群聊开发 2025-08-20 19:19:14 +08:00
weber
112efa74e7 首页UI调整 2025-08-14 19:04:20 +08:00
weber
697af504b7 会话分组及聊天室实现 2025-08-11 18:21:22 +08:00
1bb0adeb90 添加标签组件并更新导航栏Add按钮样式
- 新增可复用的`TabItem`和`TabSpacer`组件,用于实现标签页切换效果。
- 在消息列表和AI Agent页面中,使用新的`TabItem`和`TabSpacer`组件替换原有的标签页实现,简化代码并统一风格。
- 更新底部导航栏Add按钮的图标和交互行为:
    - 使用新的`ic_nav_add.xml`图标。
    - Add按钮只显示图标,不显示文字标签。
    - Add按钮图标放大。
- 在`Colors.kt`中为`AppThemeData`添加新的颜色属性,以支持新标签组件的自定义主题。
2025-08-08 09:57:42 +08:00
weber
f6a796e2bc 智能体会话开发 2025-08-07 19:03:05 +08:00
weber
b837c704e5 我的智能体 2025-08-06 18:14:36 +08:00
weber
a944bd0fa3 智能体列表,全部 2025-08-06 15:58:17 +08:00
weber
993604bfc1 我的智能体 2025-08-05 17:01:23 +08:00
weber
daea7824af create agent 2025-08-05 16:25:06 +08:00
a80711a475 统一重置密码界面背景色和错误文本颜色 2025-08-05 15:03:05 +08:00
weber
3e544844bb 添加新的表单文本输入组件 FormTextInput2,包含错误提示和动态显示功能;新增图标和图片资源。 2025-08-05 14:24:15 +08:00
weber
29d2bb753f 实现了 Agent 和 Profile 数据类,添加了 AddAgent 界面 2025-07-31 15:37:17 +08:00
weber
6ec732b996 20250723-Test Push 2025-07-23 19:07:29 +08:00
cc7a65e016 更新Google登录 2024-12-01 21:27:39 +08:00
79fccda1aa 更新动态加载逻辑 2024-12-01 09:40:13 +08:00
9fac012d11 移除https错误忽略 2024-11-24 19:58:53 +08:00
074244c0f8 改包名com.aiosman.ravenow 2024-11-17 20:07:42 +08:00