feat: 🎸 create table component and test in order#21
Draft
Conversation
Create in ui-shared our table components and testing they in order page with mock data
Member
🎉 Snyk checks have passed. No issues have been found so far.✅ security/snyk check is complete. No issues have been found. (View Details) |
create sort component using ant design library
Tornik73
requested changes
May 26, 2025
Tornik73
reviewed
Jun 2, 2025
libs/ui/ui-shared/src/lib/components/CustomSelect/CustomSelect.tsx
Outdated
Show resolved
Hide resolved
libs/ui/ui-shared/src/lib/components/CustomSelect/CustomSelect.tsx
Outdated
Show resolved
Hide resolved
libs/ui/ui-shared/src/lib/components/CustomTable/Table.module.scss
Outdated
Show resolved
Hide resolved
Tornik73
reviewed
Jun 2, 2025
libs/ui/ui-shared/src/lib/components/CustomInput/CustomInput.tsx
Outdated
Show resolved
Hide resolved
libs/ui/ui-shared/src/lib/components/CustomInput/CustomInput.tsx
Outdated
Show resolved
Hide resolved
Tornik73
requested changes
Jun 18, 2025
apps/fe-admin/src/components/ActionButtons/ActionButtons.module.scss
Outdated
Show resolved
Hide resolved
apps/fe-admin/src/components/Modal/modalType/order/addOrder.tsx
Outdated
Show resolved
Hide resolved
libs/ui/ui-shared/src/lib/components/CustomModal/CustomModal.tsx
Outdated
Show resolved
Hide resolved
libs/ui/ui-shared/src/lib/components/CustomSelect/CustomSelect.tsx
Outdated
Show resolved
Hide resolved
libs/ui/ui-shared/src/lib/components/CustomSelect/CustomSelect.tsx
Outdated
Show resolved
Hide resolved
libs/ui/ui-shared/src/lib/components/CustomTable/CustomTable.tsx
Outdated
Show resolved
Hide resolved
libs/ui/ui-shared/src/lib/components/CustomTable/CustomTable.tsx
Outdated
Show resolved
Hide resolved
Tornik73
requested changes
Jun 25, 2025
libs/ui/ui-shared/src/lib/components/CustomModal/modals/DeleteModal.tsx
Outdated
Show resolved
Hide resolved
Collaborator
Author
|
i think for delete we can make universal DeleteModal, but for editing we wanna create different modals component or what? write all logic, form and another in page? |
Collaborator
Author
|
AddModal maybe only for products, edit for user and product. OrderPage must have only delete |
Collaborator
Author
|
And what we go post on our DashboardPage? |
Tornik73
requested changes
Jul 1, 2025
apps/fe-admin/src/components/ActionButtons/ActionButtons.module.scss
Outdated
Show resolved
Hide resolved
libs/ui/ui-shared/src/lib/components/CustomTable/CustomTable.tsx
Outdated
Show resolved
Hide resolved
resolve changes BREAKING CHANGE: 🧨 resolve changes ✅ Closes: resolve changes
Collaborator
Author
|
i add logic to editOrderModal but i think we don`t need this modal, what u think about it? |
Tornik73
requested changes
Jul 2, 2025
libs/ui/ui-shared/src/lib/components/CustomButton/CustomButton.module.scss
Outdated
Show resolved
Hide resolved
Member
You can use your base modal, but pass forms and buttons in the children |
Member
Tornik73
requested changes
Jul 23, 2025
| }); | ||
|
|
||
| const handleDelete = (id: number) => { | ||
| setOrderData(orderData.filter((item) => item.id !== id)); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.


Create in ui-shared our table components and testing they in order page with mock data