Commit graph

40 commits

Author SHA1 Message Date
Christian Rocha
651683cd21 Treat Markdown.CreatedAt as values per the updates in the charm lib 2020-10-05 13:53:26 +02:00
Christian Rocha
5613e36154 Adjust dark green color in status message bar 2020-10-05 13:53:26 +02:00
Christian Rocha
593d9f07e7 Stash local files from the pager 2020-10-05 13:53:26 +02:00
Christian Rocha
ddbacffc0b Log IO errors if a logfile is set 2020-10-05 13:52:51 +02:00
Christian Rocha
c55bb23744 Minor comments and cleanup in the TUI 2020-10-05 13:52:36 +02:00
Christian Rocha
fc2f05626e Pressing q quits no matter where you are 2020-10-05 13:51:31 +02:00
Christian Rocha
d941957b92 Also exit the pager with left arrow, h and delete/backspace 2020-10-05 13:51:31 +02:00
Christian Rocha
3619ad137a Remove the bottom gap when closing the pager help whilst at the bottom 2020-10-05 13:50:38 +02:00
Christian Rocha
3b06c1fcd6 Correction help-toggling method name in pager 2020-10-05 13:50:19 +02:00
Christian Rocha
1200b86729 Cleanup pager status bar view thanks to the latest updates in reflow 2020-10-05 13:50:03 +02:00
Christian Rocha
dd8c650830 Only show memo key in pager help for user stashed markdown 2020-10-05 13:49:31 +02:00
Christian Rocha
ac872bf41f Let's now refer to userMarkdown as stashedMarkdown 2020-10-05 13:49:31 +02:00
Christian Rocha
7b6c3b3740 Don't allow users to set notes on local files 2020-10-05 13:49:31 +02:00
Christian Rocha
8370f7441e Fix a crash when opening pager help in very narrow windows 2020-10-05 13:48:22 +02:00
Christian Rocha
6e72cbdc4f Consolidate debug config stuff 2020-10-05 13:46:49 +02:00
Christian Rocha
fa06996383 Dispell a magic number 2020-10-05 13:46:09 +02:00
Christian Rocha
048b484df2 Reset y offset when resetting pager 2020-10-05 13:46:09 +02:00
Christian Rocha
dd828966eb Remove extra height and positioning stuff 2020-10-05 13:46:09 +02:00
Christian Rocha
d3ac07c70a Fix bottom line jitteriness with performance rendering 2020-10-05 13:46:09 +02:00
Christian Rocha
232a9919c2 Respect high performance flag 2020-10-05 13:46:09 +02:00
Christian Rocha
b2df0cae8f Integrate high performance viewport, but not without issue 2020-10-05 13:46:09 +02:00
Christian Rocha
9eac9e2253 Use new, simplified window resize handling 2020-10-05 13:46:09 +02:00
Christian Rocha
dde45d99e8 Pressing 'q' when setting a note in the pager shouldn't cancel the note 2020-10-05 13:46:09 +02:00
Christian Rocha
562d02dc43 Properly truncate fullwidth/double-byte chars 2020-10-05 13:46:09 +02:00
Christian Rocha
9179515e62 Close help when unloading/resetting pager 2020-10-05 13:46:09 +02:00
Christian Rocha
7ee203a987 Correct keystroke in pager help 2020-10-05 13:46:09 +02:00
Christian Rocha
ea12614a53 Add memo key to stash help + change memo keys to 'm' 2020-10-05 13:46:09 +02:00
Christian Rocha
5019331dff Mini help view for pager 2020-10-05 13:46:09 +02:00
Christian Rocha
1d6341f970 Use strings.Builder to build pager view 2020-10-05 13:45:22 +02:00
Christian Rocha
77ba75d680 Migrate from Boba to Bubble Tea and Bubbles 2020-10-05 13:45:22 +02:00
Christian Rocha
4f250ebb81 Render all errors at the main view level 2020-10-05 13:43:19 +02:00
Christian Rocha
eba22f08b1 Also set/edit notes in stash view 2020-10-05 13:41:17 +02:00
Christian Rocha
055ae6e3c2 Load, browse and render news 2020-10-05 13:41:17 +02:00
Christian Rocha
1b7c70a829 Remove right document padding per Glamour update (pinned at current master) 2020-10-05 13:41:16 +02:00
Christian Rocha
1971c8abd8 Add right padding to markdown rendering 2020-10-05 13:40:43 +02:00
Christian Rocha
f3021822f3 More contrasty note titles in pager status bar 2020-10-05 13:40:43 +02:00
Christian Rocha
1219d22834 Don't set a note if the note didn't actually change 2020-10-05 13:40:42 +02:00
Christian Rocha
8695bffa2e Pre-populate note field with exisiting note 2020-10-05 13:40:23 +02:00
Christian Rocha
04f1ebfa23 Add functionality for setting document note in the pager 2020-10-05 13:40:22 +02:00
Christian Rocha
c2bb505182 Break pager off into its own set of Boba functions 2020-10-05 13:39:47 +02:00