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

Feature/assets bulk actions #1477

Merged
merged 15 commits into from
Dec 10, 2024

Conversation

rockingrohit9639
Copy link
Contributor

Issue #1451

Copy link
Contributor

@DonKoko DonKoko left a comment

Choose a reason for hiding this comment

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

  • Some server/client code mixup that needs resolving
    image
  • create booking modal is too skinny. Please make it the same as on the asset page
    image
  • When you try to add assets to existing booking that are already there, you get a nice message. That is fine for a singular asset but in this case you don't know which ones are added and which are not. Lets do a few things. 1) Lets first add a lit of the asset names of the ones that are already added. Then add a button saying something like: "Add only the rest of the assets". I can then figure out how to style it as I have no idea now.
  • On successfull "add to existing" lets replace the content of the modal with the following.
Booking updated
The assets you selected have been added to the booking. Do you want to add more or view the booking

With 2 buttons: "Add more"(just closes modal) and "View booking" that sends you to the booking.

app/components/list/index.tsx Outdated Show resolved Hide resolved
app/routes/api+/assets.add-to-booking.ts Outdated Show resolved Hide resolved
@DonKoko DonKoko merged commit 992b17f into Shelf-nu:main Dec 10, 2024
4 checks passed
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.

2 participants