-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
bugSomething isn't workingSomething isn't workingenhancementNew feature or requestNew feature or request
Description
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
- Status: Broken (Regression)
- Description: / commands should work reliably without errors or bugs
- Details:
- Commands should trigger on typing / in the editor
- Should display command palette with available options
- Currently broken due to recent regression (see Editor regression: cursor jumps to start, @mentions broken, slash commands stopped working #1)
- Fix without breaking other editor features
- Ensure commands work across all editor states
- Acceptance Criteria:
- / command palette displays correctly
- All slash commands function as expected
- No console errors
- Works in all edge cases
- Priority: High
- Related Issue: Editor regression: cursor jumps to start, @mentions broken, slash commands stopped working #1 (Editor regression)
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
- Editor regression: cursor jumps to start, @mentions broken, slash commands stopped working #1: Editor regression: cursor jumps to start, @mentions broken, slash commands stopped working
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)
- Editor UI is aesthetic and modern
- @ mention system works for notes only
- / command palette functions reliably
- Media insertion works (voice, image, video)
- Backlinks are enhanced and more usable
- Special characters render correctly
- No breaking changes introduced
- All tests pass
- No regressions introduced
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingenhancementNew feature or requestNew feature or request