[PR #1012] [CLOSED] Add color picker widget #1049

Closed
opened 2026-02-25 20:37:30 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/benbusby/whoogle-search/pull/1012
Author: @ellieeet123
Created: 5/31/2023
Status: Closed

Base: mainHead: main


📝 Commits (3)

  • 2bb2767 redoing the commit because I have extremely inadequate git skills
  • 9a0dd99 nope
  • 17f4f6a I sincerely hope it works this time

📊 Changes

4 files changed (+620 additions, -30 deletions)

View changed files

📝 app/routes.py (+2 -2)
app/static/widgets/color_picker.html (+575 -0)
📝 app/utils/search.py (+1 -0)
📝 app/utils/widgets.py (+42 -28)

📄 Description

Adds a color picker widget above search results when the keyword "color" or "colour" is in the query. Also slightly refactors the widget inserting code in the backend.

Note - During the writing of this I was interrupted by some real-life drama and had to step away from it for a few months and kind of forgot what I was doing here, so the code's quality isn't amazing. If you want to (or want me to) feel free to improve it or ask me to. But as far as I know it works for now.


🔄 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/benbusby/whoogle-search/pull/1012 **Author:** [@ellieeet123](https://github.com/ellieeet123) **Created:** 5/31/2023 **Status:** ❌ Closed **Base:** `main` ← **Head:** `main` --- ### 📝 Commits (3) - [`2bb2767`](https://github.com/benbusby/whoogle-search/commit/2bb2767fb7768f8b177b7304bf2c4f7d9aa0ea49) redoing the commit because I have extremely inadequate git skills - [`9a0dd99`](https://github.com/benbusby/whoogle-search/commit/9a0dd99a99292fdc3cb4e2cb9d4e1f9f8301cfb0) nope - [`17f4f6a`](https://github.com/benbusby/whoogle-search/commit/17f4f6a9a1cbf514d93d211c28f6e8dd1808019d) I sincerely hope it works this time ### 📊 Changes **4 files changed** (+620 additions, -30 deletions) <details> <summary>View changed files</summary> 📝 `app/routes.py` (+2 -2) ➕ `app/static/widgets/color_picker.html` (+575 -0) 📝 `app/utils/search.py` (+1 -0) 📝 `app/utils/widgets.py` (+42 -28) </details> ### 📄 Description Adds a color picker widget above search results when the keyword "color" or "colour" is in the query. Also slightly refactors the widget inserting code in the backend. Note - During the writing of this I was interrupted by some real-life drama and had to step away from it for a few months and kind of forgot what I was doing here, so the code's quality isn't amazing. If you want to (or want me to) feel free to improve it or ask me to. But as far as I know it works for now. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-25 20:37:30 +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/whoogle-search#1049
No description provided.