Commit Graph

47 Commits

Author SHA1 Message Date
aewing 04ae0c0c82 UI improvements: filter buttons, note detail styling
- Color-code filter buttons to match note types: grey (all), green (my shared), blue (shared with me), pink (job), orange (manager), amber (personal)
- Decrease note detail container width: max-w-4xl → max-w-2xl
- Increase body text area height to 224px with min-height on display
- Hide Audio/Attachments labels when no content present
- Remove placeholder text for empty audio/attachments sections
2026-01-16 12:06:06 +00:00
aewing 4c6058c656 Extract auth module: standalone PocketBase OAuth2 + Graph token management
- Create reusable auth-module/ with frontend and backend components
- Frontend: PocketBaseAuth class for OAuth2 login and token management
- Backend: GraphTokenManager and PocketBaseValidator for token operations
- Includes TypeScript types and comprehensive README
- No project-specific dependencies - ready to use in other projects
2026-01-16 03:49:52 +00:00
aewing 864fcab1ce Fix voice search for notes list
- Fix 'already started' error in speech recognition
- Add toggle behavior for voice button (start/stop)
- Improve transcript handling for single words
- Show interim results in real-time as user speaks
- Add detailed console logging for debugging
- Ensure search triggers on final results
- Search already covers both title and body fields
2026-01-16 02:42:04 +00:00
aewing 1b751742dc Add hidden notes feature, note filters, detail view edit/delete, and dynamic styling
- Hidden notes feature: hide/unhide notes with dedicated view, matching main list styling
- Filter buttons: All Notes, My Shared, Shared With Me, Job Notes, Manager Notes, Personal Notes
- Note detail view: dynamic background colors matching note card styling
- Edit functionality: double-click title/body to edit, inline save/cancel
- Soft delete: delete button with confirmation, sets delete=true in database
- Icon updates: magnifying glass for hide/unhide actions (14px)
- Session log: documented all feature changes
2026-01-16 02:28:48 +00:00
aewing 95888562a0 Add alert sound on note share - plays for recipients only, fix favicon 404 2026-01-16 01:44:57 +00:00
aewing 7c4459fd47 Add alert creation on note sharing - triggers alerts for shared_with users 2026-01-16 01:29:48 +00:00
aewing 9ced9fd4ed User email lookup component + architecture decision: Vite frontend + Bun backend 2026-01-14 13:25:47 +00:00
aewing efbe5d6573 Add user email lookup component for sharing UI tooltips 2026-01-14 12:59:28 +00:00
aewing 534016e9d5 Standards alignment: Document .js tools deviation, fix port 3030, enhance tool documentation 2026-01-14 12:47:22 +00:00
aewing 2c384eb734 Standards audit: Remove npm lock file, establish audit process & deviations tracking 2026-01-14 12:38:03 +00:00
aewing acf188b708 Fix alert system initialization - clean up testAlertSound function scope 2026-01-12 13:24:28 +00:00
aewing 8d99d77e7a Redesign note card layout for shared notes
- Type bubble (colored dot) appears inline with body text, far right, only on shared notes
- Shared with capsules displayed in bottom right with consistent person-based colors
- Attachment icons in bottom left
- Body text truncated to single line to maintain consistent card heights
- Added color palette for person names (8 distinct colors) with hash-based consistency
- Removed metadata display from card footer
- Cleaner visual hierarchy with all key info visible at a glance
2026-01-11 22:23:40 +00:00
aewing 9d3e176773 Restructure note card layout for shared notes
- Type bubble (colored dot) now appears only on shared notes below timestamp
- Type bubble positioned on far right, below the timestamp
- Shared with capsules display below type bubble on the right side
- Non-shared notes show meta info and attachment icons as before
- Cleaner visual hierarchy: timestamp/type on top, content in middle, details at bottom
2026-01-11 21:28:41 +00:00
aewing 77312dfdad Add share note functionality with multiselect field support and adjust layout spacing
- Added share note input field with comma-separated name parsing
- Integrated shared_with and shared boolean fields to note payload
- Reduced form spacing (space-y-4 to space-y-2.5) to accommodate new field
- Adjusted container positioning: noteContainer translateY(-33px), notesListContainer translateY(-24px)
- Share functionality now working with PocketBase multiselect field validation
- Note cards will display green background when shared=true
2026-01-11 06:30:21 +00:00
aewing 8a0bf92da4 Add note sharing feature: user selection, shared status, green card styling, and type badges 2026-01-11 05:38:07 +00:00
aewing 54d262b97d Restore three-button capture interface: Share Entire Screen, Snip, Cancel 2026-01-11 05:14:15 +00:00
aewing ccb239c84b Restructure attachment menu with submenus and adjust container sizing/positioning
- Reorganize attachment menu: main menu shows Attach Image, Attach Video, Attach File
- Clicking Attach Image/Video opens submenus with take photo/video and select file options
- Move menu to open to the right of attach button instead of below
- Apply same submenu structure to both note and conversation containers
- Decrease height of notesListContainer and noteContainer for compact layout
- Center containers vertically on page
- Move attachments section and submit button up 30px within noteContainer
- Adjust vertical padding and margins for optimal spacing
- Reduce noteContainer height by 15px and move down 4px
- Increase notesListContainer height by 2px and move down 4px
- Fine-tune noteContainer height and positioning (py-[8px], mt-4)
2026-01-11 03:30:40 +00:00
aewing 8a70038b64 Add camera vs file picker options for image and video attachments
- Add separate buttons: 'Attach Image' and 'Take Photo'
- Add separate buttons: 'Attach Video' and 'Record Video'
- Create separate file inputs: imageInput/imageCameraInput, videoInput/videoCameraInput
- imageCameraInput and videoCameraInput have capture="environment" attribute
- imageInput and videoInput are for file picker (no capture attribute)
- Both note and conversation menus updated with same structure
- Update all event listeners and clear handlers for new inputs
2026-01-11 03:03:12 +00:00
aewing d7c42de0d7 Add capture attribute to image and video inputs for camera access
- Add capture="environment" to imageInput and videoInput
- Add capture="environment" to conversationImageInput and conversationVideoInput
- Enables camera/video capture on mobile and desktop devices
- Falls back to file picker on devices without camera capability
2026-01-11 02:44:48 +00:00
aewing af0fef4f08 Simplify attachment menu: keep only image, video, file options
- Remove Record Video option and related MediaRecorder implementation
- Remove Take Picture option and camera input handling
- Update both note and conversation attachment menus
- Remove unused event listeners and variable declarations
- Simplify file input arrays to 3 inputs instead of 4
2026-01-11 02:41:51 +00:00
aewing 8009ad1eb3 recording working righ, but menu is not correct yet 2026-01-11 02:38:28 +00:00
aewing a19a4495f4 Add zoom in/out controls to attachment preview
- Add zoom in (+), zoom out (−), reset, and close buttons to preview panel
- Zoom buttons only show for images (other media types don't need zoom)
- Zoom level indicator shows current zoom percentage
- Support zoom levels: 100% to 400% in 25% increments
- Image zoom uses CSS transform scale for smooth performance
- Click on image to toggle between 100% and 150% zoom (quick toggle)
- Reset button appears when zoomed in, allows quick return to original
- Zoom out button only appears when zoomed in
- Preview panel has scrollable content area (max-height 600px)
- Maintains aspect ratio and smooth transitions during zoom
2026-01-11 02:32:11 +00:00
aewing 649d9652b6 Fix container overflow: constrain height and reduce bottom padding
- Add max-h-[calc(100vh-120px)] and overflow-y-auto to note and conversation containers
- Reduce bottom padding from pb-32 (128px) to pb-16 (64px)
- Prevents form containers from expanding beyond viewport bounds
- Keeps header buttons (New Note, Conversations) visible at all times
- Allows scrolling within form when content exceeds viewport height
2026-01-10 23:07:02 +00:00
aewing 26092b314b Add video recording UI and preview functionality
- Show visible 'Recording Video...' indicator with pulsing red dot when recording starts
- Add 'Stop Recording' button for easy access (not just text feedback)
- Display video preview player after recording completes
- Add 'Use Video' button to attach recorded video to form
- Add 'Remove Video' button to discard recording without attaching
- Implement separate video recording for note and conversation containers
- Store video blob in window.noteVideoBlob and window.conversationVideoBlob
- Video player shows up to 300px height with full controls
- Red/green color scheme for visual feedback (recording = red, actions = green)
2026-01-10 23:02:34 +00:00
aewing 7282c920bf Update session log: document attachment menu system completion 2026-01-10 22:54:47 +00:00
aewing b889e48325 Add menu-driven attachment system with video recording
- Replace single file input with paper clip icon button and dropdown menu
- Add 5 attachment options: image, video, file, video recording, picture capture
- Implement video recording with MediaRecorder API (5 min auto-stop)
- Support multiple file input interactions accumulating in pending array
- Add same menu system to conversation container (separate attachment array)
- Add render functions for displaying selected attachment summaries
- Fix CSS positioning for menu with relative parent and top-full positioning
- Menu closes on outside click and when file is selected
2026-01-10 22:54:33 +00:00
aewing 4bb4e546c1 Prevent horizontal scrolling in card view - allow vertical scroll only 2026-01-10 22:42:01 +00:00
aewing 0dc0ffba2f Keep button group beside Notes heading on all screen sizes 2026-01-10 22:38:53 +00:00
aewing 53bf74e6f4 Refine Notes list header: scale buttons, replace Refresh with icon, align button group 2026-01-10 22:34:37 +00:00
aewing a168fe2b7c UI refinements: center containers, compact cards, improve attachment icons 2026-01-10 22:13:08 +00:00
aewing 1d3d42d670 feat(notes): multi-attachment support, card icons, and inline previews\n\n- Allow selecting and uploading multiple attachments per note (images, videos, docs)\n- Batch audio segments and files into PocketBase multi-file field (Attachments.file)\n- Fallback to read files directly from input; per-file error logging\n- Note cards show clickable attachment-type icons (image/video/file/audio)\n- Inline preview panel in notes list + full attachment rendering in detail\n- Keep existing Notes/Attachments collections and pb_id association 2026-01-10 20:48:47 +00:00
aewing 2aa6cac4e2 fixed some stuff, basic media funciton added. 2026-01-10 20:47:10 +00:00
aewing 1101515d24 Log: Container injection bug fix and restoration 2026-01-10 20:04:22 +00:00
aewing c73393049b Fix container injection: remove duplicate HTML and restore CONTAINERS + initializeContainers() 2026-01-10 20:04:07 +00:00
aewing cee91571cd Refactor containers to template literals for independent updates
- Extract all containers (login, notes list, note detail, note form, conversation form, conversations list) to CONTAINERS object
- Create initializeContainers() function to inject templates on page load
- Replace 300+ lines of inline HTML with single containerHost div
- Add session log documenting Option 1 approach with future intent for Option 2
- Each container now independently updatable without touching markup
- Maintains functionality while improving code organization and maintainability
2026-01-10 15:38:57 +00:00
aewing f563eb2a24 Update project 2026-01-10 14:20:54 +00:00
aewing 2e13c90d5f Make pink and orange backgrounds 1 shade darker (yellow unchanged) 2025-12-31 05:09:27 +00:00
aewing fc155cac76 Update port to 3030 and configure dotenv for centralized secrets 2025-12-31 04:38:45 +00:00
Golwhit da23cc8e3a Use Tailwind max-h for note detail 2025-12-29 21:07:50 -06:00
Golwhit 497c29ce14 Fix layout: replace inline styles with Tailwind, enable audio playback in detail view, adjust spacing 2025-12-29 21:02:37 -06:00
Golwhit 119235f774 UI refinements: fixed header layout, responsive spacing, color-coded cards, improved detail view 2025-12-29 20:52:37 -06:00
Golwhit 2983457fc0 Add ellipsis to auto-generated titles with >4 words and truncate titles >120 chars 2025-12-29 19:00:42 -06:00
Golwhit a42a502a89 Add title input field, capture email/displayName, auto-generate title from first 4 words if empty 2025-12-29 18:54:52 -06:00
Golwhit 89b083b73e Chore: remove bun.lock and add npm lockfile 2025-12-29 18:04:10 -06:00
Golwhit fd54345674 Prism-Notes migration: copy scaffold, update package metadata, add npm-based deps, switch startup to Bun.serve with custom logs, and ignore env/deps via .gitignore 2025-12-29 17:57:48 -06:00
Golwhit a8ba47d38e removed scaffold 2025-12-29 17:40:05 -06:00
aewing c842808849 Initial commit 2025-12-22 18:02:05 -06:00