Mejorar la interfaz de usuario del NavBar y actualizar la estructura de ReleaseNoteItem para manejar descripciones de arreglos como cadenas o objetos. Añadir nueva entrada de notas de lanzamiento para la versión 1.0.2-b.3.

This commit is contained in:
mr. m 🤙 2024-12-19 23:35:19 +00:00
parent a2b06cc0f1
commit 1284aef891
3 changed files with 65 additions and 14 deletions

View file

@ -103,7 +103,7 @@ import { ThemeSwitch } from 'free-astro-components'
<span>Mods</span> <span>Mods</span>
</a> </a>
</div> </div>
<div class="flex gap-2"> <div class="flex gap-2 ml-auto">
<div id="theme-switcher" class="block ml-auto xl:hidden"> <div id="theme-switcher" class="block ml-auto xl:hidden">
<ThemeSwitch label="" class="py-2 px-1" /> <ThemeSwitch label="" class="py-2 px-1" />
</div> </div>

View file

@ -39,18 +39,22 @@ const date = new Date(Date.parse(`${year}-${month}-${day}`));
<ul class="list-disc list-inside"> <ul class="list-disc list-inside">
{props.fixes.map((fix: any) => ( {props.fixes.map((fix: any) => (
<li class="text-md text-muted-foreground"> <li class="text-md text-muted-foreground">
{fix.description} {typeof fix === 'string' ? fix : (
{fix.issue ? ( <>
<a {fix.description}
class="text-blue-500" {fix.issue ? (
href={`https://github.com/zen-browser/desktop/issues/${fix.issue}`} <a
rel="noopener noreferrer" class="text-blue-500"
target="_blank" href={`https://github.com/zen-browser/desktop/issues/${fix.issue}`}
aria-label={`View issue number ${fix.issue} on GitHub`} rel="noopener noreferrer"
> target="_blank"
#{fix.issue} aria-label={`View issue number ${fix.issue} on GitHub`}
</a> >
) : null} #{fix.issue}
</a>
) : null}
</>
)}
</li> </li>
))} ))}
</ul> </ul>

View file

@ -1,8 +1,10 @@
interface Fix { interface FixWithIssue {
description: string; description: string;
issue?: number; issue?: number;
} }
type Fix = string | FixWithIssue;
export interface ReleaseNote { export interface ReleaseNote {
version: string; version: string;
date: string; date: string;
@ -1866,4 +1868,49 @@ export const releaseNotes: ReleaseNote[] = [
"Added new URL bar suggestions UI" "Added new URL bar suggestions UI"
] ]
}, },
{
version: "1.0.2-b.3",
date: "19/12/2024",
image: true,
workflowId: 12419745635,
extra:
"This release brings more bug fixing and ovcerall stability while also including some small polishing features/details. Our goal during the beta phase is to get everything as stable and ready for our stable release!\n\nNote: We will be hosting a hall-of-fame event, where top 20 zen rices will be featured in the website!\n\nMerry Christmas everyone!",
fixes: [
"Fixed workspaces not being initialized correctly when creating a fresh profile",
"Fixed gradient generator not being correctly initialized on startup",
"Fixed moving around/reordering pinned and essential tabs not saving",
"Fixed pinned tabs and essential tabs not being saved correctly on the first run of a fresh profile",
{
description: "Fixed compact mode preferences page having wrong labels",
issue: 3885,
},
"Fixed scroll direction when swiping workspaces with mousepads",
"Fixed weird margins in compact mode in certain conditions",
{
description: "Fixed trying to unload multiple tabs at once",
issue: 3831
},
"Fixed surrounding spaces for certain layouts while using the web panels sidebar",
"Fixed workspace indicator showing if workspaces are disabled",
"Fixed URL bar not showing while in compact mode + right sidebar",
"Fixed clicking on the URLbar not doing anything on some conditions",
"Fixed accessibility issues with system links",
"Fixed bookmarks toolbar being reset when changing toolbar layouts",
"Fixed having right side floating URL bar opening in single toolbar",
"Fixed not being able to click on window buttons when having collapsed sidebar on the right",
"Fixed opening unfloatable URL bar when having compact mode having a weird behavior",
"Fixed not saving essential tabs correctly, leading to data loss",
],
features: [
"Added a 'Copy current URL' keyboard shortcut",
"Enhanced URL bar layout when it's not floating",
"Improved and polished compact mode switching animation (Can be disabled in about:config or when having performance issues)",
"Added delays when hovering on the window buttons, making it a bit less error-prone",
"Added experimental rounded corners for website (Disabled by default on macos)",
"Added fallback cache-based website favicon in case we fail to fetch the website's favicon for essentials/pinned tabs",
"Added a more optimized version of zen hardening, there should be less performance issues now and less font-rendering issues",
"Added a smoother scrolling experience by using msd physics and changing scroll values/offests (Disabled in macos)",
"Optimized workspace switching animations",
]
},
].reverse(); ].reverse();