t0ng7u 3 месяцев назад
Родитель
Сommit
71f5dc987a
100 измененных файлов с 1220 добавлено и 31 удалено
  1. 1 0
      web/.env.example
  2. 128 0
      web/.github/CODE_OF_CONDUCT.md
  3. 101 0
      web/.github/CONTRIBUTING.md
  4. 14 0
      web/.github/FUNDING.yml
  5. 5 0
      web/.github/ISSUE_TEMPLATE/config.yml
  6. 19 0
      web/.github/ISSUE_TEMPLATE/✨-feature-request.md
  7. 27 0
      web/.github/ISSUE_TEMPLATE/🐞-bug-report.md
  8. 27 0
      web/.github/PULL_REQUEST_TEMPLATE.md
  9. 41 0
      web/.github/workflows/ci.yml
  10. 29 0
      web/.github/workflows/stale.yml
  11. 22 22
      web/.gitignore
  12. 18 0
      web/.prettierignore
  13. 49 0
      web/.prettierrc
  14. 297 0
      web/CHANGELOG.md
  15. 21 0
      web/LICENSE
  16. 117 0
      web/README.md
  17. 21 0
      web/components.json
  18. 7 0
      web/cz.yaml
  19. 58 0
      web/eslint.config.js
  20. 69 9
      web/index.html
  21. 8 0
      web/knip.config.ts
  22. 4 0
      web/netlify.toml
  23. 0 0
      web/old_semiui/.eslintrc.cjs
  24. 26 0
      web/old_semiui/.gitignore
  25. 0 0
      web/old_semiui/.prettierrc.mjs
  26. 0 0
      web/old_semiui/bun.lock
  27. 20 0
      web/old_semiui/index.html
  28. 0 0
      web/old_semiui/jsconfig.json
  29. 91 0
      web/old_semiui/package.json
  30. 0 0
      web/old_semiui/postcss.config.js
  31. 0 0
      web/old_semiui/public/azure_model_name.png
  32. 0 0
      web/old_semiui/public/cover-4.webp
  33. 0 0
      web/old_semiui/public/favicon.ico
  34. 0 0
      web/old_semiui/public/logo.png
  35. 0 0
      web/old_semiui/public/ratio.png
  36. 0 0
      web/old_semiui/public/robots.txt
  37. 0 0
      web/old_semiui/src/App.jsx
  38. 0 0
      web/old_semiui/src/components/auth/LoginForm.jsx
  39. 0 0
      web/old_semiui/src/components/auth/OAuth2Callback.jsx
  40. 0 0
      web/old_semiui/src/components/auth/PasswordResetConfirm.jsx
  41. 0 0
      web/old_semiui/src/components/auth/PasswordResetForm.jsx
  42. 0 0
      web/old_semiui/src/components/auth/RegisterForm.jsx
  43. 0 0
      web/old_semiui/src/components/auth/TwoFAVerification.jsx
  44. 0 0
      web/old_semiui/src/components/common/logo/LinuxDoIcon.jsx
  45. 0 0
      web/old_semiui/src/components/common/logo/OIDCIcon.jsx
  46. 0 0
      web/old_semiui/src/components/common/logo/WeChatIcon.jsx
  47. 0 0
      web/old_semiui/src/components/common/markdown/MarkdownRenderer.jsx
  48. 0 0
      web/old_semiui/src/components/common/markdown/markdown.css
  49. 0 0
      web/old_semiui/src/components/common/modals/TwoFactorAuthModal.jsx
  50. 0 0
      web/old_semiui/src/components/common/ui/CardPro.jsx
  51. 0 0
      web/old_semiui/src/components/common/ui/CardTable.jsx
  52. 0 0
      web/old_semiui/src/components/common/ui/ChannelKeyDisplay.jsx
  53. 0 0
      web/old_semiui/src/components/common/ui/CompactModeToggle.jsx
  54. 0 0
      web/old_semiui/src/components/common/ui/JSONEditor.jsx
  55. 0 0
      web/old_semiui/src/components/common/ui/Loading.jsx
  56. 0 0
      web/old_semiui/src/components/common/ui/RenderUtils.jsx
  57. 0 0
      web/old_semiui/src/components/common/ui/ScrollableContainer.jsx
  58. 0 0
      web/old_semiui/src/components/common/ui/SelectableButtonGroup.jsx
  59. 0 0
      web/old_semiui/src/components/dashboard/AnnouncementsPanel.jsx
  60. 0 0
      web/old_semiui/src/components/dashboard/ApiInfoPanel.jsx
  61. 0 0
      web/old_semiui/src/components/dashboard/ChartsPanel.jsx
  62. 0 0
      web/old_semiui/src/components/dashboard/DashboardHeader.jsx
  63. 0 0
      web/old_semiui/src/components/dashboard/FaqPanel.jsx
  64. 0 0
      web/old_semiui/src/components/dashboard/StatsCards.jsx
  65. 0 0
      web/old_semiui/src/components/dashboard/UptimePanel.jsx
  66. 0 0
      web/old_semiui/src/components/dashboard/index.jsx
  67. 0 0
      web/old_semiui/src/components/dashboard/modals/SearchModal.jsx
  68. 0 0
      web/old_semiui/src/components/layout/Footer.jsx
  69. 0 0
      web/old_semiui/src/components/layout/NoticeModal.jsx
  70. 0 0
      web/old_semiui/src/components/layout/PageLayout.jsx
  71. 0 0
      web/old_semiui/src/components/layout/SetupCheck.js
  72. 0 0
      web/old_semiui/src/components/layout/SiderBar.jsx
  73. 0 0
      web/old_semiui/src/components/layout/components/SkeletonWrapper.jsx
  74. 0 0
      web/old_semiui/src/components/layout/headerbar/ActionButtons.jsx
  75. 0 0
      web/old_semiui/src/components/layout/headerbar/HeaderLogo.jsx
  76. 0 0
      web/old_semiui/src/components/layout/headerbar/LanguageSelector.jsx
  77. 0 0
      web/old_semiui/src/components/layout/headerbar/MobileMenuButton.jsx
  78. 0 0
      web/old_semiui/src/components/layout/headerbar/Navigation.jsx
  79. 0 0
      web/old_semiui/src/components/layout/headerbar/NewYearButton.jsx
  80. 0 0
      web/old_semiui/src/components/layout/headerbar/NotificationButton.jsx
  81. 0 0
      web/old_semiui/src/components/layout/headerbar/ThemeToggle.jsx
  82. 0 0
      web/old_semiui/src/components/layout/headerbar/UserArea.jsx
  83. 0 0
      web/old_semiui/src/components/layout/headerbar/index.jsx
  84. 0 0
      web/old_semiui/src/components/playground/ChatArea.jsx
  85. 0 0
      web/old_semiui/src/components/playground/CodeViewer.jsx
  86. 0 0
      web/old_semiui/src/components/playground/ConfigManager.jsx
  87. 0 0
      web/old_semiui/src/components/playground/CustomInputRender.jsx
  88. 0 0
      web/old_semiui/src/components/playground/CustomRequestEditor.jsx
  89. 0 0
      web/old_semiui/src/components/playground/DebugPanel.jsx
  90. 0 0
      web/old_semiui/src/components/playground/FloatingButtons.jsx
  91. 0 0
      web/old_semiui/src/components/playground/ImageUrlInput.jsx
  92. 0 0
      web/old_semiui/src/components/playground/MessageActions.jsx
  93. 0 0
      web/old_semiui/src/components/playground/MessageContent.jsx
  94. 0 0
      web/old_semiui/src/components/playground/OptimizedComponents.js
  95. 0 0
      web/old_semiui/src/components/playground/ParameterControl.jsx
  96. 0 0
      web/old_semiui/src/components/playground/SettingsPanel.jsx
  97. 0 0
      web/old_semiui/src/components/playground/ThinkingContent.jsx
  98. 0 0
      web/old_semiui/src/components/playground/configStorage.js
  99. 0 0
      web/old_semiui/src/components/playground/index.js
  100. 0 0
      web/old_semiui/src/components/settings/ChannelSelectorModal.jsx

