Skip to content

[Bug]: UI feedback messages on new bulk actions #18034

@snipe

Description

@snipe

Snipe-IT Version

8.3.3 - develop branch

PHP Version

N/A

Composer Version

N/A

MySQL/MariaDB version

N/A

How did you install Snipe-IT?

Git install

Is this a fresh install or an upgrade?

NA

What happened?

Some layout quirks in the UI feedback a user receives when they bulk delete things like Manufacturers.

In the case below, this is a partial success. I don't see any success messages telling me the ones that were deleted were actually deleted, and the spacing after you click on "show all" for those bullet points is too large, presumably because it's using a <details> and <summary> tag there:

@if ($messages = session()->get('multi_error_messages'))
<div class="col-md-12">
<div class="alert alert alert-danger fade in">
<button type="button" class="close" data-dismiss="alert">&times;</button>
<i class="fas fa-exclamation-triangle faa-pulse animated"></i>
<strong>{{ trans('general.notification_error') }}: </strong>
@foreach(array_splice($messages, 0,3) as $key => $message)
<ul>
<li>{{ $message }}</li>
</ul>
@endforeach
<details>
<summary>{{ trans('general.show_all') }}</summary>
@foreach(array_splice($messages, 3) as $key => $message)
<ul>
<li>{{ $message }}</li>
</ul>
@endforeach
</details>
</div>
</div>
@endif

Image

What browsers are you seeing the problem on?

No response

Can you reproduce this on the public demo?

Yes

Do you have full multiple company support enabled?

Yes

If you have full multiple company support enabled, do you have location scoping to company enabled?

Yes

Application log output

Browser console output

Common Issues

  • I have searched this repo for existing issues related to my issue (including closed issues)
  • My APP_URL is set correctly in my .env file (including http or https and no trailing slash)
  • I have searched the official Snipe-IT documentation and have checked the Common Issues documentation (where applicable)
  • I have run database migrations (where applicable).
  • I have attached screenshots and/or videos of the issue (where applicable)

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions