Skip to content

Commit b5cb7dc

Browse files
authored
Merge pull request #67 from Lezek123/gleev/5.5.0
🌐 Gleev v5.5.0
2 parents c344fda + b29e71c commit b5cb7dc

File tree

13 files changed

+63
-20
lines changed

13 files changed

+63
-20
lines changed

CHANGELOG.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,17 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## [5.5.0] - 2024-11-07
9+
10+
**IMPORTANT:** Depends on Orion release `4.1.0`
11+
12+
### Changed
13+
14+
- Removed _Hot tokens_ section from `CrtMarketplaceView`
15+
- Updated Orion schema following `4.1.0` release
16+
- Added minimum volume requirement for `TopCrtMovers`
17+
- Changed default sorting of _All creator tokens_ from _Price % 30D_ to _Liquidity_
18+
819
## [5.4.1] - 2024-11-05
920

1021
### Added

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"description": "UI for consuming Joystream - a user governed video platform",
3-
"version": "5.4.1",
3+
"version": "5.5.0",
44
"license": "GPL-3.0",
55
"workspaces": [
66
"packages/*"

packages/atlas/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@joystream/atlas",
33
"description": "UI for consuming Joystream - a user governed video platform",
4-
"version": "5.4.1",
4+
"version": "5.5.0",
55
"license": "GPL-3.0",
66
"scripts": {
77
"start": "vite",

packages/atlas/src/api/queries/__generated__/baseTypes.generated.ts

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/atlas/src/api/queries/__generated__/creatorTokens.generated.tsx

Lines changed: 16 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/atlas/src/api/queries/__generated__/nfts.generated.tsx

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/atlas/src/api/queries/__generated__/videos.generated.tsx

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/atlas/src/api/queries/creatorTokens.graphql

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,8 +115,20 @@ query GetMarketplaceTokens($where: MarketplaceTokenWhereInput, $limit: Int, $off
115115
}
116116
}
117117

118-
query GetHotAndColdTokens($where: CreatorTokenWhereInput, $periodDays: Int!, $priceDesc: Boolean, $limit: Int) {
119-
tokensWithPriceChange(periodDays: $periodDays, orderByPriceDesc: $priceDesc, limit: $limit, where: $where) {
118+
query GetHotAndColdTokens(
119+
$where: CreatorTokenWhereInput
120+
$periodDays: Int!
121+
$priceDesc: Boolean
122+
$limit: Int
123+
$minVolume: BigInt
124+
) {
125+
tokensWithPriceChange(
126+
periodDays: $periodDays
127+
orderByPriceDesc: $priceDesc
128+
limit: $limit
129+
minVolume: $minVolume
130+
where: $where
131+
) {
120132
pricePercentageChange
121133
creatorToken {
122134
...BasicCreatorToken

packages/atlas/src/api/schemas/orion.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

packages/atlas/src/components/TopCrtMovers/TopCrtMovers.tsx

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,13 +52,22 @@ const tableEmptyState = {
5252
icon: <SvgEmptyStateIllustration />,
5353
}
5454

55-
export const TopMovingTokens = ({ interval, tableTitle }: { interval: number; tableTitle: string }) => {
55+
export const TopMovingTokens = ({
56+
interval,
57+
tableTitle,
58+
minVolumeJoy,
59+
}: {
60+
interval: number
61+
tableTitle: string
62+
minVolumeJoy: number
63+
}) => {
5664
const [orderDesc, setOrderDesc] = useState(true)
5765
const { data, loading } = useGetHotAndColdTokensQuery({
5866
variables: {
5967
periodDays: interval,
6068
priceDesc: orderDesc,
6169
limit: 10,
70+
minVolume: BigInt(minVolumeJoy * 10_000_000_000).toString(),
6271
},
6372
})
6473
const columns = getColumns(interval)

0 commit comments

Comments
 (0)