profcomff / profcomff/webapp-ui
Компонент связанных аккаунтов
Nobody has claimed this yet.
- 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
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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