-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2157 from umami-software/dev
v2.4.0
- Loading branch information
Showing
233 changed files
with
17,441 additions
and
2,003 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
name: Close stale issues | ||
on: | ||
schedule: | ||
- cron: '30 1 * * *' | ||
|
||
jobs: | ||
stale: | ||
runs-on: ubuntu-latest | ||
permissions: | ||
issues: write | ||
pull-requests: write | ||
steps: | ||
- uses: actions/stale@v8 | ||
with: | ||
days-before-issue-stale: 60 | ||
days-before-issue-close: 7 | ||
stale-issue-label: 'stale' | ||
stale-issue-message: 'This issue is stale because it has been open for 60 days with no activity.' | ||
close-issue-message: 'This issue was closed because it has been inactive for 7 days since being marked as stale.' | ||
days-before-pr-stale: -1 | ||
days-before-pr-close: -1 | ||
repo-token: ${{ secrets.GITHUB_TOKEN }} |
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 |
---|---|---|
|
@@ -25,6 +25,7 @@ node_modules | |
*.iml | ||
*.log | ||
.vscode | ||
.tool-versions | ||
|
||
# debug | ||
npm-debug.log* | ||
|
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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,29 @@ | ||
import { useState } from 'react'; | ||
import { Button, LoadingButton, Form, FormButtons } from 'react-basics'; | ||
import useMessages from 'hooks/useMessages'; | ||
|
||
export function ConfirmDeleteForm({ name, onConfirm, onClose }) { | ||
const [loading, setLoading] = useState(false); | ||
const { formatMessage, labels, messages, FormattedMessage } = useMessages(); | ||
|
||
const handleConfirm = () => { | ||
setLoading(true); | ||
onConfirm(); | ||
}; | ||
|
||
return ( | ||
<Form> | ||
<p> | ||
<FormattedMessage {...messages.confirmDelete} values={{ target: <b>{name}</b> }} /> | ||
</p> | ||
<FormButtons flex> | ||
<LoadingButton loading={loading} onClick={handleConfirm} variant="danger"> | ||
{formatMessage(labels.delete)} | ||
</LoadingButton> | ||
<Button onClick={onClose}>{formatMessage(labels.cancel)}</Button> | ||
</FormButtons> | ||
</Form> | ||
); | ||
} | ||
|
||
export default ConfirmDeleteForm; |
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,12 @@ | ||
import Link from 'next/link'; | ||
import { Icon, Icons, Text } from 'react-basics'; | ||
import styles from './LinkButton.module.css'; | ||
|
||
export default function LinkButton({ href, icon, children }) { | ||
return ( | ||
<Link className={styles.button} href={href}> | ||
<Icon>{icon || <Icons.ArrowRight />}</Icon> | ||
<Text>{children}</Text> | ||
</Link> | ||
); | ||
} |
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,28 @@ | ||
.button { | ||
display: flex; | ||
align-items: center; | ||
align-self: flex-start; | ||
white-space: nowrap; | ||
gap: var(--size200); | ||
font-family: inherit; | ||
color: var(--base900); | ||
background: var(--base100); | ||
border: 1px solid transparent; | ||
border-radius: var(--border-radius); | ||
min-height: var(--base-height); | ||
padding: 0 var(--size600); | ||
position: relative; | ||
cursor: pointer; | ||
} | ||
|
||
.button:hover { | ||
background: var(--base200); | ||
} | ||
|
||
.button:active { | ||
background: var(--base300); | ||
} | ||
|
||
.button:visited { | ||
color: var(--base900); | ||
} |
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
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
Oops, something went wrong.
2d3560f
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
umami – ./
umami-umami-software.vercel.app
umami-app.vercel.app
umami-git-master-umami-software.vercel.app