profcomff / profcomff/webapp-ui

Компонент связанных аккаунтов

Open
#230 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

good first issue :baby: layout :bricks: new feature :new:
Dominant language
Vue
Stars
15
Forks
2
Avg merge
3m
Merged PRs (30d)
8

Description

Issue open by Roman Dyakov via telegram message.

Пользователь может привязать себе аккаунты нескольких социальных сетей, еще некоторые связи может добавить пользователю администратор. Например, связь между EasyCode и Твой ФФ.

Сейчас посмотреть список связанных аккаунтов может только разработчик через API. Хочется иметь возможность посмотреть этот список из интерфейса Твой ФФ. Спрятать это под доступ для администратора.

  • Создать новый Vue-файл в папке Components
  • Добавить файлу входную модель: показываемого пользователя. Документация и пример: https://vuejs.org/guide/components/v-model
  • Добавить компонент на экран профиля, передать в него переменную me в качестве модели. Куда добавлять: https://github.com/profcomff/webapp-ui/blob/main/src/views/profile/ProfileView.vue
  • Для каждого элемента в списке me.auth_methods выводить его название. Названия с id можно связать через словарь прямо в коде.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Create the new Vue component in the Components folder and review the linked v-model documentation for its user model. Add it to src/views/profile/ProfileView.vue with me as the model; done means the administrator-facing profile view lists a name for every item in me.auth_methods using an in-code id-to-name mapping.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
52/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.