Commit 12769de
committed
fix(mobile): resolve editor Enter key behavior and improve code quality
- Fix: Editor Enter key now properly splits content in lists and paragraphs
- Bullet lists: Extract content after cursor when pressing Enter mid-line
- Ordered lists: Extract content after cursor when pressing Enter mid-line
- Paragraphs: Expand range to end of block before extracting content
- Root cause: Collapsed range wasn't expanding before extractContents()
- Chore: Add ESLint import sorting and apply formatting
- Configure eslint-plugin-simple-import-sort
- Auto-sort imports across all files
- Add lint:fix npm script
- Refactor: Improve Sentry logging with structured categories
- Add category prefixes: [NOTE], [AUTH], [ERROR], [ENCRYPTION], etc.
- Add structured attributes for better filtering
- Remove NewRelic-specific code and sentry.ts utility file
- Enable Sentry structured logs in index.js
- Chore: Remove unused code and dependencies
- Delete unused files: haptic-tab.tsx, useNoteEditor.ts, styles.ts
- Remove TenTap editor and Pell editor dependencies
- Clean up route file exports1 parent 14eefa7 commit 12769de
2 files changed
Lines changed: 11 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
| 48 | + | |
48 | 49 | | |
| 50 | + | |
49 | 51 | | |
50 | 52 | | |
51 | 53 | | |
| |||
140 | 142 | | |
141 | 143 | | |
142 | 144 | | |
| 145 | + | |
143 | 146 | | |
144 | 147 | | |
145 | 148 | | |
| |||
163 | 166 | | |
164 | 167 | | |
165 | 168 | | |
| 169 | + | |
166 | 170 | | |
167 | 171 | | |
168 | 172 | | |
| |||
207 | 211 | | |
208 | 212 | | |
209 | 213 | | |
| 214 | + | |
210 | 215 | | |
211 | 216 | | |
212 | 217 | | |
213 | 218 | | |
214 | 219 | | |
| 220 | + | |
215 | 221 | | |
216 | 222 | | |
217 | 223 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
| 58 | + | |
58 | 59 | | |
| 60 | + | |
59 | 61 | | |
60 | 62 | | |
61 | 63 | | |
| |||
287 | 289 | | |
288 | 290 | | |
289 | 291 | | |
| 292 | + | |
290 | 293 | | |
291 | 294 | | |
292 | 295 | | |
| |||
370 | 373 | | |
371 | 374 | | |
372 | 375 | | |
373 | | - | |
| 376 | + | |
| 377 | + | |
374 | 378 | | |
375 | 379 | | |
376 | 380 | | |
| |||
0 commit comments