happylolonly / events-free-spa

:shaved_ice: Free events!
https://eventsfree.by
8 stars 5 forks source link

Tags for events #6

Closed happylolonly closed 5 years ago

happylolonly commented 5 years ago

Необходимо реализовать новый функционал добавления тегов для ивентов.

Задача непростая и будет состоять из 3 частей:

  1. Изменение фронтенда на основных страницах и в админке
  2. Добавление необходимой логики на сервере
  3. Обучение модели машинного обучения на данных и использование ее для определения тегов для ивента
happylolonly commented 5 years ago

@Chechko-Ivan предлагаю тут основные моменты обсуждать)

happylolonly commented 5 years ago

and maybe use English;)

happylolonly commented 5 years ago

In general I suggest to reuse already created UI for pages '/events' and '/event', and a little modify it for admin page.

At the bottom of detail event we need some component with name Tags, which at main event's page will show confirmed tags. And on admin page it will more complex and allow to modify tags.

happylolonly commented 5 years ago

@Chechko-Ivan, here is some plan. First three points we should done as soon as possible.

  1. Create new admin route (but not 'admin', cause we haven't got authentication now)
  2. It will be playground for new component Tags, which should include logic to just show tags on common page (but not now) and allow to modify them on admin page. This component will have at least props as:
    • tags
    • unconfirmedTags
    • id (event) And state.
  3. When Tags will have been created, need to reuse pages/EventPage (and update it) to create new admin page for modify events. We can change .../event/${id} to .../check/${id} to get on this page. There we can merge this changes to production. And I will be able to markdown events with tags for machine learning.
  4. Update Tags and components/EventItem to show tags for users. Thes also will merge.
  5. Create event's list page for admin route.
  6. Another fixes.
happylolonly commented 5 years ago

@Chechko-Ivan , thanks for partial help!