-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: applaunchpad log previous (#5047)
* feat: applaunchpad support previous and sincetime * feat: since i18n * fix: stream prefer flush header * fix: previous cannot prefer flush header * feat: no_logs_for_now
- Loading branch information
1 parent
60c4065
commit bab49b7
Showing
8 changed files
with
191 additions
and
31 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
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
6 changes: 6 additions & 0 deletions
6
frontend/providers/applaunchpad/src/pages/app/detail/components/empty.module.scss
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,6 @@ | ||
.empty { | ||
width: 100%; | ||
height: 100%; | ||
background-color: #fff; | ||
user-select: none; | ||
} |
23 changes: 23 additions & 0 deletions
23
frontend/providers/applaunchpad/src/pages/app/detail/components/empty.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,23 @@ | ||
import React from 'react'; | ||
import { Box } from '@chakra-ui/react'; | ||
import styles from './empty.module.scss'; | ||
import MyIcon from '@/components/Icon'; | ||
import { useTranslation } from 'next-i18next'; | ||
|
||
const Empty = () => { | ||
const { t } = useTranslation(); | ||
return ( | ||
<Box | ||
className={styles.empty} | ||
display="flex" | ||
flexDirection="column" | ||
alignItems="center" | ||
justifyContent="center" | ||
> | ||
<MyIcon name={'noEvents'} color={'transparent'} width={'80px'} height={'80px'} /> | ||
<Box py={8}>{t('no_logs_for_now')}</Box> | ||
</Box> | ||
); | ||
}; | ||
|
||
export default Empty; |
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