chore: bump 1.3.4-1 + sidebar 底部行折成单行 (#462)

* feat(shell): sidebar 底部行折成单行(设置 + 版本)

把 sidebar 底部「⚙ 设置」和「版本 v1.3.x」从上下两行折成一行:
- 设置按钮 display 由 flex 改成 inline-flex,去掉 label 的 flex:1
  (不再撑满 sidebar 宽度)
- 版本 chip(含 BETA 标)用 marginLeft: auto 推到行尾

外观更紧凑、纵向更省、视觉重心从两行散开收到一行。

* chore(release): bump version 1.3.3 → 1.3.4-1 for Beta channel

`-1` 后缀让 appVersion.ts 的 IS_BETA_BUILD 自动判为 Beta,UI 上的
BETA 标签会自动恢复显示。bump-version.sh 不收带 dash 的 prerelease
格式,所以这次手动同步 5 个文件(package.json / package-lock.json
root + nested / tauri.conf.json / Cargo.toml / Cargo.lock)。

发布 tag 仍走 v<v>-beta-tauri:v1.3.4-1-beta-tauri。

---------

Co-authored-by: baiqing <lbx12309@icloud.com>
This commit is contained in:
TRIPandbaiqing authored and GitHub committed 2026-05-17 10:18:21 +08:00
1 parent f47c2e4a29
commit 0ecb3bd5a4
6 files changed
+15 -12

No files matched your search

+2 -2
View File
@@ -1,12 +1,12 @@
{
"name": "openless-app",
"version": "1.3.3",
"version": "1.3.4-1",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "openless-app",
"version": "1.3.3",
"version": "1.3.4-1",
"dependencies": {
"@tauri-apps/api": "^2.1.1",
"@tauri-apps/plugin-autostart": "^2.5.1",
+1 -1
View File
@@ -1,7 +1,7 @@
{
"name": "openless-app",
"private": true,
"version": "1.3.3",
"version": "1.3.4-1",
"type": "module",
"scripts": {
"dev": "vite",
+1 -1
View File
@@ -3751,7 +3751,7 @@ dependencies = [
[[package]]
name = "openless"
version = "1.3.3"
version = "1.3.4-1"
dependencies = [
"anyhow",
"arboard",
+1 -1
View File
@@ -1,6 +1,6 @@
[package]
name = "openless"
version = "1.3.3"
version = "1.3.4-1"
description = "OpenLess — local voice input that types where your cursor is"
authors = ["OpenLess"]
edition = "2021"
+1 -1
View File
@@ -1,7 +1,7 @@
{
"$schema": "https://schema.tauri.app/config/2",
"productName": "OpenLess",
"version": "1.3.3",
"version": "1.3.4-1",
"identifier": "com.openless.app",
"build": {
"beforeDevCommand": "npm run dev",
@@ -265,12 +265,14 @@ function FloatingShellBody({ os, initialTab, initialSettings }: { os: OS; initia
<div style={{ flex: 1 }} />
<div style={{ display: 'flex', flexDirection: 'column', gap: 8, paddingTop: 10 }}>
{/* 底部一行:设置按钮(左)+ 版本 chip(右,marginLeft: auto 推到行尾)。
之前是两行:设置一行、版本另一行;浪费纵向空间,且把版本顶得太靠下。 */}
<div style={{ display: 'flex', alignItems: 'center', gap: 8, paddingTop: 10 }}>
<button
onClick={() => openSettings()}
className={settingsOpen ? 'ol-nav-btn ol-nav-btn-active' : 'ol-nav-btn'}
style={{
display: 'flex', alignItems: 'center', gap: 10,
display: 'inline-flex', alignItems: 'center', gap: 10,
padding: '7px 10px',
borderRadius: 8, border: 0,
background: settingsOpen ? 'var(--ol-surface)' : 'transparent',
@@ -282,19 +284,20 @@ function FloatingShellBody({ os, initialTab, initialSettings }: { os: OS; initia
}}
>
<Icon name="settings" size={14} />
<span style={{ flex: 1 }}>{t('shell.footer.settings')}</span>
<span>{t('shell.footer.settings')}</span>
</button>
<div
style={{
marginLeft: 'auto',
display: 'flex',
alignItems: 'center',
gap: 8,
flexWrap: 'wrap',
padding: '0 10px',
gap: 6,
paddingRight: 10,
fontFamily: 'var(--ol-font-sans)',
fontSize: 11,
color: 'var(--ol-ink-4)',
whiteSpace: 'nowrap',
}}
>
{IS_BETA_BUILD && (