YaleSTC / vesta

Application for housing lottery / room draw
GNU General Public License v3.0
6 stars 2 forks source link

Improve room creation #578

Open nganvu opened 7 years ago

nganvu commented 7 years ago

When add room from a suite's page:

screen shot 2017-04-08 at 1 39 34 pm

Have to manually choose that suite again:

screen shot 2017-04-08 at 1 39 52 pm

(Suggested by Alan): Maybe we should allow adding room on the suite's page with JS instead of moving to a separate page for rooms? This way admin can also see which rooms in the suite have already been added.

AlanLiu96 commented 7 years ago

Ideally using JS to update the rooms, but otherwise, we can embed the add room form onto the suite page (perhaps a hidden form shown by the button click?), so we don't have to redirect the user to another page, then direct them to redirect back afterward.

orenyk commented 7 years ago

This is kinda part of #431 - the entire housing resource management process should get much easier with nested routes, but we can certainly leave this open to specifically simplify the room creation part of it. It's also likely to be entirely JS-ified with React.