Commit Graph

123 Commits

Author SHA1 Message Date
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
Haitao Pan
2fa13ed8b0 feat: sync blog content from external repo and rename /blog to /blogs 2026-01-23 17:03:28 +08:00
Haitao Pan
42a2aac730 feat: add page reading agent service card 2026-01-21 18:05:16 +08:00
Haitao Pan
c6c6dc7e6c Update agent guidelines and env types 2026-01-21 18:05:16 +08:00
7ee12ac1dd Merge pull request #26 from cloud-neutral-toolkit/vercel/vercel-web-analytics-to-nextjs-j4kx7z
Add Vercel Web Analytics to Next.js
2026-01-16 19:34:05 +08:00
35dddf4ee4 Merge pull request #25 from cloud-neutral-toolkit/codex/fix-robots.txt-to-allow-googlebot-a903gn
Allow Googlebot static assets and permit Node.js 24 in engines
2026-01-16 16:59:23 +08:00
Vercel
5de9abc11e Add Vercel Web Analytics to Next.js
## Vercel Web Analytics Integration Report

### Summary
Successfully installed and configured Vercel Web Analytics for the Next.js App Router project.

### Changes Made

#### 1. Installation
- Installed `@vercel/analytics@^1.6.1` package using npm with `--legacy-peer-deps` flag to handle existing peer dependency conflicts in the project
- Updated `package.json` to include the new dependency
- Updated `yarn.lock` to reflect the new package dependency

#### 2. Code Changes
- **Modified:** `src/app/layout.tsx` (Root Layout File)
  - Added import: `import { Analytics } from '@vercel/analytics/next'`
  - Added `<Analytics />` component inside the `<body>` tag, positioned after `<AppProviders>{children}</AppProviders>`
  - This placement ensures Analytics tracking initializes after the app providers are set up

#### 3. Files Modified
- `src/app/layout.tsx` - Added Analytics import and component
- `package.json` - Added @vercel/analytics dependency
- `yarn.lock` - Updated with new dependency information
- `next-env.d.ts` - Auto-generated Next.js types (no manual changes)

#### 4. Implementation Details
- **Router Type:** App Router (uses `src/app` directory structure)
- **Import Location:** `@vercel/analytics/next` - the Next.js-specific export
- **Component Placement:** Inside the `<body>` tag after AppProviders as recommended
- **Existing Configuration:** Preserved all existing code including Google Analytics and other metadata

### Build Verification
 Build completed successfully
 All 63 static pages generated without errors
 No TypeScript compilation errors introduced by changes

### Notes
- The project uses yarn as its package manager, but npm was used for installation due to corepack permission limitations in the environment. The package.json and yarn.lock have been properly updated.
- Vercel Web Analytics will now automatically track web vitals and user analytics without requiring any additional configuration.
- The Analytics component is non-intrusive and won't affect the existing Google Analytics tracking already in place.
- The build completed successfully, indicating the Analytics component integrates properly with the Next.js app.

### Compatibility
- Next.js version: ^16.0.9
- React version: ^18.2.0
- Vercel Analytics: ^1.6.1

Co-authored-by: Vercel <vercel[bot]@users.noreply.github.com>
2026-01-16 08:48:44 +00:00
0d5e92136f Allow Node.js 24 in engines 2026-01-16 16:47:25 +08:00