Merge pull request #3600 from RSSNext/sync/main-to-dev-20250427

Sync main branch to dev branch
This commit is contained in:
DIYgod
2025-04-27 11:51:29 +08:00
committed by GitHub
8 changed files with 56 additions and 23 deletions
+22
View File
@@ -0,0 +1,22 @@
# What's new in v0.4.4
## Shiny new things
- Added status action that allows you to send notifications or trigger webhooks for starred entries (9222553)
## Improvements
- Refreshed color palette and numerous style tweaks for a cleaner look
- Redesigned context and dropdown menus for faster, more intuitive navigation (c995da3)
- Balances now display a maximum of two decimal places (#3564)
## No longer broken
- Fixed an issue that stopped local settings from syncing with the cloud (7048aa9)
- Corrected mis-redirects caused by malformed site URLs (2bbb00c)
- Resolved tap-selection problems in entry lists on iPad Web (9da9dec)
- Eliminated a crash in the Settings menu (5120c2c)
## Thanks
Special thanks to external contributors @kovsu @Vixb1122 @johnsoncodehk for their valuable contributions
+2 -2
View File
@@ -1,7 +1,7 @@
# What's new in vNEXT_VERSION
## New Features
## Shiny new things
## Improvements
## Bug Fixes
## No longer broken
+2 -2
View File
@@ -1,7 +1,7 @@
# What's new in vNEXT_VERSION
## New Features
## Shiny new things
## Improvements
## Bug Fixes
## No longer broken
+2 -2
View File
@@ -1,7 +1,7 @@
{
"name": "Folo",
"type": "module",
"version": "0.4.3",
"version": "0.4.4",
"private": true,
"description": "Follow everything in one place",
"author": "Folo Team",
@@ -85,5 +85,5 @@
"utf-8-validate": "6.0.5"
},
"productName": "Folo",
"mainHash": "5b48aebee3da3b31d2dc4db3bd768987d2c84e1b0ddf977fe28b57e8a3bc9361"
"mainHash": "940434b28461617481f90649e06860933a1fbadcd739f08fbf84659701fd1bee"
}
+1
View File
@@ -6,6 +6,7 @@ export const channel: "development" | "beta" | "alpha" | "stable" = DEV ? "devel
const { platform } = process
export const isMacOS = platform === "darwin"
export const isMAS = process.mas
export const isWindows = platform === "win32"
+12 -8
View File
@@ -1,7 +1,7 @@
import { name } from "@pkg"
import { app, Menu, nativeImage, Tray } from "electron"
import { isMacOS, isWindows } from "~/env"
import { isMacOS, isMAS, isWindows } from "~/env"
import { getTrayIconPath } from "~/helper"
import { logger, revealLogFile } from "~/logger"
import { checkForAppUpdates } from "~/updater"
@@ -53,13 +53,17 @@ const getTrayContextMenu = () => {
await revealLogFile()
},
},
{
label: t("menu.checkForUpdates"),
click: async () => {
showWindow()
await checkForAppUpdates()
},
},
...(!isMAS
? [
{
label: t("menu.checkForUpdates"),
click: async () => {
showWindow()
await checkForAppUpdates()
},
},
]
: []),
],
},
{
+12 -8
View File
@@ -5,7 +5,7 @@ import { name } from "@pkg"
import type { BrowserWindow, MenuItem, MenuItemConstructorOptions } from "electron"
import { Menu } from "electron"
import { isMacOS } from "./env"
import { isMacOS, isMAS } from "./env"
import { clearAllDataAndConfirm } from "./lib/cleaner"
import { t } from "./lib/i18n"
import { revealLogFile } from "./logger"
@@ -192,13 +192,17 @@ export const registerAppMenu = () => {
await revealLogFile()
},
},
{
label: t("menu.checkForUpdates"),
click: async () => {
getMainWindow()?.show()
await checkForAppUpdates()
},
},
...(!isMAS
? [
{
label: t("menu.checkForUpdates"),
click: async () => {
getMainWindow()?.show()
await checkForAppUpdates()
},
},
]
: []),
],
},
]
@@ -1,3 +1,4 @@
import { useMobile } from "@follow/components/hooks/useMobile.js"
import type { FeedViewType } from "@follow/constants"
import { views } from "@follow/constants"
import { cn } from "@follow/utils/utils"
@@ -37,6 +38,7 @@ export const EntryItemWrapper: FC<
view,
type: "entryList",
})
const isMobile = useMobile()
const { t } = useTranslation("common")
@@ -159,7 +161,7 @@ export const EntryItemWrapper: FC<
onMouseLeave={handleMouseEnter.cancel}
onDoubleClick={handleDoubleClick}
{...contextMenuProps}
onTouchStart={handleClick}
{...(!isMobile ? { onTouchStart: handleClick } : {})}
>
{children}
</div>