upbound / up

The @upbound CLI
Apache License 2.0
49 stars 42 forks source link

ctx: Always re-enable nav when updating model #559

Closed adamwg closed 3 weeks ago

adamwg commented 3 weeks ago

Description of your changes

Previously, we weren't re-enabling navigation in the happy-path case where we get a new model back from updateListState. This didn't prevent navigation from working, since the new model has a new list with a fresh keymap, but it did prevent us from ever disabling nav again, since navDisabled was stuck on true.

I have:

How has this code been tested

Manual testing with both errors and non-error cases.