+ 1 - 0
web/.env.example

@@ -0,0 +1 @@
+VITE_CLERK_PUBLISHABLE_KEY=

+ 128 - 0
web/.github/CODE_OF_CONDUCT.md

@@ -0,0 +1,128 @@
+# Contributor Covenant Code of Conduct
+
+## Our Pledge
+
+We as members, contributors, and leaders pledge to make participation in our
+community a harassment-free experience for everyone, regardless of age, body
+size, visible or invisible disability, ethnicity, sex characteristics, gender
+identity and expression, level of experience, education, socio-economic status,
+nationality, personal appearance, race, religion, or sexual identity
+and orientation.
+
+We pledge to act and interact in ways that contribute to an open, welcoming,
+diverse, inclusive, and healthy community.
+
+## Our Standards
+
+Examples of behavior that contributes to a positive environment for our
+community include:
+
+* Demonstrating empathy and kindness toward other people
+* Being respectful of differing opinions, viewpoints, and experiences
+* Giving and gracefully accepting constructive feedback
+* Accepting responsibility and apologizing to those affected by our mistakes,
+  and learning from the experience
+* Focusing on what is best not just for us as individuals, but for the
+  overall community
+
+Examples of unacceptable behavior include:
+
+* The use of sexualized language or imagery, and sexual attention or
+  advances of any kind
+* Trolling, insulting or derogatory comments, and personal or political attacks
+* Public or private harassment
+* Publishing others' private information, such as a physical or email
+  address, without their explicit permission
+* Other conduct which could reasonably be considered inappropriate in a
+  professional setting
+
+## Enforcement Responsibilities
+
+Community leaders are responsible for clarifying and enforcing our standards of
+acceptable behavior and will take appropriate and fair corrective action in
+response to any behavior that they deem inappropriate, threatening, offensive,
+or harmful.
+
+Community leaders have the right and responsibility to remove, edit, or reject
+comments, commits, code, wiki edits, issues, and other contributions that are
+not aligned to this Code of Conduct, and will communicate reasons for moderation
+decisions when appropriate.
+
+## Scope
+
+This Code of Conduct applies within all community spaces, and also applies when
+an individual is officially representing the community in public spaces.
+Examples of representing our community include using an official e-mail address,
+posting via an official social media account, or acting as an appointed
+representative at an online or offline event.
+
+## Enforcement
+
+Instances of abusive, harassing, or otherwise unacceptable behavior may be
+reported to the community leaders responsible for enforcement at
+.
+All complaints will be reviewed and investigated promptly and fairly.
+
+All community leaders are obligated to respect the privacy and security of the
+reporter of any incident.
+
+## Enforcement Guidelines
+
+Community leaders will follow these Community Impact Guidelines in determining
+the consequences for any action they deem in violation of this Code of Conduct:
+
+### 1. Correction
+
+**Community Impact**: Use of inappropriate language or other behavior deemed
+unprofessional or unwelcome in the community.
+
+**Consequence**: A private, written warning from community leaders, providing
+clarity around the nature of the violation and an explanation of why the
+behavior was inappropriate. A public apology may be requested.
+
+### 2. Warning
+
+**Community Impact**: A violation through a single incident or series
+of actions.
+
+**Consequence**: A warning with consequences for continued behavior. No
+interaction with the people involved, including unsolicited interaction with
+those enforcing the Code of Conduct, for a specified period of time. This
+includes avoiding interactions in community spaces as well as external channels
+like social media. Violating these terms may lead to a temporary or
+permanent ban.
+
+### 3. Temporary Ban
+
+**Community Impact**: A serious violation of community standards, including
+sustained inappropriate behavior.
+
+**Consequence**: A temporary ban from any sort of interaction or public
+communication with the community for a specified period of time. No public or
+private interaction with the people involved, including unsolicited interaction
+with those enforcing the Code of Conduct, is allowed during this period.
+Violating these terms may lead to a permanent ban.
+
+### 4. Permanent Ban
+
+**Community Impact**: Demonstrating a pattern of violation of community
+standards, including sustained inappropriate behavior,  harassment of an
+individual, or aggression toward or disparagement of classes of individuals.
+
+**Consequence**: A permanent ban from any sort of public interaction within
+the community.
+
+## Attribution
+
+This Code of Conduct is adapted from the [Contributor Covenant][homepage],
+version 2.0, available at
+https://www.contributor-covenant.org/version/2/0/code_of_conduct.html.
+
+Community Impact Guidelines were inspired by [Mozilla's code of conduct
+enforcement ladder](https://github.com/mozilla/diversity).
+
+[homepage]: https://www.contributor-covenant.org
+
+For answers to common questions about this code of conduct, see the FAQ at
+https://www.contributor-covenant.org/faq. Translations are available at
+https://www.contributor-covenant.org/translations.

+ 101 - 0
web/.github/CONTRIBUTING.md

@@ -0,0 +1,101 @@
+# Contributing to Shadcn-Admin
+
+Thank you for considering contributing to **shadcn-admin**! Every contribution is valuable, whether it's reporting bugs, suggesting improvements, adding features, or refining README.
+
+## Table of Contents
+
+1. [Getting Started](#getting-started)
+2. [How to Contribute](#how-to-contribute)
+3. [Code Standards](#code-standards)
+4. [Pull Request Guidelines](#pull-request-guidelines)
+5. [Reporting Issues](#reporting-issues)
+6. [Community Guidelines](#community-guidelines)
+
+---
+
+## Getting Started
+
+1. **Fork** the repository.
+2. **Clone** your fork:
+
+   ```bash
+   git clone https://github.com/your-username/shadcn-admin.git
+   ```
+
+3. **Install dependencies:**
+
+   ```bash
+   pnpm install
+   ```
+
+4. **Run the project locally:**
+
+   ```bash
+   pnpm dev
+   ```
+
+5. Create a new branch for your contribution:
+
+   ```bash
+   git checkout -b feature/your-feature
+   ```
+
+---
+
+## How to Contribute
+
+- **Feature Requests:** Open an issue or start a discussion to discuss the feature before implementation.
+- **Bug Fixes:** Provide clear reproduction steps in your issue.
+- **Documentation:** Improvements to the documentation (README) are always appreciated.
+
+> **Note:** Pull Requests adding new features without a prior issue or discussion will **not be accepted**.
+
+---
+
+## Code Standards
+
+- Follow the existing **ESLint** and **Prettier** configurations.
+- Ensure your code is **type-safe** with **TypeScript**.
+- Maintain consistency with the existing code structure.
+
+> **Tips!** Before submitting your changes, run the following commands:
+
+```bash
+pnpm lint && pnpm format && pnpm knip && pnpm build
+```
+
+---
+
+## Pull Request Guidelines
+
+- **Follow the [PR Template](./PULL_REQUEST_TEMPLATE.md):**
+  - Description
+  - Types of changes
+  - Checklist
+  - Further comments
+  - Related Issue
+- Ensure your changes pass **CI checks**.
+- Keep PRs **focused** and **concise**.
+- Reference related issues in your PR description.
+
+---
+
+## Reporting Issues
+
+- Clearly describe the issue.
+- Provide reproduction steps if applicable.
+- Include screenshots or code examples if relevant.
+
+---
+
+## Community Guidelines
+
+- Be respectful and constructive.
+- Follow the [Code of Conduct](./CODE_OF_CONDUCT.md).
+- Stay on topic in discussions.
+
+---
+
+Thank you for helping make **shadcn-admin** better! 🚀
+
+If you have any questions, feel free to reach out via [Discussions](https://github.com/satnaing/shadcn-admin/discussions).

+ 14 - 0
web/.github/FUNDING.yml

@@ -0,0 +1,14 @@
+github: [satnaing]
+buy_me_a_coffee: satnaing
+
+# patreon: # Replace with a single Patreon username
+# open_collective: # Replace with a single Open Collective username
+# ko_fi: # Replace with a single Ko-fi username
+# tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel
+# community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry
+# liberapay: # Replace with a single Liberapay username
+# issuehunt: # Replace with a single IssueHunt username
+# lfx_crowdfunding: # Replace with a single LFX Crowdfunding project-name e.g., cloud-foundry
+# polar: # Replace with a single Polar username
+# thanks_dev: # Replace with a single thanks.dev username
+# custom: # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2']

+ 5 - 0
web/.github/ISSUE_TEMPLATE/config.yml

@@ -0,0 +1,5 @@
+blank_issues_enabled: false
+contact_links:
+  - name: Shadcn-Admin Discussions
+    url: https://github.com/satnaing/shadcn-admin/discussions
+    about: Please ask and answer questions here.

+ 19 - 0
web/.github/ISSUE_TEMPLATE/✨-feature-request.md

@@ -0,0 +1,19 @@
+---
+name: "✨ Feature Request"
+about: Suggest an idea for improving Shadcn-Admin
+title: "[Feature Request]: "
+labels: enhancement
+assignees: ""
+---
+
+**Is your feature request related to a problem? Please describe.**
+A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
+
+**Describe the solution you'd like**
+A clear and concise description of what you want to happen.
+
+**Describe alternatives you've considered**
+A clear and concise description of any alternative solutions or features you've considered.
+
+**Additional context**
+Add any other context or screenshots about the feature request here.

+ 27 - 0
web/.github/ISSUE_TEMPLATE/🐞-bug-report.md

@@ -0,0 +1,27 @@
+---
+name: "\U0001F41E Bug report"
+about: Report a bug or unexpected behavior in Shadcn-Admin
+title: "[BUG]: "
+labels: bug
+assignees: ""
+---
+
+**Describe the bug**
+A clear and concise description of what the bug is.
+
+**To Reproduce**
+Steps to reproduce the behavior:
+
+1. Go to '...'
+2. Click on '....'
+3. Scroll down to '....'
+4. See error
+
+**Expected behavior**
+A clear and concise description of what you expected to happen.
+
+**Screenshots**
+If applicable, add screenshots to help explain your problem.
+
+**Additional context**
+Add any other context about the problem here.

+ 27 - 0
web/.github/PULL_REQUEST_TEMPLATE.md

@@ -0,0 +1,27 @@
+## Description
+
+<!-- A clear and concise description of what the pull request does. Include any relevant motivation and background. -->
+
+## Types of changes
+
+<!-- What types of changes does your code introduce to AstroPaper? Put an `x` in the boxes that apply -->
+
+- [ ] Bug Fix (non-breaking change which fixes an issue)
+- [ ] New Feature (non-breaking change which adds functionality)
+- [ ] Others (any other types not listed above)
+
+## Checklist
+
+<!-- Please follow this checklist and put an x in each of the boxes, like this: [x]. You can also fill these out after creating the PR. This is simply a reminder of what we are going to look for before merging your code. -->
+
+- [ ] I have read the [Contributing Guide](https://github.com/satnaing/shadcn-admin/blob/main/.github/CONTRIBUTING.md)
+
+## Further comments
+
+<!-- If this is a relatively large or complex change, kick off the discussion by explaining why you chose the solution you did and what alternatives you considered, etc... -->
+
+## Related Issue
+
+<!-- If this PR is related to an existing issue, link to it here. -->
+
+Closes: #<!-- Issue number, if applicable -->

+ 41 - 0
web/.github/workflows/ci.yml

@@ -0,0 +1,41 @@
+name: Continuous Integration
+
+on:
+  push:
+    branches:
+      - main
+
+  pull_request:
+    branches:
+      - main
+
+jobs:
+  install-lint-build:
+    runs-on: ubuntu-latest
+
+    steps:
+      - name: Checkout code
+        uses: actions/checkout@v4
+
+      - name: Setup Node.js
+        uses: actions/setup-node@v4
+        with:
+          node-version: 20
+
+      - name: Install pnpm
+        run: npm install -g pnpm
+
+      - name: Install dependencies
+        run: pnpm install --frozen-lockfile
+
+      - name: Lint the code
+        run: pnpm lint
+
+      # - name: Analyze unused files and dependencies
+      #   run: pnpm knip
+
+      - name: Run Prettier check
+        run: pnpm format:check
+
+      - name: Build the project
+        run: pnpm build

+ 29 - 0
web/.github/workflows/stale.yml

@@ -0,0 +1,29 @@
+name: Close inactive issues/PR
+
+on:
+  schedule:
+  - cron: '38 18 * * *'
+
+jobs:
+  stale:
+
+    runs-on: ubuntu-latest
+    permissions:
+      issues: write
+      pull-requests: write
+
+    steps:
+    - uses: actions/stale@v5
+      with:
+        repo-token: ${{ secrets.GITHUB_TOKEN }}
+        days-before-issue-stale: 120
+        days-before-issue-close: 120
+        stale-issue-label: "stale"
+        stale-issue-message: "This issue is stale because it has been open for 120 days with no activity."
+        close-issue-message: "This issue was closed because it has been inactive for 120 days since being marked as stale."
+        days-before-pr-stale: 120
+        days-before-pr-close: 120
+        stale-pr-label: "stale"
+        stale-pr-message: "This PR is stale because it has been open for 120 days with no activity."
+        close-pr-message: "This PR was closed because it has been inactive for 120 days since being marked as stale."
+        operations-per-run: 0

+ 22 - 22
web/.gitignore

@@ -1,26 +1,26 @@
-# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
-
-# dependencies
-/node_modules
-/.pnp
-.pnp.js
-
-# testing
-/coverage
-
-# production
-/build
-
-# misc
-.DS_Store
-.env.local
-.env.development.local
-.env.test.local
-.env.production.local
-
+# Logs
+logs
+*.log
 npm-debug.log*
 yarn-debug.log*
 yarn-error.log*
+pnpm-debug.log*
+lerna-debug.log*
+
+node_modules
+dist
+dist-ssr
+*.local
+
+.env
+
+# Editor directories and files
+.vscode/*
+!.vscode/extensions.json
 .idea
-package-lock.json
-yarn.lock
+.DS_Store
+*.suo
+*.ntvs*
+*.njsproj
+*.sln
+*.sw?

+ 18 - 0
web/.prettierignore

@@ -0,0 +1,18 @@
+# Ignore everything
+/*
+
+# Except these files & folders
+!/src
+!index.html
+!package.json
+!tailwind.config.js
+!tsconfig.json
+!tsconfig.node.json
+!vite.config.ts
+!.prettierrc
+!README.md
+!eslint.config.js
+!postcss.config.js
+
+# Ignore auto generated routeTree.gen.ts
+/src/routeTree.gen.ts

+ 49 - 0
web/.prettierrc

@@ -0,0 +1,49 @@
+{
+  "arrowParens": "always",
+  "semi": false,
+  "tabWidth": 2,
+  "printWidth": 80,
+  "singleQuote": true,
+  "jsxSingleQuote": true,
+  "trailingComma": "es5",
+  "bracketSpacing": true,
+  "endOfLine": "lf",
+  "plugins": [
+    "@trivago/prettier-plugin-sort-imports",
+    "prettier-plugin-tailwindcss"
+  ],
+  "importOrder": [
+    "^path$",
+    "^vite$",
+    "^@vitejs/(.*)$",
+    "^react$",
+    "^react-dom/client$",
+    "^react/(.*)$",
+    "^globals$",
+    "^zod$",
+    "^axios$",
+    "^date-fns$",
+    "^react-hook-form$",
+    "^use-intl$",
+    "^@radix-ui/(.*)$",
+    "^@hookform/resolvers/zod$",
+    "^@tanstack/react-query$",
+    "^@tanstack/react-router$",
+    "^@tanstack/react-table$",
+    "<THIRD_PARTY_MODULES>",
+    "^@/assets/(.*)",
+    "^@/api/(.*)$",
+    "^@/stores/(.*)$",
+    "^@/lib/(.*)$",
+    "^@/utils/(.*)$",
+    "^@/constants/(.*)$",
+    "^@/context/(.*)$",
+    "^@/hooks/(.*)$",
+    "^@/components/layouts/(.*)$",
+    "^@/components/ui/(.*)$",
+    "^@/components/errors/(.*)$",
+    "^@/components/(.*)$",
+    "^@/features/(.*)$",
+    "^[./]"
+  ]
+}

+ 297 - 0
web/CHANGELOG.md

@@ -0,0 +1,297 @@
+## v2.1.0 (2025-08-23)
+
+### Feat
+
+- enhance data table pagination with page numbers (#207)
+- enhance auth flow with sign-out dialogs and redirect functionality (#206)
+
+### Refactor
+
+- reorganize utility files into `lib/` folder (#209)
+- extract data-table components and reorganize structure (#208)
+
+## v2.0.0 (2025-08-16)
+
+### BREAKING CHANGE
+
+- CSS file structure has been reorganized
+
+### Feat
+
+- add search param sync in apps route (#200)
+- improve tables and sync table states with search param (#199)
+- add data table bulk action toolbar (#196)
+- add config drawer and update overall layout (#186)
+- RTL support (#179)
+
+### Fix
+
+- adjust layout styles in search and top nav in dashboard page
+- update spacing and layout styles
+- update faceted icon color
+- improve user table hover & selected styles (#195)
+- add max-width for large screens to improve responsiveness (#194)
+- adjust chat border radius for better responsiveness (#193)
+- update hard-coded or inconsistent colors (#191)
+- use variable for inset layout height calculation
+- faded-bottom overflow issue in inset layout
+- hide unnecessary configs on mobile (#189)
+- adjust file input text vertical alignment (#188)
+
+### Refactor
+
+- enforce consistency and code quality (#198)
+- improve code quality and consistency (#197)
+- update error routes (#192)
+- remove DirSwitch component and its usage in Tasks (#190)
+- standardize using cookie as persist state (#187)
+- separate CSS into modular theme and base styles (#185)
+- replace tabler icons with lucide icons (#183)
+
+## v1.4.2 (2025-07-23)
+
+### Fix
+
+- remove unnecessary transitions in table (#176)
+- overflow background in tables (#175)
+
+## v1.4.1 (2025-06-25)
+
+### Fix
+
+- user list overflow in chat (#160)
+- prevent showing collapsed menu on mobile (#155)
+- white background select dropdown in dark mode (#149)
+
+### Refactor
+
+- update font config guide in fonts.ts (#164)
+
+## v1.4.0 (2025-05-25)
+
+### Feat
+
+- **clerk**: add Clerk for auth and protected route (#146)
+
+### Fix
+
+- add an indicator for nested pages in search (#147)
+- update faded-bottom color with css variable (#139)
+
+## v1.3.0 (2025-04-16)
+
+### Fix
+
+- replace custom otp with input-otp component (#131)
+- disable layout animation on mobile (#130)
+- upgrade react-day-picker and update calendar component (#129)
+
+### Others
+
+- upgrade Tailwind CSS to v4 (#125)
+- upgrade dependencies (#128)
+- configure automatic code-splitting (#127)
+
+## v1.2.0 (2025-04-12)
+
+### Feat
+
+- add loading indicator during page transitions (#119)
+- add light favicons and theme-based switching (#112)
+- add new chat dialog in chats page (#90)
+
+### Fix
+
+- add fallback font for fontFamily (#110)
+- broken focus behavior in add user dialog (#113)
+
+## v1.1.0 (2025-01-30)
+
+### Feat
+
+- allow changing font family in setting
+
+### Fix
+
+- update sidebar color in dark mode for consistent look (#87)
+- use overflow-clip in table paginations (#86)
+- **style**: update global scrollbar style (#82)
+- toolbar filter placeholder typo in user table (#76)
+
+## v1.0.3 (2024-12-28)
+
+### Fix
+
+- add gap between buttons in import task dialog (#70)
+- hide button sort if column cannot be hidden & update filterFn (#69)
+- nav links added in profile dropdown (#68)
+
+### Refactor
+
+- optimize states in users/tasks context (#71)
+
+## v1.0.2 (2024-12-25)
+
+### Fix
+
+- update overall layout due to scroll-lock bug (#66)
+
+### Refactor
+
+- analyze and remove unused files/exports with knip (#67)
+
+## v1.0.1 (2024-12-14)
+
+### Fix
+
+- merge two button components into one (#60)
+- loading all tabler-icon chunks in dev mode (#59)
+- display menu dropdown when sidebar collapsed (#58)
+- update spacing & alignment in dialogs/drawers
+- update border & transition of sticky columns in user table
+- update heading alignment to left in user dialogs
+- add height and scroll area in user mutation dialogs
+- update `/dashboard` route to just `/`
+- **build**: replace require with import in tailwind.config.js
+
+### Refactor
+
+- remove unnecessary layout-backup file
+
+## v1.0.0 (2024-12-09)
+
+### BREAKING CHANGE
+
+- Restructured the entire folder
+hierarchy to adopt a feature-based structure. This
+change improves code modularity and maintainability
+but introduces breaking changes.
+
+### Feat
+
+- implement task dialogs
+- implement user invite dialog
+- implement users CRUD
+- implement global command/search
+- implement custom sidebar trigger
+- implement coming-soon page
+
+### Fix
+
+- uncontrolled issue in account setting
+- card layout issue in app integrations page
+- remove form reset logic from useEffect in task import
+- update JSX types due to react 19
+- prevent card stretch in filtered app layout
+- layout wrap issue in tasks page on mobile
+- update user column hover and selected colors
+- add setTimeout in user dialog closing
+- layout shift issue in dropdown modal
+- z-axis overflow issue in header
+- stretch search bar only in mobile
+- language dropdown issue in account setting
+- update overflow contents with scroll area
+
+### Refactor
+
+- update layouts and extract common layout
+- reorganize project to feature-based structure
+
+## v1.0.0-beta.5 (2024-11-11)
+
+### Feat
+
+- add multiple language support (#37)
+
+### Fix
+
+- ensure site syncs with system theme changes (#49)
+- recent sales responsive on ipad view (#40)
+
+## v1.0.0-beta.4 (2024-09-22)
+
+### Feat
+
+- upgrade theme button to theme dropdown (#33)
+- **a11y**: add "Skip to Main" button to improve keyboard navigation (#27)
+
+### Fix
+
+- optimize onComplete/onIncomplete invocation (#32)
+- solve asChild attribute issue in custom button (#31)
+- improve custom Button component (#28)
+
+## v1.0.0-beta.3 (2024-08-25)
+
+### Feat
+
+- implement chat page (#21)
+- add 401 error page (#12)
+- implement apps page
+- add otp page
+
+### Fix
+
+- prevent focus zoom on mobile devices (#20)
+- resolve eslint script issue (#18)
+- **a11y**: update default aria-label of each pin-input
+- resolve OTP paste issue in multi-digit pin-input
+- update layouts and solve overflow issues (#11)
+- sync pin inputs programmatically
+
+## v1.0.0-beta.2 (2024-03-18)
+
+### Feat
+
+- implement custom pin-input component (#2)
+
+## v1.0.0-beta.1 (2024-02-08)
+
+### Feat
+
+- update theme-color meta tag when theme is updated
+- add coming soon page in broken pages
+- implement tasks table and page
+- add remaining settings pages
+- add example error page for settings
+- update general error page to be more flexible
+- implement settings layout and settings profile page
+- add error pages
+- add password-input custom component
+- add sign-up page
+- add forgot-password page
+- add box sign in page
+- add email + password sign in page
+- make sidebar responsive and accessible
+- add tailwind prettier plugin
+- make sidebar collapsed state in local storage
+- add check current active nav hook
+- add loader component ui
+- update dropdown nav by default if child is active
+- add main-panel in dashboard
+- **ui**: add dark mode
+- **ui**: implement side nav ui
+
+### Fix
+
+- update incorrect overflow side nav height
+- exclude shadcn components from linting and remove unused props
+- solve text overflow issue when nav text is long
+- replace nav with dropdown in mobile topnav
+- make sidebar scrollable when overflow
+- update nav link keys
+- **ui**: update label style
+
+### Refactor
+
+- move password-input component into custom component dir
+- add custom button component
+- extract redundant codes into layout component
+- update react-router to use new api for routing
+- update main panel layout
+- update major layouts and styling
+- update main panel to be responsive
+- update sidebar collapsed state to false in mobile
+- update sidebar logo and title
+- **ui**: remove unnecessary spacing
+- remove unused files

+ 21 - 0
web/LICENSE

@@ -0,0 +1,21 @@
+MIT License
+
+Copyright (c) 2024 Sat Naing
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.

+ 117 - 0
web/README.md

@@ -0,0 +1,117 @@
+# Shadcn Admin Dashboard
+
+Admin Dashboard UI crafted with Shadcn and Vite. Built with responsiveness and accessibility in mind.
+
+![alt text](public/images/shadcn-admin.png)
+
+I've been creating dashboard UIs at work and for my personal projects. I always wanted to make a reusable collection of dashboard UI for future projects; and here it is now. While I've created a few custom components, some of the code is directly adapted from ShadcnUI examples.
+
+> This is not a starter project (template) though. I'll probably make one in the future.
+
+## Features
+
+- Light/dark mode
+- Responsive
+- Accessible
+- With built-in Sidebar component
+- Global search command
+- 10+ pages
+- Extra custom components
+- RTL support
+
+<details>
+<summary>Customized Components (click to expand)</summary>
+
+This project uses Shadcn UI components, but some have been slightly modified for better RTL (Right-to-Left) support and other improvements. These customized components differ from the original Shadcn UI versions.
+
+If you want to update components using the Shadcn CLI (e.g., `npx shadcn@latest add <component>`), it's generally safe for non-customized components. For the listed customized ones, you may need to manually merge changes to preserve the project's modifications and avoid overwriting RTL support or other updates.
+
+> If you don't require RTL support, you can safely update the 'RTL Updated Components' via the Shadcn CLI, as these changes are primarily for RTL compatibility. The 'Modified Components' may have other customizations to consider.
+
+### Modified Components
+
+- scroll-area
+- sonner
+- separator
+
+### RTL Updated Components
+
+- alert-dialog
+- calendar
+- command
+- dialog
+- dropdown-menu
+- select
+- table
+- sheet
+- sidebar
+- switch
+
+**Notes:**
+
+- **Modified Components**: These have general updates, potentially including RTL adjustments.
+- **RTL Updated Components**: These have specific changes for RTL language support (e.g., layout, positioning).
+- For implementation details, check the source files in `src/components/ui/`.
+- All other Shadcn UI components in the project are standard and can be safely updated via the CLI.
+
+</details>
+
+## Tech Stack
+
+**UI:** [ShadcnUI](https://ui.shadcn.com) (TailwindCSS + RadixUI)
+
+**Build Tool:** [Vite](https://vitejs.dev/)
+
+**Routing:** [TanStack Router](https://tanstack.com/router/latest)
+
+**Type Checking:** [TypeScript](https://www.typescriptlang.org/)
+
+**Linting/Formatting:** [Eslint](https://eslint.org/) & [Prettier](https://prettier.io/)
+
+**Icons:** [Lucide Icons](https://lucide.dev/icons/), [Tabler Icons](https://tabler.io/icons) (Brand icons only)
+
+**Auth (partial):** [Clerk](https://go.clerk.com/GttUAaK)
+
+## Run Locally
+
+Clone the project
+
+```bash
+  git clone https://github.com/satnaing/shadcn-admin.git
+```
+
+Go to the project directory
+
+```bash
+  cd shadcn-admin
+```
+
+Install dependencies
+
+```bash
+  pnpm install
+```
+
+Start the server
+
+```bash
+  pnpm run dev
+```
+
+## Sponsoring this project ❤️
+
+If you find this project helpful or use this in your own work, consider [sponsoring me](https://github.com/sponsors/satnaing) to support development and maintenance. You can [buy me a coffee](https://buymeacoffee.com/satnaing) as well. Don’t worry, every penny helps. Thank you! 🙏
+
+For questions or sponsorship inquiries, feel free to reach out at [[email protected]](mailto:[email protected]).
+
+### Current Sponsor
+
+- [Clerk](https://go.clerk.com/GttUAaK) - for backing the implementation of Clerk in this project
+
+## Author
+
+Crafted with 🤍 by [@satnaing](https://github.com/satnaing)
+
+## License
+
+Licensed under the [MIT License](https://choosealicense.com/licenses/mit/)

+ 21 - 0
web/components.json

@@ -0,0 +1,21 @@
+{
+  "$schema": "https://ui.shadcn.com/schema.json",
+  "style": "new-york",
+  "rsc": false,
+  "tsx": true,
+  "tailwind": {
+    "config": "",
+    "css": "src/styles/index.css",
+    "baseColor": "slate",
+    "cssVariables": true,
+    "prefix": ""
+  },
+  "aliases": {
+    "components": "@/components",
+    "utils": "@/lib/utils",
+    "ui": "@/components/ui",
+    "lib": "@/lib",
+    "hooks": "@/hooks"
+  },
+  "iconLibrary": "lucide"
+}

+ 7 - 0
web/cz.yaml

@@ -0,0 +1,7 @@
+---
+commitizen:
+  name: cz_conventional_commits
+  tag_format: v$version
+  update_changelog_on_bump: true
+  version_provider: npm
+  version_scheme: semver

+ 58 - 0
web/eslint.config.js

@@ -0,0 +1,58 @@
+import globals from 'globals'
+import js from '@eslint/js'
+import pluginQuery from '@tanstack/eslint-plugin-query'
+import reactHooks from 'eslint-plugin-react-hooks'
+import reactRefresh from 'eslint-plugin-react-refresh'
+import tseslint from 'typescript-eslint'
+
+export default tseslint.config(
+  { ignores: ['dist', 'src/components/ui'] },
+  {
+    extends: [
+      js.configs.recommended,
+      ...tseslint.configs.recommended,
+      ...pluginQuery.configs['flat/recommended'],
+    ],
+    files: ['**/*.{ts,tsx}'],
+    languageOptions: {
+      ecmaVersion: 2020,
+      globals: globals.browser,
+    },
+    plugins: {
+      'react-hooks': reactHooks,
+      'react-refresh': reactRefresh,
+    },
+    rules: {
+      ...reactHooks.configs.recommended.rules,
+      'react-refresh/only-export-components': [
+        'warn',
+        { allowConstantExport: true },
+      ],
+      'no-console': 'error',
+      'no-unused-vars': 'off',
+      '@typescript-eslint/no-unused-vars': [
+        'error',
+        {
+          args: 'all',
+          argsIgnorePattern: '^_',
+          caughtErrors: 'all',
+          caughtErrorsIgnorePattern: '^_',
+          destructuredArrayIgnorePattern: '^_',
+          varsIgnorePattern: '^_',
+          ignoreRestSiblings: true,
+        },
+      ],
+      // Enforce type-only imports for TypeScript types
+      '@typescript-eslint/consistent-type-imports': [
+        'error',
+        {
+          prefer: 'type-imports',
+          fixStyle: 'inline-type-imports',
+          disallowTypeAnnotations: false,
+        },
+      ],
+      // Prevent duplicate imports from the same module
+      'no-duplicate-imports': 'error',
+    },
+  }
+)

+ 69 - 9
web/index.html

@@ -1,20 +1,80 @@
 <!doctype html>
-<html lang="zh">
+<html lang="en">
   <head>
-    <meta charset="utf-8" />
-    <link rel="icon" href="/logo.png" />
-    <meta name="viewport" content="width=device-width, initial-scale=1" />
-    <meta name="theme-color" content="#ffffff" />
+    <meta charset="UTF-8" />
+    <link
+      rel="icon"
+      type="image/svg+xml"
+      href="/images/favicon.svg"
+      media="(prefers-color-scheme: light)"
+    />
+    <link
+      rel="icon"
+      type="image/svg+xml"
+      href="/images/favicon_light.svg"
+      media="(prefers-color-scheme: dark)"
+    />
+    <link
+      rel="icon"
+      type="image/png"
+      href="/images/favicon.png"
+      media="(prefers-color-scheme: light)"
+    />
+    <link
+      rel="icon"
+      type="image/png"
+      href="/images/favicon_light.png"
+      media="(prefers-color-scheme: dark)"
+    />
+    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
+
+    <!-- Primary Meta Tags -->
+    <title>Shadcn Admin</title>
+    <meta name="title" content="Shadcn Admin" />
     <meta
       name="description"
-      content="OpenAI 接口聚合管理,支持多种渠道包括 Azure,可用于二次分发管理 key,仅单可执行文件,已打包好 Docker 镜像,一键部署,开箱即用"
+      content="Admin Dashboard UI built with Shadcn and Vite."
+    />
+
+    <!-- Open Graph / Facebook -->
+    <meta property="og:type" content="website" />
+    <meta property="og:url" content="https://shadcn-admin.netlify.app" />
+    <meta property="og:title" content="Shadcn Admin" />
+    <meta
+      property="og:description"
+      content="Admin Dashboard UI built with Shadcn and Vite."
+    />
+    <meta
+      property="og:image"
+      content="https://shadcn-admin.netlify.app/images/shadcn-admin.png"
     />
-    <title>New API</title>
+
+    <!-- Twitter -->
+    <meta property="twitter:card" content="summary_large_image" />
+    <meta property="twitter:url" content="https://shadcn-admin.netlify.app" />
+    <meta property="twitter:title" content="Shadcn Admin" />
+    <meta
+      property="twitter:description"
+      content="Admin Dashboard UI built with Shadcn and Vite."
+    />
+    <meta
+      property="twitter:image"
+      content="https://shadcn-admin.netlify.app/images/shadcn-admin.png"
+    />
+
+    <!-- font family -->
+    <link rel="preconnect" href="https://fonts.googleapis.com" />
+    <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
+    <link
+      href="https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Manrope:[email protected]&display=swap"
+      rel="stylesheet"
+    />
+
+    <meta name="theme-color" content="#fff" />
   </head>
 
   <body>
-    <noscript>You need to enable JavaScript to run this app.</noscript>
     <div id="root"></div>
-    <script type="module" src="/src/index.jsx"></script>
+    <script type="module" src="/src/main.tsx"></script>
   </body>
 </html>

+ 8 - 0
web/knip.config.ts

@@ -0,0 +1,8 @@
+import type { KnipConfig } from 'knip';
+
+const config: KnipConfig = {
+  ignore: ['src/components/ui/**', 'src/routeTree.gen.ts'],
+  ignoreDependencies: ["tailwindcss", "tw-animate-css"]
+};
+
+export default config;

+ 4 - 0
web/netlify.toml

@@ -0,0 +1,4 @@
+[[redirects]]
+  from = "/*"
+  to = "/index.html"
+  status = 200

+ 0 - 0
web/.eslintrc.cjs → web/old_semiui/.eslintrc.cjs


+ 26 - 0
web/old_semiui/.gitignore

@@ -0,0 +1,26 @@
+# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
+
+# dependencies
+/node_modules
+/.pnp
+.pnp.js
+
+# testing
+/coverage
+
+# production
+/build
+
+# misc
+.DS_Store
+.env.local
+.env.development.local
+.env.test.local
+.env.production.local
+
+npm-debug.log*
+yarn-debug.log*
+yarn-error.log*
+.idea
+package-lock.json
+yarn.lock

+ 0 - 0
web/.prettierrc.mjs → web/old_semiui/.prettierrc.mjs


+ 0 - 0
web/bun.lock → web/old_semiui/bun.lock


+ 20 - 0
web/old_semiui/index.html

@@ -0,0 +1,20 @@
+<!doctype html>
+<html lang="zh">
+  <head>
+    <meta charset="utf-8" />
+    <link rel="icon" href="/logo.png" />
+    <meta name="viewport" content="width=device-width, initial-scale=1" />
+    <meta name="theme-color" content="#ffffff" />
+    <meta
+      name="description"
+      content="OpenAI 接口聚合管理,支持多种渠道包括 Azure,可用于二次分发管理 key,仅单可执行文件,已打包好 Docker 镜像,一键部署,开箱即用"
+    />
+    <title>New API</title>
+  </head>
+
+  <body>
+    <noscript>You need to enable JavaScript to run this app.</noscript>
+    <div id="root"></div>
+    <script type="module" src="/src/index.jsx"></script>
+  </body>
+</html>

+ 0 - 0
web/jsconfig.json → web/old_semiui/jsconfig.json


+ 91 - 0
web/old_semiui/package.json

@@ -0,0 +1,91 @@
+{
+  "name": "react-template",
+  "version": "0.1.0",
+  "private": true,
+  "type": "module",
+  "dependencies": {
+    "@douyinfe/semi-icons": "^2.63.1",
+    "@douyinfe/semi-ui": "^2.69.1",
+    "@lobehub/icons": "^2.0.0",
+    "@visactor/react-vchart": "~1.8.8",
+    "@visactor/vchart": "~1.8.8",
+    "@visactor/vchart-semi-theme": "~1.8.8",
+    "axios": "^0.27.2",
+    "clsx": "^2.1.1",
+    "country-flag-icons": "^1.5.19",
+    "dayjs": "^1.11.11",
+    "history": "^5.3.0",
+    "i18next": "^23.16.8",
+    "i18next-browser-languagedetector": "^7.2.0",
+    "katex": "^0.16.22",
+    "lucide-react": "^0.511.0",
+    "marked": "^4.1.1",
+    "mermaid": "^11.6.0",
+    "qrcode.react": "^4.2.0",
+    "react": "^18.2.0",
+    "react-dom": "^18.2.0",
+    "react-dropzone": "^14.2.3",
+    "react-fireworks": "^1.0.4",
+    "react-i18next": "^13.0.0",
+    "react-icons": "^5.5.0",
+    "react-markdown": "^10.1.0",
+    "react-router-dom": "^6.3.0",
+    "react-telegram-login": "^1.1.2",
+    "react-toastify": "^9.0.8",
+    "react-turnstile": "^1.0.5",
+    "rehype-highlight": "^7.0.2",
+    "rehype-katex": "^7.0.1",
+    "remark-breaks": "^4.0.0",
+    "remark-gfm": "^4.0.1",
+    "remark-math": "^6.0.0",
+    "sse.js": "^2.6.0",
+    "unist-util-visit": "^5.0.0",
+    "use-debounce": "^10.0.4"
+  },
+  "scripts": {
+    "dev": "vite",
+    "build": "vite build",
+    "lint": "prettier . --check",
+    "lint:fix": "prettier . --write",
+    "eslint": "bunx eslint \"**/*.{js,jsx}\" --cache",
+    "eslint:fix": "bunx eslint \"**/*.{js,jsx}\" --fix --cache",
+    "preview": "vite preview"
+  },
+  "eslintConfig": {
+    "extends": [
+      "react-app",
+      "react-app/jest"
+    ]
+  },
+  "browserslist": {
+    "production": [
+      ">0.2%",
+      "not dead",
+      "not op_mini all"
+    ],
+    "development": [
+      "last 1 chrome version",
+      "last 1 firefox version",
+      "last 1 safari version"
+    ]
+  },
+  "devDependencies": {
+    "@douyinfe/vite-plugin-semi": "^2.74.0-alpha.6",
+    "@so1ve/prettier-config": "^3.1.0",
+    "@vitejs/plugin-react": "^4.2.1",
+    "autoprefixer": "^10.4.21",
+    "eslint": "8.57.0",
+    "eslint-plugin-header": "^3.1.1",
+    "eslint-plugin-react-hooks": "^5.2.0",
+    "postcss": "^8.5.3",
+    "prettier": "^3.0.0",
+    "tailwindcss": "^3",
+    "typescript": "4.4.2",
+    "vite": "^5.2.0"
+  },
+  "prettier": {
+    "singleQuote": true,
+    "jsxSingleQuote": true
+  },
+  "proxy": "http://localhost:3000"
+}

+ 0 - 0
web/postcss.config.js → web/old_semiui/postcss.config.js


+ 0 - 0
web/public/azure_model_name.png → web/old_semiui/public/azure_model_name.png


+ 0 - 0
web/public/cover-4.webp → web/old_semiui/public/cover-4.webp


+ 0 - 0
web/public/favicon.ico → web/old_semiui/public/favicon.ico


+ 0 - 0
web/public/logo.png → web/old_semiui/public/logo.png


+ 0 - 0
web/public/ratio.png → web/old_semiui/public/ratio.png


+ 0 - 0
web/public/robots.txt → web/old_semiui/public/robots.txt


+ 0 - 0
web/src/App.jsx → web/old_semiui/src/App.jsx


+ 0 - 0
web/src/components/auth/LoginForm.jsx → web/old_semiui/src/components/auth/LoginForm.jsx


+ 0 - 0
web/src/components/auth/OAuth2Callback.jsx → web/old_semiui/src/components/auth/OAuth2Callback.jsx


+ 0 - 0
web/src/components/auth/PasswordResetConfirm.jsx → web/old_semiui/src/components/auth/PasswordResetConfirm.jsx


+ 0 - 0
web/src/components/auth/PasswordResetForm.jsx → web/old_semiui/src/components/auth/PasswordResetForm.jsx


+ 0 - 0
web/src/components/auth/RegisterForm.jsx → web/old_semiui/src/components/auth/RegisterForm.jsx


+ 0 - 0
web/src/components/auth/TwoFAVerification.jsx → web/old_semiui/src/components/auth/TwoFAVerification.jsx


+ 0 - 0
web/src/components/common/logo/LinuxDoIcon.jsx → web/old_semiui/src/components/common/logo/LinuxDoIcon.jsx


+ 0 - 0
web/src/components/common/logo/OIDCIcon.jsx → web/old_semiui/src/components/common/logo/OIDCIcon.jsx


+ 0 - 0
web/src/components/common/logo/WeChatIcon.jsx → web/old_semiui/src/components/common/logo/WeChatIcon.jsx


+ 0 - 0
web/src/components/common/markdown/MarkdownRenderer.jsx → web/old_semiui/src/components/common/markdown/MarkdownRenderer.jsx


+ 0 - 0
web/src/components/common/markdown/markdown.css → web/old_semiui/src/components/common/markdown/markdown.css


+ 0 - 0
web/src/components/common/modals/TwoFactorAuthModal.jsx → web/old_semiui/src/components/common/modals/TwoFactorAuthModal.jsx


+ 0 - 0
web/src/components/common/ui/CardPro.jsx → web/old_semiui/src/components/common/ui/CardPro.jsx


+ 0 - 0
web/src/components/common/ui/CardTable.jsx → web/old_semiui/src/components/common/ui/CardTable.jsx


+ 0 - 0
web/src/components/common/ui/ChannelKeyDisplay.jsx → web/old_semiui/src/components/common/ui/ChannelKeyDisplay.jsx


+ 0 - 0
web/src/components/common/ui/CompactModeToggle.jsx → web/old_semiui/src/components/common/ui/CompactModeToggle.jsx


+ 0 - 0
web/src/components/common/ui/JSONEditor.jsx → web/old_semiui/src/components/common/ui/JSONEditor.jsx


+ 0 - 0
web/src/components/common/ui/Loading.jsx → web/old_semiui/src/components/common/ui/Loading.jsx


+ 0 - 0
web/src/components/common/ui/RenderUtils.jsx → web/old_semiui/src/components/common/ui/RenderUtils.jsx


+ 0 - 0
web/src/components/common/ui/ScrollableContainer.jsx → web/old_semiui/src/components/common/ui/ScrollableContainer.jsx


+ 0 - 0
web/src/components/common/ui/SelectableButtonGroup.jsx → web/old_semiui/src/components/common/ui/SelectableButtonGroup.jsx


+ 0 - 0
web/src/components/dashboard/AnnouncementsPanel.jsx → web/old_semiui/src/components/dashboard/AnnouncementsPanel.jsx


+ 0 - 0
web/src/components/dashboard/ApiInfoPanel.jsx → web/old_semiui/src/components/dashboard/ApiInfoPanel.jsx


+ 0 - 0
web/src/components/dashboard/ChartsPanel.jsx → web/old_semiui/src/components/dashboard/ChartsPanel.jsx


+ 0 - 0
web/src/components/dashboard/DashboardHeader.jsx → web/old_semiui/src/components/dashboard/DashboardHeader.jsx


+ 0 - 0
web/src/components/dashboard/FaqPanel.jsx → web/old_semiui/src/components/dashboard/FaqPanel.jsx


+ 0 - 0
web/src/components/dashboard/StatsCards.jsx → web/old_semiui/src/components/dashboard/StatsCards.jsx


+ 0 - 0
web/src/components/dashboard/UptimePanel.jsx → web/old_semiui/src/components/dashboard/UptimePanel.jsx


+ 0 - 0
web/src/components/dashboard/index.jsx → web/old_semiui/src/components/dashboard/index.jsx


+ 0 - 0
web/src/components/dashboard/modals/SearchModal.jsx → web/old_semiui/src/components/dashboard/modals/SearchModal.jsx


+ 0 - 0
web/src/components/layout/Footer.jsx → web/old_semiui/src/components/layout/Footer.jsx


+ 0 - 0
web/src/components/layout/NoticeModal.jsx → web/old_semiui/src/components/layout/NoticeModal.jsx


+ 0 - 0
web/src/components/layout/PageLayout.jsx → web/old_semiui/src/components/layout/PageLayout.jsx


+ 0 - 0
web/src/components/layout/SetupCheck.js → web/old_semiui/src/components/layout/SetupCheck.js


+ 0 - 0
web/src/components/layout/SiderBar.jsx → web/old_semiui/src/components/layout/SiderBar.jsx


+ 0 - 0
web/src/components/layout/components/SkeletonWrapper.jsx → web/old_semiui/src/components/layout/components/SkeletonWrapper.jsx


+ 0 - 0
web/src/components/layout/headerbar/ActionButtons.jsx → web/old_semiui/src/components/layout/headerbar/ActionButtons.jsx


+ 0 - 0
web/src/components/layout/headerbar/HeaderLogo.jsx → web/old_semiui/src/components/layout/headerbar/HeaderLogo.jsx


+ 0 - 0
web/src/components/layout/headerbar/LanguageSelector.jsx → web/old_semiui/src/components/layout/headerbar/LanguageSelector.jsx


+ 0 - 0
web/src/components/layout/headerbar/MobileMenuButton.jsx → web/old_semiui/src/components/layout/headerbar/MobileMenuButton.jsx


+ 0 - 0
web/src/components/layout/headerbar/Navigation.jsx → web/old_semiui/src/components/layout/headerbar/Navigation.jsx


+ 0 - 0
web/src/components/layout/headerbar/NewYearButton.jsx → web/old_semiui/src/components/layout/headerbar/NewYearButton.jsx


+ 0 - 0
web/src/components/layout/headerbar/NotificationButton.jsx → web/old_semiui/src/components/layout/headerbar/NotificationButton.jsx


+ 0 - 0
web/src/components/layout/headerbar/ThemeToggle.jsx → web/old_semiui/src/components/layout/headerbar/ThemeToggle.jsx


+ 0 - 0
web/src/components/layout/headerbar/UserArea.jsx → web/old_semiui/src/components/layout/headerbar/UserArea.jsx


+ 0 - 0
web/src/components/layout/headerbar/index.jsx → web/old_semiui/src/components/layout/headerbar/index.jsx


+ 0 - 0
web/src/components/playground/ChatArea.jsx → web/old_semiui/src/components/playground/ChatArea.jsx


+ 0 - 0
web/src/components/playground/CodeViewer.jsx → web/old_semiui/src/components/playground/CodeViewer.jsx


+ 0 - 0
web/src/components/playground/ConfigManager.jsx → web/old_semiui/src/components/playground/ConfigManager.jsx


+ 0 - 0
web/src/components/playground/CustomInputRender.jsx → web/old_semiui/src/components/playground/CustomInputRender.jsx


+ 0 - 0
web/src/components/playground/CustomRequestEditor.jsx → web/old_semiui/src/components/playground/CustomRequestEditor.jsx


+ 0 - 0
web/src/components/playground/DebugPanel.jsx → web/old_semiui/src/components/playground/DebugPanel.jsx


+ 0 - 0
web/src/components/playground/FloatingButtons.jsx → web/old_semiui/src/components/playground/FloatingButtons.jsx


+ 0 - 0
web/src/components/playground/ImageUrlInput.jsx → web/old_semiui/src/components/playground/ImageUrlInput.jsx


+ 0 - 0
web/src/components/playground/MessageActions.jsx → web/old_semiui/src/components/playground/MessageActions.jsx


+ 0 - 0
web/src/components/playground/MessageContent.jsx → web/old_semiui/src/components/playground/MessageContent.jsx


+ 0 - 0
web/src/components/playground/OptimizedComponents.js → web/old_semiui/src/components/playground/OptimizedComponents.js


+ 0 - 0
web/src/components/playground/ParameterControl.jsx → web/old_semiui/src/components/playground/ParameterControl.jsx


+ 0 - 0
web/src/components/playground/SettingsPanel.jsx → web/old_semiui/src/components/playground/SettingsPanel.jsx


+ 0 - 0
web/src/components/playground/ThinkingContent.jsx → web/old_semiui/src/components/playground/ThinkingContent.jsx


+ 0 - 0
web/src/components/playground/configStorage.js → web/old_semiui/src/components/playground/configStorage.js


+ 0 - 0
web/src/components/playground/index.js → web/old_semiui/src/components/playground/index.js


+ 0 - 0
web/src/components/settings/ChannelSelectorModal.jsx → web/old_semiui/src/components/settings/ChannelSelectorModal.jsx


Некоторые файлы не были показаны из-за большого количества измененных файлов