zsxking / OurBulletins

2 stars 1 forks source link

Clearer division for buyers and sellers' entry #16

Open zsxking opened 13 years ago

zsxking commented 13 years ago

A proposal from Xun for create a clearer division for buyers and sellers' entry on the home page.

The idea, as my understanding, is to have the search bar to work for both buyer to find a book, and the seller to sell a book.

My initial imagine is, instead of the current "Looking for Books/sth else ?" label on top of the search bar in home page, we change it to "Want to Sell/Buy a Book?", where the "Sell / Buy" is a drop down selection, simliar to what the "books" drop down currently.

Then use Javascript to have the onchange event change the call url for the autofill data source to get different link rendered back. (For buying, the link should point to show_book_path(@book) , and for selling, it should point to new_book_listing(@book) )

Xun, please confirm this is the desire behavior you are looking to, if not please clarify.

Thanks.

seanking1983 commented 13 years ago

Similar but not exactly. One thing with having "Sell/Buy" in the title is that there is also choice of "Rent".

I've attached a simple mockup on basecamp. https://ourbulletinscom.basecamphq.com/P51360781

Page 1 is what I think of now. Instead of another page, put post below browse.

Page 2 is what I original proposed. Browse and Post are two buttons/tabs.

Page 3 is what Xin's comment on my original proposal.