Overview
This issue encompasses critical enhancements and bug fixes for the PulmNotes editor to improve user experience, functionality, and stability. Some features are partially implemented but have issues that need to be resolved without breaking existing code.
Requirements & Tasks
1. UI/UX Enhancement: Aesthetic & Sleek Editor Design
Status : In Progress
Description : Refactor the editor UI to be more modern, clean, and visually appealing
Details :
Implement a polished design language consistent across the application
Improve spacing, typography, and color scheme
Add smooth transitions and animations where appropriate
Ensure dark mode compatibility
Make the editor feel responsive and fluid
Priority : High
2. @ Mention System for Note Tagging
Status : Partially Implemented (Issues Present)
Description : @ command should tag only notes (similar to Instagram's mention system)
Details :
When user types @, display a dropdown with available notes
Selected note should be highlighted in blue (entire @ mention)
Example: @test_note_name should appear in blue like @test_note_name
Should not tag users, only note references
Implement proper escaping to avoid conflicts
Must work seamlessly with editor state
Acceptance Criteria :
@ followed by note name displays autocomplete
Selected mention appears in blue
Clicking/selecting integrates mention into note content
No breaking changes to existing mention functionality
Priority : High
Related Issue : Editor regression: cursor jumps to start, @mentions broken, slash commands stopped working #1 (Editor regression)
3. / Command Compatibility
4. Media Support in Editor
Status : Not Implemented
Description : Add support for embedding media directly in the editor
Details :
Support audio/voice uploads and playback
Support image uploads and insertion
Support video uploads and playback
Display thumbnails in editor
Proper file size validation
Fallback for unsupported formats
Consider using HTML5 Media APIs
Acceptance Criteria :
Users can insert voice/audio files
Users can insert images with preview
Users can insert videos with preview
Media persists when saving notes
Performance is not impacted
Priority : Medium
5. Backlinks Enhancement
Status : Partially Implemented (Needs Improvement)
Description : Improve the existing backlinks feature for better usability
Details :
Current implementation works but UX needs refinement
Better visual representation of backlink references
Improved linking UI similar to Google Docs links
Suggest backlinks while typing
Show backlink count/preview
Make backlinks more discoverable
Add option to see all notes linking to current note
Acceptance Criteria :
Backlinks are more intuitive to create
Visual indication of backlinks in editor
Performance not impacted
Integrates well with @ mention system
Priority : Medium
6. Special Character Support
Status : Partially Implemented (Issues Present)
Description : Editor should support all character types including mathematical and physics symbols
Details :
Support Unicode mathematical operators (∑, ∫, √, ∞, etc.)
Support physics symbols (Ω, μ, σ, Δ, etc.)
Support mathematical Greek letters (α, β, γ, δ, etc.)
Support chemistry symbols
Support all Unicode characters
Ensure proper text rendering
Test with screen readers and accessibility tools
No rendering issues with special characters
Acceptance Criteria :
All Unicode characters render correctly
Math symbols display properly
Physics symbols display properly
No encoding issues
Copy-paste preserves special characters
Print export preserves formatting
Priority : Medium
Technical Constraints
No Breaking Changes : All fixes must maintain backward compatibility
No Code Breaking : Existing functionality must not be disrupted
Testing Required : All changes should be thoroughly tested
Edge Cases : Handle edge cases properly
Related Issues
Notes
This is a comprehensive enhancement issue that consolidates multiple features
Some features are already partially implemented but have bugs
Priority should be fixing regressions first, then adding new features
Consider breaking this into smaller PRs for easier review
Acceptance Criteria (Overall)
Overview
This issue encompasses critical enhancements and bug fixes for the PulmNotes editor to improve user experience, functionality, and stability. Some features are partially implemented but have issues that need to be resolved without breaking existing code.
Requirements & Tasks
1. UI/UX Enhancement: Aesthetic & Sleek Editor Design
2. @ Mention System for Note Tagging
@test_note_name3. / Command Compatibility
4. Media Support in Editor
5. Backlinks Enhancement
6. Special Character Support
Technical Constraints
Related Issues
Notes
Acceptance Criteria (Overall)