Uploaded image for project: 'Cockpit'
  1. Cockpit
  2. COCKPIT-1311

Machines: Filter options for the VM list should be remembered

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Unresolved
    • Icon: Normal Normal
    • None
    • None
    • cockpit-machines
    • None
    • False
    • Hide

      None

      Show
      None
    • False
    • Testable
    • ?
    • ?
    • ?

      Started here: https://github.com/cockpit-project/cockpit-machines/pull/1035

      Once upon a time, a little dwarf had a huge stack of virtual machines... "This is too much for a little dwarf like me!" he said as he couldn't even reach the third machine without dangerously standing on a ladder.

      "I know! I filter them by running status or part of their name!"

      But then he left the house to look at one of the machines more closely, and when he returned in the evening, the stack of virtual machines was as huge as ever! The filters had disappeared!

      "This could be better." the dwarf said under his breath, gnashing his little teeth, and started writing a JIRA issue.

      "As a little dwarf, I want Cockpit to remember the filter options of the overview list so that I don't have to enter them from scratch every time I return to the list."


      Like the "Services" page, the filter options could be entered into the URL, or they could be part of the internal app state.

      Putting them into the URL makes them bookmarkable and persistent across sessions. But changes to them become part of the navigation history (if we don't do some magic). For example, every keystroke in the text input of the Services page creates a new browsing history entry. So we should probably do the magic and explicitly replace the current URL without creating new history entries. We probably need Shell support for that.

              Unassigned Unassigned
              mvollmer1@redhat.com Marius Vollmer
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: