Skip to content

Commit 26c0a8e

Browse files
committed
Dismiss success toasts after two seconds and release v0.1.5
1 parent 49b556a commit 26c0a8e

3 files changed

Lines changed: 4 additions & 3 deletions

File tree

‎CHANGELOG.md‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,11 @@
22

33
The section of each version is the release notes that the update window shows.
44

5-
## 0.1.4
5+
## 0.1.5
66

77
- Hide the default browser context menu outside text fields in production builds, while keeping native editing commands and message actions.
88
- Add Copy selected text to message menus without losing the selection when the menu opens.
9+
- Dismiss success toasts, such as Test notification sent, after two seconds.
910

1011
## 0.1.2
1112

‎frontend/src/App.tsx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ export function App() {
4545
const [prefs, setPrefs] = useState<{ serverId: number; appId: number } | null>(null);
4646

4747
const onError = useCallback((body: string) => void toast({ body, type: "error" }), [toast]);
48-
const onInfo = useCallback((body: string) => void toast({ body }), [toast]);
48+
const onInfo = useCallback((body: string) => void toast({ body, autoHideDuration: 2000 }), [toast]);
4949

5050
// A server or app that went away leaves its page for all messages.
5151
useEffect(() => {

‎mygo.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "Gotify Desktop",
33
"identifier": "com.austin.gotifydesktop",
4-
"version": "0.1.4",
4+
"version": "0.1.5",
55
"copyright": "Copyright © 2026 RedwindA",
66
"devUrl": "http://localhost:5173",
77
"devCommand": "bun run --cwd frontend dev",

0 commit comments

Comments
 (0)