Giter Club home page Giter Club logo

42exp's People

Contributors

atertel avatar kannaj avatar seanjhulse avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

42exp's Issues

Project name bug

There is a bug in the handleBlur event in ProjectForm.jsx

The aim is the ensure that all project names are unique. however the backend throws an error even if the names are only slightly related. example: 'Django' vs 'Django rest framework'.

Error: "Couldnt create your project"

I tried to create a new project, but the only thing happening was a notification with the text "Couldnt create your project".
I am using Firefox 53.0.2 on Ubuntu 17.04.

The text I put in was:

  1. Name: "Rubiks cube timing and progress optimization system"
  2. Repo link: ""
  3. Category: "Other"
  4. Skills: "HTML+CSS, Javascript, PHP"
  5. Details:
My project idea is a system for optimizing your progress in speedsolving Rubik's cubes. Optimizing should include:
- measure your times and get statistics like best single time or global average
- recreate your collection of puzzles virtually and find the cheapest way of upgrading the hardware
- suggest ways of improving based on your average and execution time of your algorithms

For that, a few more things are needed:
- database of the most common cube models (and the ability for users to create their own)
- database of algorithms
- account management system for accounts to store data for each user individually

You don't need to be able to solve a Rubik's cube or have one to be able to contribute to this project. I chose this topic because it has a lot of possible features and is something some people need.
It is possible to learn a lot of things with this project: managing a project, website building and designing, databases, ...

As the whole thing is going to be a Website/Web application, it is helpful to understand at least the basics of HTML, CSS and JavaScript. The server-side part is PHP maybe. Having at least one person knowing databases (SQL?) and how to connect them to PHP is helpful, as I only know about storing data in text files.
I already have experience in parts of the idea like the time measurement system, but the whole project is a bit too big for me.
If you're interested now, please join!

generate a database schema

Currently , we dont not have a schema to show the existing db tables.

node-pg-migrate has set up the migration table and relevant files.

Figure out a way to use those to generate a schema file similar to how rails generates schema.rb

Figure out how to merge two consecutive messages from the same user

As of now , each message in the chat system is rendered in its own component /components/messages.jsx - a good UX would be to merge to message components if they're from the same user and within a specific time period.

i believe this could be easily done with hijacking the new_chat_message chat message action in https://github.com/Kannaj/42EXP/blob/master/shared/actions/projects/project_messages.js and have the reducer perform the below function

  • check the last message in the project
  • if the last message is off the same user and within a particular time period -> merge the two messages

Message input box in the chat room needs fixing

The message box in the chat room currently is a textarea tag. It looks a bit ugly due to the rows attribute specified as a default.

We should try replacing it with a standard input box and include a button (probably called 'edit') which should open up an editor modal to type longer messages.

Alternative approach replace the message box with a <div contenteditable> tag which would allow the div to automatically increase on message overflow.

Cannot register with Github

I go to https://42exp.com/ and click the button "Register with Github" on the top right. The browser writes "Loading error" and tries to load "http://localhost:8000/auth/github/callback?error=redirect_uri_mismatch&error_description=The+redirect_uri+MUST+match+the+registered+callback+URL+for+this+application.&error_uri=https%3A%2F%2Fdeveloper.github.com%2Fv3%2Foauth%2F%23redirect-uri-mismatch". "Login with Github" shows the same error.

I am using Firefox 53.0.2 with Ubuntu 17.04.

Make sockethandlers api consistent

There are a few socket handlers like the below

socket.on('project:check_name',project_check_name)

project_check_name being a function which invokes pg-promise

And a few like the below

    socket.on('project:join',function(data,res){
      data.username = socket.getAuthToken().username
      join_project(data)
        .then(function(result){
          res(null,result)
        })
        .catch(function(err){
          winston.error('User cant join project : ',err)
          res('Cant join project')
        })
    })

The second one is more consistent and allows for easier testing. Make all apis consistent

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.