Closed edil-it-them closed 1 year ago
Interesting ... this is not really a problem on mobile because you can't navigate between Track, Timeline, Dashboard, etc. without either saving or cancelling. I think on Desktop, we either need to let the note stay visible as you suggest, or give the user a warning if they are navigating to a different tab and confirm to proceed.
Sometimes I need to navigate to dashboards, trackers and timeline when I journal so I can view previous inputs or charts.
So I'd love to keep it visible. The problem might be when the input textfield component is created.
The note text probably is stored in stores but the component initializes empty string on text field. But when you focus on it its bringing value from the store. Didn't yet looked in the codebase but the solution might be just simple
let inputText = $ActiveLogStore.note || ''
Closed via #44
When I make notes and navigate through menu, for example clicking on Timeline, Dashboard, Goals, Track, etc the input note disappears until you click on it. Steps to reproduce: 1) make a note, click on a tracker 2) click on any menu navigation tab 3) click again on note input(What's up field)
Expected behavior: The note should stay visible as it is