ensignlee / ssbook

ssbook
5 stars 3 forks source link

Add ability to Edit Bets #107

Closed ensignlee closed 13 years ago

ensignlee commented 13 years ago

Add ability to Edit Bets

Here's what I'm thinking:

You can use the checkboxes to choose which bets to delete, why not have the same functionality with editing. Check which bets you want to edit, then press an "Edit Bets" button.

When that happens, you'll have a "popup" show up, which greys out the original view bets screen. For an example, look at how editing bets works on SS 1.0.

What will show up in the popup? Pretty much the exact same UI that's on the enter bets screen, but with the data for each bet pre-filled out with what is already existing. Users can then modify whatever facet of the bets selected that they want, just like they could if they were entering the bet in new.

On the backend, you can either delete the original bet and enter in a new one, or edit the original one. Obviously, that's up to you and I know yo uhate it when I tell you how to code. ;)

camerondavison commented 13 years ago

do we really want this to be for multiple? in a popup. should the popup be modal? or should it be a new window?

ensignlee commented 13 years ago

It doesn't have to be multiple if it's uber complicated to do that instead. I just figured in case somebody wanted to edit multiple bets at a time, it would be helpful, but I can think of very few situations where that would happen.

Regarding the popup being modal, can we do it the way that ss1 worked? I think you couldn't do anything on the page behind it until you addressed the edit bets window that came up.

It was super aesthetically appealing too.

camerondavison commented 13 years ago

adding the ability to edit bets. closed by bc59e155a8b86a18b5482b06a740f2a7fa7b34ba