Skip to content

Conversation

yashikakhurana
Copy link
Contributor

@yashikakhurana yashikakhurana commented Aug 8, 2025

Because

  • we want to allow users on home page in my deliveries section so that they can filter owned/subscribed

This commit

  • Adds my delivery filter
  • Also fixed the table header to support dark mode

Fixes #13215

@yashikakhurana
Copy link
Contributor Author

Untitled.mov
Screenshot 2025-08-08 at 9 48 07 AM

@yashikakhurana yashikakhurana linked an issue Aug 8, 2025 that may be closed by this pull request
Copy link
Collaborator

@jaredlockhart jaredlockhart left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cooool 🎉 🎉 🎉 🎉

Comment on lines +62 to +65
hx-get="{% url 'nimbus-ui-home' %}"
hx-select="#my-deliveries-table-section"
hx-target="#my-deliveries-table-section"
hx-trigger="change"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🎉 🎉 🎉 🎉 🎉 🎉 🎉

@yashikakhurana yashikakhurana self-assigned this Aug 11, 2025
Copy link
Collaborator

@jaredlockhart jaredlockhart left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very nice it all looks great thnx @yashikakhurana 🙏 🎉

Comment on lines +340 to +346
match value:
case MyDeliveriesChoices.OWNED:
return queryset.filter(owner=user)
case MyDeliveriesChoices.SUBSCRIBED:
return queryset.filter(subscribers=user)
case _:
return queryset # Default = All Deliveries
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Look at it go!

@yashikakhurana yashikakhurana added this pull request to the merge queue Aug 11, 2025
Merged via the queue into main with commit 9f473fe Aug 11, 2025
15 checks passed
@yashikakhurana yashikakhurana deleted the 13215/my_deliveires_filter branch August 11, 2025 20:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Home table header doesn't support dark mode My Stuff III- Add Filter: All / Owned / Subscribed
2 participants