Skip to content

Commit

Permalink
Merge pull request #717 from thematters/develop
Browse files Browse the repository at this point in the history
Release: v0.35.0
  • Loading branch information
gitwoz authored Dec 8, 2024
2 parents f750fc6 + 082fd52 commit 80fe6b9
Show file tree
Hide file tree
Showing 18 changed files with 132 additions and 684 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "matters-oss",
"version": "0.34.0",
"version": "0.35.0",
"private": true,
"dependencies": {
"@ant-design/icons": "^4.2.1",
Expand Down
6 changes: 3 additions & 3 deletions src/components/Tag/DigestList/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import DateTime from '../../DateTime'
import SetBoost from '../../SetBoost'
import TagLink from '../../Tag/Link'
import TagStateTag from '../../Tag/StateTag'
import ToggleSelected from '../ToggleSelected'
// import ToggleSelected from '../ToggleSelected'
import withTagMutaitons, {
TagMutationsChildProps,
} from '../../../hocs/withTagMutations'
Expand Down Expand Up @@ -448,7 +448,7 @@ class TagDigestList extends React.Component<
width={100}
/>
)}
{inRecommendedTagsPage && (
{/* {inRecommendedTagsPage && (
<Table.Column<TagDigest>
dataIndex="oss.selected"
title="推薦精選"
Expand All @@ -457,7 +457,7 @@ class TagDigestList extends React.Component<
<ToggleSelected checked={selected} tagId={record.id} />
)}
/>
)}
)} */}
</Table>
</>
)
Expand Down
55 changes: 0 additions & 55 deletions src/components/Tag/ToggleSelected/index.tsx

This file was deleted.

41 changes: 0 additions & 41 deletions src/components/Tag/ToggleSelected/withToggleSelected.ts

This file was deleted.

81 changes: 0 additions & 81 deletions src/components/User/ResetWallet/index.tsx

This file was deleted.

38 changes: 0 additions & 38 deletions src/components/User/ResetWallet/withResetWallet.ts

This file was deleted.

13 changes: 0 additions & 13 deletions src/definitions/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -85,24 +85,13 @@ export type TagDigest = {
oss: {
boost: number
score: number
selected: boolean
}
deleted: boolean
}

export type TagDetail = TagDigest & {
articles: Connection<ArticleDigest>
remark: string
creator: {
id: string
userName: string
displayName: string
}
editors: Array<{
id: string
userName: string
displayName: string
}>
}

/**
Expand Down Expand Up @@ -143,8 +132,6 @@ export type ArticleDetail = ArticleDigest & {
appreciationsReceivedTotal: number
collection: Connection<ArticleDigest>
collectedBy: Connection<ArticleDigest>
subscribers: UserDigest[]
subscribed: boolean
hasAppreciate: boolean
remark: string
comments: Connection<CommentDigest>
Expand Down
Loading

0 comments on commit 80fe6b9

Please sign in to comment.