Skip to content

[Bug]: Minor Filtering and Sorting Issues #137

Description

@zkhcohen

Bug Description

Hello! I discovered a few minor filtering and sorting issues while working through my closet of 150+ items. I can split these issues into separate tickets if you prefer, or the agentic workflow doesn't play nice with this format.

  1. Filter / page persistence: Filters do not persist after a page refresh. This is frustrating when working with a large closet where the 100 item filter makes browsing a much better experience. The page you're currently viewing also doesn't persist.
  2. Items randomly re-sort after editing details: Occasionally, after editing the details on an item and closing the pane, the items in the UI re-sort themselves. This is frustrating when you're trying to modify multiple items in succession, because you have to hunt down the "next" item in the large inventory of clothing.
  3. Item details don't update: After modifying the details on an item, the UI doesn't display the updated details until you refresh or edit another item.
  4. Random ordering of clothing Type drop-down: The Type drop-down isn't ordered alphabetically or searchable, making selecting the type an inefficient endeavor.
  5. AI Analysis Failed warning not able to be dismissed: When AI analysis fails, the AI Analysis Failed overlay on the article of clothing will persist until you successfully analyze the item with AI, or recreate the item entirely.

Steps to Reproduce

Filter / page persistence:

  1. Apply a filter to the Wardrobe UI, such as 100 per page and/or navigate to a page > 1.
  2. Refresh the page.

Items randomly re-sort after editing details:

  1. Modify details on a few articles of clothing in succession. (EDIT: This may only impact the sort-by-date options.)

Item details don't update:

  1. Modify details on a few articles of clothing in succession.

Random ordering of clothing Type drop-down:

  1. Open the item details pane and select the Type drop-down.

AI Analysis Failed warning not able to be dismissed:

  1. Analyze items until one fails to be analyzed.

Expected Behavior

Filter persistence:

  • Filters do not persist after a page refresh and the page is always reset to 1.

Items randomly re-sort after editing details:

  • Items should maintain their original order in the UI after editing an item.

Item details don't update:

  • Item details should update as soon as an item is updated, rather than after subsequent updates or a manual page refresh.

Random ordering of clothing Type drop-down:

  • The Type drop-down should either be alphabetically ordered, or searchable, so it's not a "hunt and peck" to find the correct category.

AI Analysis Failed warning not able to be dismissed:

  • You should be able to dismiss the AI Analysis Failed warning on items of clothing without having to achieve a successful analysis, or deleting and recreating the item.

Actual Behavior

Filter persistence:

  • The filter setting should persist after a page refresh and if you're viewing a page > 1, it should stay on the same page.

Items randomly re-sort after editing details:

  • Items do not always maintain their original order in the UI after editing an item.

Item details don't update:

  • Item details do not always update in the UI after editing an item, necessitating a manual page refresh.

Random ordering of clothing Type drop-down:

  • The Type drop-down is not ordered alphabetically or searchable, making it difficult to select the desired category of clothing.

AI Analysis Failed warning not able to be dismissed:

  • When AI analysis fails, the AI Analysis Failed overlay on the article of clothing will persist until you successfully analyze the item with AI, or recreate the item entirely.

Deployment Type

Docker Compose

Version

1.5.1

AI Service

Other OpenAI-compatible API

Relevant Logs

Additional Context

No response

Checklist

  • I have searched existing issues to ensure this is not a duplicate
  • I have checked the deployment documentation

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions