FloppyDisco / marauders-map

0 stars 0 forks source link

change how the user inputs the placement of a separator #20

Open FloppyDisco opened 4 hours ago

FloppyDisco commented 4 hours ago

similar to issue

19

this prompt will determine where the new spell will be displayed in the page

this issue should be completed AFTER issue #18.

for this prompt, disable the key input.

  • check if input can be disabled?
  • if not set the listener function to remove the inputed value

use onDidChangeActive to: evaluate the index value of the current spell in the order of the page increment or decrement the index of the spell in the order property refresh the quickpick with the new order of items

  • not sure how to do this. maybe reassign the items of the quickpick? that my rerender

the spell should start at the bottom of the page

user story: moving up and down with arrow keys should move the spell on the page. confirm with enter.

change the separator order prompt to display the separator visually and the arrow keys move the separator on the page by leveraging onDidChangeActive(). this prompt could probable be reusable if abstracted correctly. these issues will probably be done simultaneously.