After my refactoring yesterday, the function that re-prioritizes product backlog items was reduced to swapping priority points on two items.
So that’s what I’ll do today. TDD through a function that swaps priority points for a product backlog item and the item before (prioritize up) or after (prioritize down) it.
Coding in progress
That really was an old-time programming problem. Fun! But now I have TDD’ed a priority swap algorithm. That was all I managed to get through today. Some progress, I think.
Now all that is left is to reach this functionality from the GUI and reload the list after it’s done.