Commit Graph

130 Commits

Author SHA1 Message Date
google-labs-jules[bot]
c1005c4752 fix(moltbot): wrap MoltbotChat in Suspense to fix build error
Wraps the `MoltbotChat` client component in a `Suspense` boundary in `src/app/services/moltbot/chats/page.tsx`. This resolves the `useSearchParams()` error during static site generation, ensuring the build completes successfully.

Co-authored-by: cloud-neutral <4133689+cloud-neutral@users.noreply.github.com>
2026-01-29 13:12:32 +00:00
Haitao Pan
ed509101a4 feat: Implement new mobile navigation layout in Navbar and update Ask AI dialog maximize path to chats. 2026-01-29 19:34:27 +08:00
Haitao Pan
ce0380eb66 feat: Implement full-page Moltbot chat and add a maximize button to the Ask AI dialog. 2026-01-29 19:19:36 +08:00
f3e91a9da9 Merge pull request #36 from cloud-neutral-toolkit/update-mobile-menu-theme-13357463291594887918 2026-01-29 17:51:53 +08:00
google-labs-jules[bot]
bf2e5ec341 Update mobile menu to use semantic theme colors
- Replaced hardcoded slate colors in Navbar.tsx with semantic theme colors (text-text, bg-background, etc.) to ensure the mobile menu respects the application theme (light/dark).
- Fixed a duplicate variable declaration in AskAIDialog.tsx that was causing build failures.
- Updated yarn.lock to match the packageManager version.

Co-authored-by: cloud-neutral <4133689+cloud-neutral@users.noreply.github.com>
2026-01-29 09:33:43 +00:00
Haitao Pan
111c19bcb5 feat: Integrate Ask AI dialog with Moltbot workspace, supporting initial queries and internationalization for dialog texts. 2026-01-29 16:33:44 +08:00
Haitao Pan
8196dc54f6 feat: Connect Assistant to Moltbot AI backend and add a new Moltbot chat interface and page. 2026-01-29 16:19:59 +08:00
Haitao Pan
12e0e316a3 docs: add SEO work summary 2026-01-29 13:43:08 +08:00
Haitao Pan
ca6da31656 feat: add comprehensive SEO metadata, structured data, a custom 404 page, and SEO audit tooling. 2026-01-29 12:57:22 +08:00
Haitao Pan
048e9b5980 feat: add moltbot service card 2026-01-28 17:53:00 +08:00
Haitao Pan
fabc867b43 feat: Add dynamic VLESS node and transport selection with updated default server configurations. 2026-01-27 22:54:39 +08:00
Haitao Pan
3367e38b8a fix: resolve React version conflict in DocArticle and await async params 2026-01-27 00:05:34 +08:00
Haitao Pan
31cae2b83d feat: implement hierarchical documentation structure and nested navigation 2026-01-26 23:34:02 +08:00
Haitao Pan
ba16745daa fix: resolve eslint issues 2026-01-26 21:48:45 +08:00
Haitao Pan
5d8cab3916 docs: reorganize documentation structure 2026-01-26 21:39:00 +08:00
Haitao Pan
c9c902aff2 fix(docs): use marked for markdown rendering instead of MDX
- Replaced MDXRemote with marked to avoid React version conflicts
- /docs page now successfully renders index.md content
- Verified working in production build
2026-01-26 21:14:48 +08:00
Haitao Pan
bf860cc8ae fix(docs): prevent index.md from being treated as a collection
- Removed collection metadata from index.md
- Updated /docs page to directly render index.md content
- This fixes the 404 error on /docs page
2026-01-26 21:06:09 +08:00
Haitao Pan
eafbfeace5 feat: unified prebuild system with multi-repo doc sync
- Created scripts/prebuild.sh to consolidate all prebuild steps
- Updated scripts/sync-doc-content.sh to aggregate docs from all services:
  - console.svc.plus → src/content/doc/01-console
  - accounts.svc.plus → src/content/doc/02-accounts
  - rag-server.svc.plus → src/content/doc/03-rag-server
  - postgresql.svc.plus → src/content/doc/04-postgresql
