Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | make page-up/page-down smart to hidden items | Kartik K. Agaram | 2021-10-09 | 1 | -368/+49 |
| | | | | | | | | In the process we eliminate a whole bunch of duplication and give item navigation a single source of truth. Page-up isn't quite _identical_ to how it used to be before. Let's see if it bothers us. | ||||
* | standardize argument order | Kartik K. Agaram | 2021-10-09 | 1 | -10/+10 |
| | |||||
* | bugfix | Kartik K. Agaram | 2021-10-09 | 1 | -7/+25 |
| | | | | | | | new test: hit enter, go to thread view, hit enter again, go into thread view again. No crash. Just bite the bullet and make item-index robust to single-thread tabs. | ||||
* | bugfix: skip hidden items when moving cursor | Kartik K. Agaram | 2021-10-09 | 1 | -14/+74 |
| | | | | | | | | | | Tests to create when I start creating tests: hide an item. Cursor moves to a new item. hide an item that's not the bottom-most item, hit down arrow. Cursor moves to a new item. hide an item that's not the top-most item, hit up arrow. Cursor moves to a new item. hide top-most item. Cursor on new item. Hit up arrow. No change. Scroll down. New item. hide bottom-most item. Cursor on new item. Hit down arrow. No change. Scroll up. New item. open a thread. Hit down arrow. No crash (item-index not called). | ||||
* | slack: hide threads from the global view | Kartik K. Agaram | 2021-10-09 | 1 | -1/+153 |
| | | | | | | | | | | | | | | | To hide all comments from the same thread as the item at cursor, press ctrl-h. To later unhide everything, press ctrl-u. Currently ctrl-u works by creating a whole new tab (that you can back out of using Esc). That gives a way to undo it. Still some rough edges: update number of items in view when hiding a thread avoid clipping menu in channel view undo a single hide without giving up previous ones | ||||
* | slack: start work on hiding single threads | Kartik K. Agaram | 2021-10-09 | 1 | -1/+1 |
| | |||||
* | . | Kartik K. Agaram | 2021-10-09 | 1 | -2/+2 |
| | |||||
* | . | Kartik K. Agaram | 2021-10-09 | 1 | -2/+2 |
| | |||||
* | audit remaining calls to render-code-point | Kartik K. Agaram | 2021-09-02 | 1 | -6/+61 |
| | | | | By definition that function can't support combining characters. | ||||
* | slack: start rendering unicode | Kartik K. Agaram | 2021-08-30 | 1 | -24/+25 |
| | |||||
* | fix bad terminology: grapheme -> code point | Kartik K. Agaram | 2021-08-29 | 1 | -20/+21 |
| | | | | | | | | | | Unix text-mode terminals transparently support utf-8 these days, and so I treat utf-8 sequences (which I call graphemes in Mu) as fundamental. I then blindly carried over this state of affairs to bare-metal Mu, where it makes no sense. If you don't have a terminal handling font-rendering for you, fonts are most often indexed by code points and not utf-8 sequences. | ||||
* | minimize repaints when navigating between channels | Kartik K. Agaram | 2021-08-15 | 1 | -0/+13 |
| | |||||
* | . | Kartik K. Agaram | 2021-08-15 | 1 | -1/+1 |
| | |||||
* | correct menu when first entering search mode | Kartik K. Agaram | 2021-08-15 | 1 | -0/+7 |
| | | | | Test required. | ||||
* | . | Kartik K. Agaram | 2021-08-15 | 1 | -15/+12 |
| | | | | Make it more obvious that we always do a full repaint if dirty is set. | ||||
* | keep cursor stable when switching to thread view | Kartik K. Agaram | 2021-08-15 | 1 | -8/+37 |
| | | | | Test required. | ||||
* | missing code: selecting a thread in channel view | Kartik K. Agaram | 2021-08-15 | 1 | -3/+11 |
| | | | | Test required. And a clean fixture. | ||||
* | slack: navigation for thread screens | Kartik K. Agaram | 2021-08-14 | 1 | -0/+123 |
| | |||||
* | slack: quick 'n' dirty thread screen | Kartik K. Agaram | 2021-08-14 | 1 | -0/+45 |
| | |||||
* | slack: data structures for single-thread view | Kartik K. Agaram | 2021-08-14 | 1 | -0/+96 |
| | |||||
* | slack: ensure single cursor on screen at any time | Kartik K. Agaram | 2021-08-14 | 1 | -17/+34 |
| | | | | This is worth a first test. | ||||
* | slack: delete intra-item cursor state | Kartik K. Agaram | 2021-08-14 | 1 | -88/+10 |
| | | | | I don't actually have per-user feeds yet. Just drop the feature for now. | ||||
* | slack: menu options for browsing intra-item | Kartik K. Agaram | 2021-08-14 | 1 | -1/+20 |
| | |||||
* | slack: hacky intra-item cursor | Kartik K. Agaram | 2021-08-14 | 1 | -1/+21 |
| | | | | | Pretty klunky that it's always on the topmost item. But it gets us going. | ||||
* | slack: introduce state for intra-item cursor | Kartik K. Agaram | 2021-08-14 | 1 | -8/+51 |
| | |||||
* | slack: start rendering cursor on main pane | Kartik K. Agaram | 2021-08-14 | 1 | -8/+26 |
| | |||||
* | . | Kartik K. Agaram | 2021-08-14 | 1 | -2/+2 |
| | |||||
* | slack: start building a cursor for the main pane | Kartik K. Agaram | 2021-08-14 | 1 | -6/+2 |
| | | | | First step: switch to arrow keys for navigating by item. | ||||
* | . | Kartik K. Agaram | 2021-08-14 | 1 | -0/+3 |
| | |||||
* | bug: allow '/' in search | Kartik K. Agaram | 2021-08-14 | 1 | -21/+22 |
| | |||||
* | bug in reusing tabs | Kartik K. Agaram | 2021-08-14 | 1 | -0/+2 |
| | |||||
* | . | Kartik K. Agaram | 2021-08-13 | 1 | -0/+1 |
| | | | | Bug in channel view. | ||||
* | slack: search cursor handling | Kartik K. Agaram | 2021-08-13 | 1 | -1/+2 |
| | |||||
* | slack: notify when too many results | Kartik K. Agaram | 2021-08-13 | 1 | -0/+6 |
| | |||||
* | slack: degrade gracefully when too many results | Kartik K. Agaram | 2021-08-13 | 1 | -7/+14 |
| | |||||
* | slack: escaping from search dialog | Kartik K. Agaram | 2021-08-13 | 1 | -0/+7 |
| | |||||
* | slack: more responsive typing | Kartik K. Agaram | 2021-08-13 | 1 | -1/+10 |
| | |||||
* | slack: scrolling in search screens | Kartik K. Agaram | 2021-08-13 | 1 | -0/+105 |
| | |||||
* | . | Kartik K. Agaram | 2021-08-13 | 1 | -17/+0 |
| | |||||
* | slack: search | Kartik K. Agaram | 2021-08-13 | 1 | -2/+119 |
| | |||||
* | . | Kartik K. Agaram | 2021-08-13 | 1 | -4/+4 |
| | |||||
* | this might explain the bug | Kartik K. Agaram | 2021-08-13 | 1 | -5/+1 |
| | | | | | | I think I was just typing with the the status bar outside the display when it seemed to work. Easy to forget to hit '/' at the start. Particularly if it seems to work fine. | ||||
* | . | Kartik K. Agaram | 2021-08-13 | 1 | -4/+44 |
| | |||||
* | start saving and restoring search terms with tabs | Kartik K. Agaram | 2021-08-13 | 1 | -4/+40 |
| | |||||
* | disquieting bug: typing search terms is unreliable | Kartik K. Agaram | 2021-08-13 | 1 | -0/+4 |
| | |||||
* | slack: UI flow for search | Kartik K. Agaram | 2021-08-13 | 1 | -8/+82 |
| | | | | Everything works, I think, _except_ actually performing the search. | ||||
* | . | Kartik K. Agaram | 2021-08-13 | 1 | -9/+10 |
| | |||||
* | . | Kartik K. Agaram | 2021-08-13 | 1 | -6/+6 |
| | |||||
* | slack: esc to go back to previous screen | Kartik K. Agaram | 2021-08-13 | 1 | -8/+41 |
| | |||||
* | slack: use tab to bounce between channels | Kartik K. Agaram | 2021-08-13 | 1 | -7/+146 |
| |