php-coder / mystamps

The site about post stamps where you can create a virtual collection
https://my-stamps.ru
GNU General Public License v2.0
20 stars 33 forks source link

Add UI for showing todo items of a series #1331

Open php-coder opened 4 years ago

php-coder commented 4 years ago

On the src/main/webapp/WEB-INF/views/series/info.html page we should show a list of todo items. It should have a header "TODO" (see "Similar series" as example). Every item should be a checkbox.

The items should be loaded from API (/todo/items?series_id=ID) and they might look like the following:

[
  {1, "Replace an image"},
  {2, "Add Michel numbers"}
]

In case of a failure from a server, the error should be shown.

Part of #197

php-coder commented 4 years ago

@milik27 Hi, please, let me know whether you still want to work on this issue. Otherwise, I'll assign it to another person. Thanks!

php-coder commented 4 years ago

The items should be loaded from API

It seems like we should use componentDidMount() for that. Please, correct me if I'm wrong.