-
Notifications
You must be signed in to change notification settings - Fork 150
Frontend: компонент базы знаний в админ панели #905 #970
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
base: main
Are you sure you want to change the base?
Conversation
| isPublished: boolean | ||
| } | ||
|
|
||
| type KBprops = { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
просто TProps
| import { useForm } from '@inertiajs/react' | ||
| import { useTranslation } from 'react-i18next' | ||
|
|
||
| type KBarticle = { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
KnowledgeBaseEntry
| if (!form.data.title.trim()) { | ||
| return | ||
| } | ||
| console.log(e) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
консолька
| @@ -0,0 +1,76 @@ | |||
| import { Title, Table, Checkbox, Button, TextInput, Group, Container, Anchor } from '@mantine/core' | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Посмотри в целом хорошо бы обработать состояния ошибки, загрузки, пустого массива
…edgeBase widget, add loading/empty array/empty filter result managment
Что сделано:
Ссылка на задачу: #905