Commit Graph
18 Commits
Author SHA1 Message Date
Michal Vrba 7315997ee2 Prepare Coolify deployment 2026-10-19 16:30:51 +02:00
Michal Vrba 18ffaebb3c styling 2026-09-29 13:10:20 +02:00
Michal Vrba b0f044446d fix 2026-09-22 13:03:08 +02:00
Michal Vrba 471c823bf7 vault mode 2026-09-22 12:53:08 +02:00
Michal Vrba 29696cea9f fixes and improvements 2026-09-22 12:07:05 +02:00
Michal Vrba efc31f643d Improve splitter UX: visual feedback & smoother resizing
Enhanced the editor's vertical splitter with immediate visual feedback during dragging, including dynamic width, shadow, and handle size. Updated logic to re-render UI and save split ratio in real time. Refined save status updates to reduce unnecessary renders. Improved mobile responsiveness and overall user experience.
2026-01-31 13:23:29 +01:00
Michal Vrba 5a06a307fb Improve mobile/iOS support and simplify theme handling
- Add iOS/mobile meta tags for better web app experience
- Enhance Editor.razor.css for mobile responsiveness and touch
- Simplify theme logic: only light/dark, no "auto" mode
- Remove localStorage and system theme detection from theme.js
- Apply themes via CSS variables for better compatibility
- Update ThemeToggle to match new theme logic and improve UX
2026-01-31 12:58:15 +01:00
Michal Vrba e5edc372fe Add "New Document" button and Ctrl+N shortcut
Added a "New Document" button to the editor's top bar with distinct styling. Implemented Ctrl+N/Cmd+N keyboard shortcut to create a new document. Prompt user for confirmation if there are unsaved changes. Updated CSS to style the new button and integrated it into button style rules.
2026-01-30 18:38:21 +01:00
Michal Vrba e21189e2a9 added logo 2026-01-30 18:24:54 +01:00
Michal Vrba 2ce5cf359d Add draggable splitter for resizable editor/preview panes
Implemented a vertical splitter between the editor and preview panes, allowing users to resize them interactively. The split ratio is persisted in localStorage and clamped for usability. Added JavaScript interop for drag handling, updated styles for the splitter, and improved the preview toggle button with an eye icon. Layout remains responsive for mobile devices.
2026-01-30 17:58:06 +01:00
Michal Vrba fe8fa73692 Add SignalR/WebSocket config and large upload support
Configured SignalR and WebSockets for improved reliability and large content handling. Added appsettings and web.config for production/IIS, including increased timeouts, message size limits, and security/compression settings. Added fallback to Long Polling if WebSockets fail.
2026-01-30 17:26:01 +01:00
Michal Vrba 71edc08d5e Add manual save button, improve save logic and feedback
- Added a manual "Save" button to the editor, enabled only when there are unsaved changes.
- Enhanced save status feedback with new states ("Modified", "Saving...", "Saved", "Error", "Timeout") and distinct styling.
- Improved auto-save: increased debounce to 2s, only show "Saving..." when actually saving, and unified manual/auto save logic.
- SaveContent now uses a 30s timeout and retries on error/timeout.
- SessionService now streams large content to disk in chunks and ensures the save directory exists.
- Updated CSS for save button and status indicators, including mobile tweaks.
- Removed unused exception variables in SharedEditor.razor and SharedPreview.razor.
- Updated markdown spec file to reflect new methods and build errors.
2026-01-30 17:17:45 +01:00
Michal Vrba 33b70585c1 Add theme toggle with light/dark/auto support
Implement a new theme system with a ThemeToggle component, allowing users to switch between light, dark, and auto (system) modes. Move theme CSS variables to app.css and manage theme state via theme.js with localStorage persistence. Integrate ThemeToggle into editor and preview top bars. Clean up old theme logic from MainLayout.razor.css for better separation and maintainability.
2026-01-30 16:57:31 +01:00
Michal Vrba 9dcf25f6b8 Add shared document editor and preview components
Introduced SharedEditor.razor and SharedPreview.razor for editing and viewing shared documents via tokenized links. Includes auto-save, markdown preview, permission checks, and dedicated responsive styles for both editable and view-only modes. Enables secure sharing of documents with user-friendly interfaces.
2026-01-30 16:42:26 +01:00
Michal Vrba 07d7eb7647 Ignore MigrationBackup/ directory in .gitignore
Added MigrationBackup/ to .gitignore to prevent tracking of backup files and subdirectories within this folder. This helps keep the repository clean from backup-related artifacts.
2026-01-30 16:37:30 +01:00
Michal Vrba 40df2aafd6 Refactor to Notemark: minimalist markdown editor app
- Remove Blazor template pages and navigation; redesign layout for fullscreen editor with light/dark theme support
- Add Editor.razor: markdown editor with live preview, auto-save, and share modal for readonly/editable links
- Implement MarkdownService (Markdig + HtmlSanitizer), SessionService (cookie-based, file persistence), and ShareService (token-based sharing)
- Configure DI and cookie policy in Program.cs; add Markdig and HtmlSanitizer NuGet packages
- Include example session and share token data files
- App is now a single-page markdown editor with file-based storage and sharing, no database
2026-01-30 16:20:42 +01:00
Michal Vrba f85e7a89b4 added specs 2026-01-30 15:30:31 +01:00
Michal Vrba 22520a4869 initial commit 2026-01-30 15:07:28 +01:00