Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] prizm/components - PrizmSidebar при создание отстутствует свойство footer #94

Closed
1 of 7 tasks
gustav2775 opened this issue Mar 22, 2023 · 2 comments
Assignees
Labels
state:ready ready for release (pass tested)
Milestone

Comments

@gustav2775
Copy link

Библиотека

Выберите нужное отметив галочку [x]

  • @prizm-ui/core
  • @prizm-ui/components
  • @prizm-ui/install
  • @prizm-ui/icons
  • @prizm-ui/flag-icons
  • @prizm-ui/theme
  • @prizm-ui/charts

Компонент

PrizmSidebar

Версия

1.0.0-beta.26

Скрин / Видео проблемы

Screencast.from.22.03.2023.12.18.55.webm

Screenshot from 2023-03-22 12-43-10

Описание проблемы

Отсутствует свойство footer при создание sidebar. Нет возможности передвть полиморфный контент или текст, а так же скрыть footer.

Выдержа и документации к свойству footer.
"Footer template or button array (PrizmDialogButton) If pass empty string '', footer will not be showed"

Шаги воспроизведения:

  1. Зайти по адресу PrizmSidebar
  2. В footer установить текст, null, PolymorphContent
@AleksandrSibiakov
Copy link
Contributor

Хочу воспользоваться возможностью и поделиться мыслями: в библиотеке есть блок Widget - было бы здорово если бы он так же имел слот footer со схожей структурой\поведением.

Да и в целом, насколько вам кажется удачной идея использовать все тот же Widget для наполнения Sidebar? так мы получим схожее поведение и знакомые DOM структуры. Не надо будет беспокоиться что в одном месте футер\хедер работает так, а здесь иначе. (Так же вижу смысл в пере-использовании Panel для дефолтного заголовка, как в sidebar, так и в том же Widget).

@ZurabDev ZurabDev added the state:in_progress We work on this issue label Mar 31, 2023
@ZurabDev ZurabDev self-assigned this Mar 31, 2023
@ZurabDev ZurabDev added this to the 1.0.0.beta.28 milestone Mar 31, 2023
@ZurabDev
Copy link
Contributor

CleanShot 2023-03-31 at 05 32 41@2x

Исправлено. Будет в 28 версии

@ZurabDev ZurabDev added state:ready ready for release (pass tested) and removed state:in_progress We work on this issue labels Mar 31, 2023
@ZurabDev ZurabDev closed this as completed Apr 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
state:ready ready for release (pass tested)
Projects
Archived in project
Development

No branches or pull requests

3 participants