-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(dcellar-web-ui): introduce retry upload functionality (#377)
* feat(dcellar-web-ui): introduce retry upload functionality * feat(dcellar-web-ui): add caching for billing_monthly & billing total_cost API * feat(dcellar-web-ui): incorporate greenfield ecosystem tools into toolbox page * fix(dcellar-web-ui): introduce retry check step to handle error * feat(dcellar-web-ui): fix spselector styles * feat(dcellar-web-ui): add object version history * feat(dcellar-web-ui): only sealed object can be updated * feat(dcellar-web-ui): fix empty path segment * feat(dcellar-web-ui): replace object update object meta * feat(dcellar-web-ui): create on chain object can only be replace original object * chore(dcellar-web-ui): add change log * fix(dcellar-web-ui): remove duplicate codes * docs(dcellar-web-ui): update changelog --------- Co-authored-by: aidencao <aiden.c@nodereal.io>
- Loading branch information
Showing
36 changed files
with
768 additions
and
239 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
29 changes: 0 additions & 29 deletions
29
apps/dcellar-web-ui/src/modules/toolbox/components/OpenSourceCard.tsx
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
34 changes: 34 additions & 0 deletions
34
apps/dcellar-web-ui/src/modules/toolbox/components/ToolCards.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
import { Badge, Flex, Text } from '@node-real/uikit'; | ||
|
||
import { Card, CircleLink } from './Common'; | ||
|
||
import { IconFont } from '@/components/IconFont'; | ||
import { ToolItem } from '../config'; | ||
|
||
export const ToolCards = ({ data }: { data: ToolItem[] }) => { | ||
return ( | ||
<> | ||
{data.map((item, index) => ( | ||
<Card key={index} w={'100%'}> | ||
<IconFont type={item.icon || 'link'} w={48} /> | ||
<Flex justifyContent={'space-between'} gap={8}> | ||
<Text fontSize={16} fontWeight={600} flex={1}> | ||
{item.title} | ||
</Text> | ||
{item.links && | ||
item.links.map((link, i) => ( | ||
<CircleLink key={i} title={link.name} href={link.url}> | ||
<IconFont type={link.icon} w={16} /> | ||
</CircleLink> | ||
))} | ||
</Flex> | ||
|
||
<Badge colorScheme="primary" width={'fit-content'} borderRadius={4}> | ||
{item.badge} | ||
</Badge> | ||
<Text color={'readable.secondary'}>{item.desc}</Text> | ||
</Card> | ||
))} | ||
</> | ||
); | ||
}; |
Oops, something went wrong.