Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release: v0.35.0 #717

Merged
merged 9 commits into from
Dec 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading