ucsb-cs148-s21 / 1pm-t6-ucsb-poll

Allows anyone with a UCSB email to vote on virtually anything.
MIT License
2 stars 4 forks source link

homepage/search func #65

Closed zhengyingl closed 3 years ago

zhengyingl commented 3 years ago

1.change PollResult.js to make the homepage workable right now(both for voted for once&view/vote) (BUT!!!!!!! because the login system need to work fully for about 1second, so in this 1 second, you can see that you can vote for every poll. After this, all fine) 2.autocomplete search is working right now&link to poll page 3.change a little bit view of unique poll page(left) 4.only people who login can vote right now

  1. for close poll, remove the "go back" button 6now everyone can vote once, please try it.

question and need help on: 1.try this: search a poll->go to this poll page->search a different poll (from the navigation bar in this page)->go to this poll page(get wrong action here)

problem: the url change, but the page's component doesn't change

2.for "search box", "search"button will show under the box, how can they be in one line?

zhengyingl commented 3 years ago

problem right now: mess up with what the user vote before