Giter VIP home page Giter VIP logo

react-kanban-board's People

Contributors

sbmsr avatar

Stargazers

 avatar

Watchers

 avatar  avatar

react-kanban-board's Issues

Issue 3: Task changes aren't being sent to the server.

What you need to do

Implement the functionality to send any changes made to the tasks to the server. Currently, the application doesn't send the changes made to the tasks, such as moving a task from one column to another, to the server.

Expected behavior

Any changes made to the tasks in the application, such as moving a task from one column to another, should be sent to the server and stored there. The changes should persist even after the application is closed and reopened.

Before:

b.mov

After:

a.mov

Issue 2: The application doesn't handle the onDragStart, onDragOver, onDrop, and onDragEnd events.

What you need to do

Implement handleTaskDragStart, handleTaskDragOver, handleTaskDrop, and handleTaskDragEnd to handle the drag-and-drop events.

The application currently does not handle these events, which are necessary for the drag and drop functionality of the tasks. They can be found between lines 24-48 of App.tsx.

Before:

before2.mov

After:

after2.mov

Subtask 2.1

Make sure the application doesn't incorrectly show duplicate tasks when dragged over themselves.

The application may display a duplicate of the task when a task is dragged over itself. Make sure this doesnt happen.

Before:

b.mov

After:

a.mov

Subtask 2.2

Make sure the application doesn't leave a lingering task when dragged over a column but dropped elsewhere.

If a task is dragged over a column but is dropped elsewhere, the application should not leave a copy of the task in the column.

Before:

b.mov

After:

a.mov

Subtask 2.3

Make sure the application doesn't delete a task that is dragged over its current column.

A task should not be deleted when it is dragged over its current column.

Before:

b.mov

After:

a.mov

Issue 1: The tasks aren't fetched from the server

What You Need to Do

Implement the task fetching functionality from the server. Currently, the application doesn't fetch the tasks from the server. This leads to no tasks being displayed in the application.

  1. Look at ./src/api/index.tsx, and implement fetchKanbanTasks
  2. Call this function from the useEffect in App.tsx

Expected Behavior

The application should fetch and display all the tasks from the server when it starts. All the tasks stored on the server should be visible in the application.

Before:

image

After:

image

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.