- Auto-generates src/content/doc/index.md with service overview
- Simplified package.json prebuild to single script call
- Preserves TypeScript/Node.js scripts (generate-content.ts, build-contentlayer.mjs)

This ensures documentation is always fresh from source repos during build.
2026-01-26 20:55:48 +08:00
Haitao Pan
e68e54dfc6 chore: update next-env.d.ts routes reference 2026-01-26 19:40:54 +08:00
Haitao Pan
4623324622 refactor(docs): reimplement documentation page with Pigsty-style layout
- Replaced docs landing page with a direct redirect to content
- Implemented 3-column layout: Sticky Sidebar, Main Content, Right Metadata
- added DocsSidebar with collapsible categories
- Added Feedback component for user sentiment
- Updated sync script to pull from knowledge/docs
- Refactored doc version page styles
2026-01-26 16:46:17 +08:00
Haitao Pan
75af007c12 update next-env.d.ts 2026-01-26 16:06:27 +08:00
Haitao Pan
c9fec58fc0 refactor: reorganize tagline and tech stack into two-row layout
- Changed from horizontal single-row to vertical two-row layout
- First row: tagline text (云原生 · 去平台绑定 · 可自由迁移)
- Second row: tech stack pills (Next.js, Go, Vercel, Cloud Run, PostgreSQL)
- Both rows are left-aligned for better visual hierarchy
- Added flex-wrap to tech stack for responsive behavior
2026-01-26 16:02:02 +08:00
Haitao Pan
2d3a5d2514 refactor: replace inflated stats with realistic placeholders
- Changed application count from ~150k to 0+ (ready for API integration)
- Changed daily users from ~330k to 0+ (ready for API integration)
- Kept examples & guides count at 7 (actual value)
- Maintains all three stat labels for future data population
2026-01-26 15:59:09 +08:00
Haitao Pan
82c0cae4e2 feat: update homepage tagline and tech stack
- Update tagline to emphasize cloud-native, vendor-neutral architecture
  - 🇨🇳 Chinese: 云原生 · 去平台绑定 · 可自由迁移
  - 🇺🇸 English: Cloud-native · Vendor-neutral · Freely portable
- Replace tech stack logos: Next.js, Go, Vercel, Cloud Run, PostgreSQL
- Remove outdated stack references (Vue, Svelte, Node, Django, Laravel)
2026-01-26 15:49:56 +08:00
Haitao Pan
3ca81b7194 docs: Add documentation for RAG DB fix. 2026-01-26 09:28:31 +08:00
Haitao Pan
612db618d3 chore: Update apiBaseUrl port from 8090 to 8080 in SIT configuration. 2026-01-26 00:52:35 +08:00
Haitao Pan
cb2913a553 chore: Remove dashboard process ID file. 2026-01-26 00:51:45 +08:00
Haitao Pan
f9c71c54c9 Update apiBaseUrl and dashboardUrl to local development endpoints in runtime-service-config.sit.yaml. 2026-01-26 00:40:52 +08:00
Haitao Pan
cf251d881f docs: add RAG-Server runbook documentation 2026-01-26 00:02:45 +08:00
f8a3f9e668 Merge pull request #35 from cloud-neutral-toolkit/fix/distributed-api-architecture
refactor: migrate to fully distributed API architecture
2026-01-25 22:58:16 +08:00
Haitao Pan
9523c38284 refactor: migrate to fully distributed API architecture
- Remove internalApiBaseUrl configuration from all runtime configs
- Simplify serviceConfig.ts to use apiBaseUrl for both internal and external API calls
- Remove localhost:8090 fallback, all API requests now route to Cloud Run RAG server
- This enables a fully distributed microservices architecture without local dependencies

