cinesimile icon indicating copy to clipboard operation
cinesimile copied to clipboard

Create CineSimile Homepage

Open Niweera opened this issue 4 years ago • 21 comments

CineSimile Homepage

The following is how the CineSimile homepage should be looked like. Keep in mind this is just a suggestion.

image

Since we use Carbon Design System and React, we can easily create a single component and integrate them later. The following would be the suggested list of components. If you would like to work on a component and create a pull request, please mention that in the comments. Also, if you want to suggest a new component, please mention that in the comment too.

  • [ ] Navbar [@MukulTan10]
  • [ ] Introduction Component [@shravani05]
  • [ ] Search box [@jpalacio0612]
  • [ ] Search results title [@MilePaor]
  • [ ] Results movie card [@VinuriBandara]
  • [ ] Footer [@utkarsh4321]

Important

When sending a pull request, please remember to add a screenshot of the development of your selected component. In that case, it is easy for others to get inspired too 😁.

Niweera avatar Sep 27 '20 05:09 Niweera

I would like to contribute @Niweera 😊

VinuriBandara avatar Sep 27 '20 07:09 VinuriBandara

@VinuriBandara you can select a component that you want to develop and mention it here. I will assign you to that component development.

Niweera avatar Sep 27 '20 08:09 Niweera

I would like to work on the results movie cards @Niweera

VinuriBandara avatar Sep 27 '20 09:09 VinuriBandara

I would like to work on the Introduction Component @Niweera

shravani05 avatar Sep 27 '20 09:09 shravani05

Thanks, @VinuriBandara, we'll assign you to results movie component development. Thanks, @shravani05, we'll assign you to the Introduction component development. If you have any questions regarding the development, do not hesitate to ask. 😎 Thanks for contributing to CineSimile. Happy Hacktoberfest! 😁

Niweera avatar Sep 27 '20 09:09 Niweera

Hii @Niweera i wanna to work on footer part.

utkarsh4321 avatar Sep 27 '20 12:09 utkarsh4321

@utkarsh4321 I have assigned you to the task of developing the Footer.

Niweera avatar Sep 27 '20 12:09 Niweera

hey i would like to work on navbar

MukulTan10 avatar Sep 27 '20 14:09 MukulTan10

@MukulTan10, sure I'll assign you to the task.

Niweera avatar Sep 27 '20 17:09 Niweera

I have made the PR with the necessary requirements for the Introduction Component of the Home page.

shravani05 avatar Sep 30 '20 18:09 shravani05

Hello.

My name is Jonathan. I am a FullStack Mern Developer,I would like to contribute, I was doing some tests with the part of the search bar, This is what I achieved:

ciensimile

I created a search box component with a functional approach using hooks like useState and useDebouncedCallback to handle bouncing when written to input. And to simulate the calls to the API I did a mockdata and a simple logic to filter.

Stay tuned if it's okay to make a pull request

const SearchBox = () => {
  const [query, setQuery] = useState([]);

  const debounced = useDebouncedCallback((value, setQuery) => {
    let array = [];
    if (value) {
      for (let movie of mockMovies) {
        if (movie.title.toLowerCase().startsWith(value)) {
          array.push(movie);
        }
      }
    }
    setQuery(array);
  }, 500);

  return (
    <div className="searchBox">
      <Search
        onChange={(e) => debounced.callback(e.target.value, setQuery)}
        id="search-1"
        placeHolderText="Search a movie"
      />
      {query.map((movie) => (
        <div key={movie.id}>
          <h1>{movie.title}</h1>
        </div>
      ))}
    </div>
  );
};

jpalacio0612 avatar Oct 01 '20 00:10 jpalacio0612

@jpalacio0612 very nice. If you want I can assign you to the issue. Please let me know.

Niweera avatar Oct 01 '20 01:10 Niweera

@Niweera Yes, please assign me the task and let me know if I should add something else to it before doing the pull request.

jpalacio0612 avatar Oct 01 '20 02:10 jpalacio0612

@jpalacio0612 you can send the pull request. Once it merges I think @utkarsh4321 can take a look and do any improvements as they see fit.

Niweera avatar Oct 01 '20 03:10 Niweera

Is there any API for filling the auto complete? I see that currently there's dummy data. If there's a scope to contribute for the auto complete feature for the movie search, be it front end or back end, I'd like to work on it.

kots14 avatar Oct 02 '20 18:10 kots14

Is there any API for filling the auto complete? I see that currently there's dummy data. If there's a scope to contribute for the auto complete feature for the movie search, be it front end or back end, I'd like to work on it.

The back-end API is currently under development and we haven't started it. Currently, we are focused on front-end development right now.

Niweera avatar Oct 02 '20 20:10 Niweera

@Niweera i would like to contribute for component called "Search results title"

bojanmiles avatar Oct 03 '20 08:10 bojanmiles

@MilePaor sure you can. I'll assign you to it. (Remember to sync your fork using $ git pull upstream master command.)

Niweera avatar Oct 03 '20 09:10 Niweera

Hi @Niweera . I just forked and cloned the repo and came to see two links in the Navbar [ News, Contact Us ] . I want to contribute. I can work on News using an API from RapiApi or I can also do the contact form. Whichever you assign.

senshiii avatar Oct 03 '20 15:10 senshiii

Hi @Niweera . I just forked and cloned the repo and came to see two links in the Navbar [ News, Contact Us ] . I want to contribute. I can work on News using an API from RapiApi or I can also do the contact form. Whichever you assign.

You can choose anything you like, if you prefer you can do the API implement with RapidAPI. I'll assign you.

Niweera avatar Oct 03 '20 15:10 Niweera

Yeah sure. I'll do it then.

senshiii avatar Oct 03 '20 15:10 senshiii