Skip to content

Commit 5ebfc3d

Browse files
committed
refactor: Remove GEMINI.md and update README with project structure and UI enhancements; improve left and right panel responsiveness
1 parent c2d832e commit 5ebfc3d

5 files changed

Lines changed: 190 additions & 120 deletions

File tree

GEMINI.md

Lines changed: 0 additions & 89 deletions
This file was deleted.

README.md

Lines changed: 36 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,10 @@
2020
- **Dark Theme**: Professional dark mode with vibrant accents
2121
- **Custom Window**: Frameless design with custom title bar
2222

23+
### 💎 **Modern and Intuitive UI**
24+
- **Updated Toolbar Icons**: Clear and modern icons for improved usability.
25+
- **Improved Styling**: Enhanced styling for better clarity and a more polished look.
26+
2327
### ⌨️ **Windows-Style Keyboard Shortcuts**
2428
- `Ctrl+N` - New Note
2529
- `Ctrl+S` - Save Note
@@ -127,7 +131,7 @@ python Alem.py
127131
- **Format Switching**: Toggle between HTML and Markdown modes
128132
- **Code Blocks**: Syntax highlighting for 100+ languages
129133

130-
### **Advanced Search**
134+
### 🔍 **Advanced Search**
131135
- **Real-time Search**: Instant results as you type (300ms debounce)
132136
- **Multiple Modes**: Text search and AI semantic search
133137
- **Performance Metrics**: Search time tracking and optimization
@@ -212,13 +216,34 @@ redis-server
212216
### Project Structure
213217
```
214218
aAlem/
215-
├── Alem.py # Main application
216-
├── config.py # Configuration management
217-
├── install_enhanced.py # Enhanced installer
218-
├── launch_enhanced.py # Advanced launcher
219-
├── requirements.txt # Dependencies
220-
├── alem.png # Application icon
221-
└── README.md # Documentation
219+
├── alem_app/
220+
│ ├── __init__.py
221+
│ ├── core/
222+
│ │ ├── __init__.py
223+
│ │ ├── cache.py
224+
│ │ └── discord_rpc.py
225+
│ ├── database/
226+
│ │ ├── __init__.py
227+
│ │ └── database.py
228+
│ ├── ui/
229+
│ │ ├── __init__.py
230+
│ │ ├── actions.py
231+
│ │ ├── left_panel.py
232+
│ │ ├── main_window.py
233+
│ │ ├── right_panel.py
234+
│ │ └── settings_dialog.py
235+
│ ├── utils/
236+
│ │ ├── __init__.py
237+
│ │ ├── encryption.py
238+
│ │ └── logging.py
239+
│ └── main.py
240+
├── Alem.py
241+
├── config.py
242+
├── install_enhanced.py
243+
├── launch_enhanced.py
244+
├── requirements.txt
245+
├── alem.png
246+
└── README.md
222247
```
223248

224249
### Contributing
@@ -246,8 +271,8 @@ pip install pytest black flake8
246271
pytest
247272

248273
# Code formatting
249-
black Alem.py
250-
flake8 Alem.py
274+
black .
275+
flake8 .
251276
```
252277

253278
## 🔧 Troubleshooting
@@ -305,4 +330,4 @@ This project is licensed under the MIT License - see the [LICENSE](LICENSE) file
305330

306331
*Experience the future of note-taking with Alem 2.0*
307332

308-
</div>
333+
</div>

alem_app/ui/left_panel.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -373,6 +373,7 @@ def create_left_panel(main_window):
373373

374374
# Enhanced stats panel with real-time metrics
375375
stats_frame = QFrame()
376+
stats_frame.setObjectName("stats_frame") # Add object name for responsive control
376377
stats_frame.setStyleSheet("""
377378
QFrame {
378379
background: qlineargradient(x1:0, y1:0, x2:1, y2:1,
@@ -420,6 +421,7 @@ def create_left_panel(main_window):
420421

421422
layout.addWidget(stats_frame)
422423

423-
panel.setMinimumWidth(280)
424-
panel.setMaximumWidth(400)
424+
# Responsive size constraints
425+
panel.setMinimumWidth(180) # Reduced minimum for very small screens
426+
panel.setMaximumWidth(350) # Reduced maximum to leave more space for content
425427
return panel

0 commit comments

Comments
 (0)