Skip to content

Feature/#90 add different colors of usernames#108

Merged
Kibnet merged 2 commits intomasterfrom
feature/#90-Add-different-colors-of-usernames
Dec 8, 2021
Merged

Feature/#90 add different colors of usernames#108
Kibnet merged 2 commits intomasterfrom
feature/#90-Add-different-colors-of-usernames

Conversation

@UnluckyD
Copy link
Copy Markdown
Collaborator

No description provided.

Copy link
Copy Markdown
Collaborator

@KlinskiyDD KlinskiyDD left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Все класно работает. Есть пару замечаний в коде. Я думаю, что Паша сможет более точно внести правки.

Правильно ли я понял, что цвета у пользователей должны быть разными при каждом новом запуске? Если да, то этот эффект не достигнут.

KlinskiyD
KlinskiyD previously approved these changes Oct 2, 2021
Copy link
Copy Markdown
Contributor

@Kibnet Kibnet left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Да, фича работает в основных сценариях. Но нужно исправить:

  • Если выбрать сообщение для цитирования, над полем ввода сообщения отображается блок, где есть имя пользователя. Цвет там остался черным, нужно тоже раскрасить.
  • Когда я делал коммит с прототипом, там было правильно разнесено по проектам, ты фишку не понял и всё засунул во вьюмодель, надо поправить, чтобы авалонии и следа не было там.
  • Некоторые выбранные цвета кажутся слишком светлыми для белого фона. Надо заменить.

@UnluckyD UnluckyD force-pushed the feature/#90-Add-different-colors-of-usernames branch 2 times, most recently from 0348517 to 6bdeb7c Compare October 4, 2021 12:47
Copy link
Copy Markdown
Contributor

@Kibnet Kibnet left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Я понял что мы пошли неправильным путём. Нужно сделать конвертер, который на входе будет получать через биндинг идентификатор пользователя, а в разметку возвращать цвет. Большая часть проблем сама уйдёт при таком подходе. Соответсвенно текущий код надо переместить в конвертер.

@UnluckyD UnluckyD force-pushed the feature/#90-Add-different-colors-of-usernames branch from 3794cff to cf927c2 Compare October 5, 2021 14:45
@UnluckyD UnluckyD requested a review from Kibnet October 5, 2021 14:48
@UnluckyD UnluckyD force-pushed the feature/#90-Add-different-colors-of-usernames branch from cf927c2 to b56e0fd Compare October 5, 2021 14:52
KlinskiyDD
KlinskiyDD previously approved these changes Oct 5, 2021
Mileeena
Mileeena previously approved these changes Oct 6, 2021
EvgeniyLyapunov
EvgeniyLyapunov previously approved these changes Oct 6, 2021
Copy link
Copy Markdown
Contributor

@Kibnet Kibnet left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Выглядит понятно и изящно. Есть пару косячков, лучше исправить.

@UnluckyD UnluckyD dismissed stale reviews from EvgeniyLyapunov, Mileeena, and KlinskiyDD via 058ad88 October 7, 2021 11:46
@UnluckyD UnluckyD force-pushed the feature/#90-Add-different-colors-of-usernames branch from b56e0fd to 058ad88 Compare October 7, 2021 11:46
@Kibnet Kibnet force-pushed the feature/#90-Add-different-colors-of-usernames branch from 058ad88 to e5d62c5 Compare December 8, 2021 19:35
@Kibnet Kibnet merged commit bfc186d into master Dec 8, 2021
@Kibnet Kibnet deleted the feature/#90-Add-different-colors-of-usernames branch March 27, 2026 10:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Добавить разные цвета имен пользователей

6 participants