Skip to content

Commit

Permalink
feat(web&ai-workspace-common): complete ai-workspace & knowledge-base…
Browse files Browse the repository at this point in the history
… extract to packages
  • Loading branch information
pftom committed May 31, 2024
1 parent 554d52d commit 9ec4fc6
Show file tree
Hide file tree
Showing 66 changed files with 1,347 additions and 2,254 deletions.
2 changes: 1 addition & 1 deletion apps/web/src/pages/digest-archive/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ import { DigestHeader } from "@refly/ai-workspace-common/components/digest-commo
import { useEffect, useState } from "react"
import { EmptyDigestStatus } from "@refly/ai-workspace-common/components/empty-digest-today-status"
// utils
import getDigestList from "@/requests/getDigestList"
import getDigestList from "@refly/ai-workspace-common/requests/getDigestList"
// styles
import "./index.scss"
import { Source } from "@refly/ai-workspace-common/types"
Expand Down
2 changes: 1 addition & 1 deletion apps/web/src/pages/digest-timeline/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ import { DigestHeader } from "@refly/ai-workspace-common/components/digest-commo
import { useEffect, useState } from "react"
import { EmptyDigestStatus } from "@refly/ai-workspace-common/components/empty-digest-archive-status"
// utils
import getDigestList from "@/requests/getDigestList"
import getDigestList from "@refly/ai-workspace-common/requests/getDigestList"
// styles
import "./index.scss"
import { useTranslation } from "react-i18next"
Expand Down
2 changes: 1 addition & 1 deletion apps/web/src/pages/digest-today/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ import { DigestHeader } from "@refly/ai-workspace-common/components/digest-commo
import { useEffect, useState } from "react"
import { EmptyDigestStatus } from "@refly/ai-workspace-common/components/empty-digest-today-status"
// utils
import getDigestList from "@/requests/getDigestList"
import getDigestList from "@refly/ai-workspace-common/requests/getDigestList"
// styles
import "./index.scss"
import { LOCALE, Source } from "@refly/ai-workspace-common/types"
Expand Down
2 changes: 1 addition & 1 deletion apps/web/src/pages/digest-topic-detail/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import { useDigestTopicDetailStore } from "@refly/ai-workspace-common/stores/dig
// types
import { Digest, LOCALE } from "@refly/ai-workspace-common/types"
// request
import getDigestList from "@/requests/getDigestList"
import getDigestList from "@refly/ai-workspace-common/requests/getDigestList"
import { IconTip } from "@refly/ai-workspace-common/components/dashboard/icon-tip"
import { copyToClipboard } from "@refly/ai-workspace-common/utils"
import {
Expand Down
2 changes: 1 addition & 1 deletion apps/web/src/pages/feed/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import {
import { useNavigate, useMatch } from "react-router-dom"
// utils
import { time } from "@refly/ai-workspace-common/utils/time"
import getFeedList from "@/requests/getFeedList"
import getFeedList from "@refly/ai-workspace-common/requests/getFeedList"
// types
import { Feed as IFeed } from "@refly/ai-workspace-common/types"
import "./index.scss"
Expand Down
113 changes: 0 additions & 113 deletions apps/web/src/pages/knowledge-base/copilot/chat-input.tsx

This file was deleted.

46 changes: 0 additions & 46 deletions apps/web/src/pages/knowledge-base/copilot/chat-messages.tsx

This file was deleted.

This file was deleted.

Loading

0 comments on commit 9ec4fc6

Please sign in to comment.