freefeed-react-client icon indicating copy to clipboard operation
freefeed-react-client copied to clipboard

No way to chose subscription lists in user-info overlay

Open indeyets opened this issue 5 years ago • 1 comments

Hover cursor over username. The user-info overlay pane is shown. Click "Subscribe".

Actual behavior: User is instantly added to "Home" friend-list

Expected behavior:

  1. Show "Subscribe" dialog pane, positioning it below the clicked link
  2. Disable mouse-out handler so that user-info overlay is not hidden until subscribe dialog is closed
  3. Click outside of 2 open panes closes both of them
  4. ESC button closes "Subscribe" pane and allows user-info to be closed (if pointer is out of it)

indeyets avatar Jun 06 '20 12:06 indeyets

Я об этом думал, но реализовывать это именно в таком виде я боюсь. Получится двухуровневый попап, который к тому же меняет режим своего закрытия в зависимости от контекста (сейчас-то user card закрывается просто по mouse out). Это ужасно.

Как вариант — открывать диалог подписки модальным попапом, с затемнением страницы, не привязывая его вообще к user card.

davidmz avatar Jun 06 '20 16:06 davidmz