ransome1 / sleek

todo.txt manager for Linux, Windows and MacOS, free and open-source (FOSS)
https://github.com/ransome1/sleek/wiki
MIT License
1.28k stars 99 forks source link

email address incorrectly parsed as a context (@ symbol) #631

Closed mshuflin closed 5 months ago

mshuflin commented 5 months ago

Bug Report

Important

Please follow this template strictly when reporting bugs.

App Version: [Enter app version here] sleek v2.0.5 Platform: [Windows / macOS / Linux] macOS Sonoma, 14.2.1, M2 Installation Method: [App Store / Direct Download / Other] Github Bug Description: [Provide a clear and concise description of the bug you encountered.] using the @ symbol causes the attributes page to list an incorrect context Steps to Reproduce:

  1. [List the steps to reproduce the bug. Be as specific as possible.]
    • Write a todo that contains an email address (e.g. steve@apple.com)
    • look in the contexts section of the attributes filter
    • see the email addresses domain (e.g. apple.com) displayed as a context Expected Behavior: [Explain what you expected to happen.] Only contexts should be displayed, maybe only when the @ symbol is preceded by a space or starting a new line? Actual Behavior: [Explain what actually happened.] see above Screenshots: [If applicable, include screenshots that demonstrate the bug.] Screenshot 2024-01-11 at 4 48 23 PM Screenshot 2024-01-11 at 4 48 13 PM
ransome1 commented 5 months ago

@mshuflin I think this is a duplicate of https://github.com/ransome1/sleek/issues/617

mshuflin commented 5 months ago

Yep, sorry about that

ransome1 commented 5 months ago

@mshuflin feel free to close the issue, we will fix this over at #617