DeeMcCart / CI_PP5_Jeweller

Jewellery website for CI Project 5
0 stars 2 forks source link

Task: Prevent Toasts from lingering on-screen #42

Closed DeeMcCart closed 6 months ago

DeeMcCart commented 6 months ago

EPIC: #35 UX

Issue #27 User feedback is parent issue), this is a requested enhancement to Toasts feature. Get rid of stale Toasts hanging around and blocking the user's drop down options!!!

Assumptions or Pre-Requisites:

Acceptance Criteria: (Must be completed before task is moved to 'Done')

Tasks

Before changing task status to 'Review' or 'Done' please provide comment (and screenprints if appropriate) as documentary evidence of task completion

DeeMcCart commented 6 months ago

DMcC 14/02/24: Added the following js into base.html (picked up from PP4):

<script>
    setTimeout(function () {
        let messages = document.getElementById('msg');
        let alert = new bootstrap.Alert(messages);
        alert.close();
    }, 5000);
</script>

Thought about it and going to keep display at top RHS for now - will review when looking at overall UX before submission