Changes:
- src/config/runtime-service-config.base.yaml: removed internalApiBaseUrl
- src/config/runtime-service-config.prod.yaml: removed internalApiBaseUrl from cn and global regions
- src/server/serviceConfig.ts: simplified getInternalServerServiceBaseUrl() to use getServerServiceBaseUrl()

Tested: Local dev server successfully connects to RAG server at https://rag-server-svc-plus-266500572462.asia-northeast1.run.app
2026-01-25 22:54:38 +08:00
641367e154 Merge pull request #33 from cloud-neutral-toolkit/feat-material-theme-switcher-6578504736057226444
Implement Material 3 Layout with Theme Switcher
2026-01-25 19:43:31 +08:00
google-labs-jules[bot]
32ea4c509a feat: Implement Material 3 Layout with Theme Switcher
- Implemented a new Material 3-inspired layout for the services page, following the user's design reference.
- Added a theme switcher to toggle between the original ("classic") and the new ("material") layouts.
- The theme preference is persisted in `localStorage` using a Zustand store.
- Ensured proper server-side rendering and client-side hydration by creating a custom `useViewStore` hook that prevents hydration mismatches.
- Created new components for the Material 3 layout: `Sidebar`, `Header`, and `Material3Layout`.
- Refactored the main services page (`src/app/services/page.tsx`) to conditionally render either the classic or material layout based on the selected theme.
- Moved the theme switcher to the `Footer` component to make it accessible in both views.
- Added a Playwright test to verify the functionality of the theme switcher.
2026-01-25 11:29:03 +00:00
Haitao Pan
9ac93eece5 Update MFA UI flags and lint guidance 2026-01-25 19:07:57 +08:00
Haitao Pan
e6817ab1e0 fix: update production AskAI endpoint configuration to use remote RAG server 2026-01-25 18:21:34 +08:00
Haitao Pan
22210e5395 docs: Add Agent Operating Rules to AGENTS.md, detailing role, global rules, repository constraints, testing policy, and output format. 2026-01-25 18:06:46 +08:00
Haitao Pan
a96da5d1d0 feat: Introduce agent operating rules and internal documentation, and refactor UI styling with design tokens. 2026-01-25 17:41:02 +08:00
Haitao Pan
9a9f8f2ec5 feat: Add an about page and update translations to support its content. 2026-01-25 17:02:29 +08:00
73005db01c Merge pull request #32 from cloud-neutral-toolkit/feature/refine-registration-and-cors
Feature/refine registration and cors
2026-01-25 12:27:36 +08:00
Haitao Pan
ed21770e19 chore: add E2E registration tests and helper scripts 2026-01-25 12:07:00 +08:00
Haitao Pan
caa658cabb feat: refine registration UX and migrate middleware CORS 2026-01-25 12:02:06 +08:00
Haitao Pan
fee51ac323 chore: update lockfile and formatting 2026-01-25 11:09:42 +08:00
Haitao Pan
dfb90f48ed fix(auth): add missing verification code input fields 2026-01-25 11:07:46 +08:00
Haitao Pan
a0050806ff chore: point services to run.app and add api CORS 2026-01-25 00:16:10 +08:00
Haitao Pan
0c335d8da2 chore: point auth/dashboard to svc.plus domains 2026-01-24 23:57:54 +08:00
07a360e54e Update README.md 2026-01-23 18:22:23 +08:00
81f38b28cc Merge pull request #30 from cloud-neutral-toolkit/doc/update-readme
docs: update README with new project mission and bilingual support
2026-01-23 18:19:59 +08:00
Haitao Pan
8112d8bff2 docs: update README with new project mission and bilingual support 2026-01-23 18:16:49 +08:00
56c772a4cc Merge pull request #29 from cloud-neutral-toolkit/feat/blog-sync-and-rename
Feat/blog sync and rename
2026-01-23 18:02:05 +08:00
Haitao Pan
740a595d84 fix: resolve build errors and dependency conflicts 2026-01-23 17:43:43 +08:00