[2.4, UI] Dashboard has a 'clear' button but its not show

Bug #1768767 reported by Andres Rodriguez
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MAAS
Fix Released
Medium
Unassigned

Bug Description

Dashboard has a clear button that would clear all discoveries, but it is not shown:
                </thead>
                <tbody data-ng-if="convertTo.saved || !discoveredDevices.length">
                    <tr data-ng-if="convertTo.saved">
                        <td class="col-11">
                            <i class="p-icon--success">Success:</i> {$ convertTo.hostname $} has been add to {$ site $}.
                            <a href="#/machine/{$ convertTo.parent $}" data-ng-if="convertTo.parent">Go to the machine devices page.</a>
                            <a href="#/devices" data-ng-if="!convertTo.parent">Go to the device listing.</a>
                        </div>
############## CLEAR BUTTON
                        <td class="col-1">
                            <button class="p-button--neutral" data-ng-click="convertTo.saved = false">Clear</button>
                        </td>
############## CLEAR BUTTON
                    </tr>
                    <tr data-ng-if="!discoveredDevices.length">
                        <td class="col-12">
                            No new discoveries
                        </td>
                    </tr>
                </tbody>

Changed in maas:
milestone: none → 2.4.0rc1
importance: Undecided → Medium
status: New → Triaged
Changed in maas:
assignee: nobody → Mike Pontillo (mpontillo)
Revision history for this message
Mike Pontillo (mpontillo) wrote :

This clear button is different. It's just for clearing the notification that tells you that you can see the newly-added device on the machine details screen (when you add a discovery as a container).

The button to clear all discoveries was discussed but not ever designed and implemented.

Changed in maas:
assignee: Mike Pontillo (mpontillo) → nobody
status: Triaged → Incomplete
Changed in maas:
milestone: 2.4.0rc1 → 2.4.0rc2
Revision history for this message
Martin Storey (cassiocassio) wrote :

Designed and implemented in 2.5.0

Changed in maas:
status: Incomplete → Fix Committed
Changed in maas:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.