[PR #303] [MERGED] Set search conditions to query parameters #508

Closed
opened 2026-03-15 14:22:53 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/axllent/mailpit/pull/303
Author: @yktakaha4
Created: 5/30/2024
Status: Merged
Merged: 6/1/2024
Merged by: @axllent

Base: feature/query-parametersHead: feat/search-params-qs


📝 Commits (3)

  • f6946f2 Set search conditions to query parameters
  • 807c058 Fixed by review
  • 7e039df Update query parameters when new message notified

📊 Changes

11 files changed (+106 additions, -21 deletions)

View changed files

📝 server/ui-src/components/ListMessages.vue (+10 -1)
📝 server/ui-src/components/NavMailbox.vue (+1 -0)
📝 server/ui-src/components/NavTags.vue (+16 -3)
📝 server/ui-src/components/Notifications.vue (+7 -0)
📝 server/ui-src/components/Pagination.vue (+16 -5)
📝 server/ui-src/components/SearchForm.vue (+6 -1)
📝 server/ui-src/mixins/CommonMixins.js (+17 -2)
📝 server/ui-src/stores/pagination.js (+2 -0)
📝 server/ui-src/views/MailboxView.vue (+9 -0)
📝 server/ui-src/views/MessageView.vue (+11 -2)
📝 server/ui-src/views/SearchView.vue (+11 -7)

📄 Description

This great OSS always helps me.

I use this every day, and I thought it would be more convenient if it was reflected in the query parameters when changing paging or limits.
This makes it easier to share search results with others.

I tested it in my local environment, but I don't know all the features so I may be missing something.
I'm not a front-end expert, so please let me know if you have any concerns.

only paging: /?start=0&limit=100

image

with search condition: /search?q=python+99&start=25&limit=25

image

tag search: /search?q=tag%3A10&start=50&limit=50

image


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/axllent/mailpit/pull/303 **Author:** [@yktakaha4](https://github.com/yktakaha4) **Created:** 5/30/2024 **Status:** ✅ Merged **Merged:** 6/1/2024 **Merged by:** [@axllent](https://github.com/axllent) **Base:** `feature/query-parameters` ← **Head:** `feat/search-params-qs` --- ### 📝 Commits (3) - [`f6946f2`](https://github.com/axllent/mailpit/commit/f6946f23e2f93c50cddba9a1a1ef867864ae4ac6) Set search conditions to query parameters - [`807c058`](https://github.com/axllent/mailpit/commit/807c058a6f6d594e4c530dde82737a0a60e59152) Fixed by review - [`7e039df`](https://github.com/axllent/mailpit/commit/7e039df342643cf847088681088cd5fbf12ed81e) Update query parameters when new message notified ### 📊 Changes **11 files changed** (+106 additions, -21 deletions) <details> <summary>View changed files</summary> 📝 `server/ui-src/components/ListMessages.vue` (+10 -1) 📝 `server/ui-src/components/NavMailbox.vue` (+1 -0) 📝 `server/ui-src/components/NavTags.vue` (+16 -3) 📝 `server/ui-src/components/Notifications.vue` (+7 -0) 📝 `server/ui-src/components/Pagination.vue` (+16 -5) 📝 `server/ui-src/components/SearchForm.vue` (+6 -1) 📝 `server/ui-src/mixins/CommonMixins.js` (+17 -2) 📝 `server/ui-src/stores/pagination.js` (+2 -0) 📝 `server/ui-src/views/MailboxView.vue` (+9 -0) 📝 `server/ui-src/views/MessageView.vue` (+11 -2) 📝 `server/ui-src/views/SearchView.vue` (+11 -7) </details> ### 📄 Description This great OSS always helps me. I use this every day, and I thought it would be more convenient if it was reflected in the query parameters when changing paging or limits. This makes it easier to share search results with others. I tested it in my local environment, but I don't know all the features so I may be missing something. I'm not a front-end expert, so please let me know if you have any concerns. only paging: `/?start=0&limit=100` ![image](https://github.com/axllent/mailpit/assets/20282867/6434b809-493d-42e1-b240-f06d04c3551b) with search condition: `/search?q=python+99&start=25&limit=25` ![image](https://github.com/axllent/mailpit/assets/20282867/8b1a8074-d41a-4bd0-9e05-deb2eb933d00) tag search: `/search?q=tag%3A10&start=50&limit=50` ![image](https://github.com/axllent/mailpit/assets/20282867/9864364f-09ad-437a-a48f-70cdc99836c9) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-15 14:22:53 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/mailpit#508
No description provided.