Skip to content

Commit 881d69a

Browse files
committed
fix: restore status bar word count and remove note ID display
- Fix syntax error in NotesPanel that was preventing app from loading - Hide note ID from status bar to reduce clutter - Restore proper conditional rendering for word/character counts
1 parent c7dafe2 commit 881d69a

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,8 @@
2727

2828
## 📥 Download Desktop App
2929

30-
[![Windows](https://img.shields.io/badge/Windows-Download-0078d4?style=for-the-badge&logo=windows)](https://github.com/typelets/typelets-app/releases/latest/download/Typelets-Setup.exe)
30+
[![Windows](https://img.shields.io/badge/Windows-Download-0078d4?style=for-the-badge&logo=windows)](
31+
https://github.com/typelets/typelets-app/releases/latest)
3132
[![Mac](https://img.shields.io/badge/Mac-Coming%20Soon-lightgrey?style=for-the-badge&logo=apple)](https://github.com/typelets/typelets-app/releases)
3233
[![Linux](https://img.shields.io/badge/Linux-Coming%20Soon-lightgrey?style=for-the-badge&logo=linux)](https://github.com/typelets/typelets-app/releases)
3334

src/components/editor/Editor/StatusBar.tsx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ export function StatusBar({
3838
wsLastSync,
3939
onWsReconnect,
4040
}: StatusBarProps) {
41+
4142
return (
4243
<div className="bg-primary/5 dark:bg-primary/10 flex items-center justify-between border-t px-3 py-0.5 font-sans text-[11px]">
4344
{/* Left side - Word, character count, and reading time */}
@@ -74,14 +75,14 @@ export function StatusBar({
7475
)}
7576

7677
{/* Note ID */}
77-
{noteId && (
78+
{/* {noteId && (
7879
<span
7980
className="hover:bg-muted cursor-default rounded px-1.5 py-0.5"
8081
title="Note ID"
8182
>
8283
{noteId}
8384
</span>
84-
)}
85+
)} */}
8586

8687
{/* Zoom controls */}
8788
<div className="flex items-center gap-1">

src/components/notes/NotesPanel/index.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -209,8 +209,7 @@ export default function FilesPanel({
209209
}
210210

211211
return (
212-
<div className="border-border bg-background flex h-full w-full flex-col overflow-hidden border-r transition-all duration-300 md:w-80"
213-
>
212+
<div className="border-border bg-background flex h-full w-full flex-col overflow-hidden border-r transition-all duration-300 md:w-80">
214213
<div className="border-border flex h-17 shrink-0 items-center justify-between border-b p-3">
215214
<div className="flex min-w-0 flex-1 items-center gap-4">
216215
{!isMobile && (

0 commit comments

Comments
 (0)