mirror of
https://github.com/community-scripts/ProxmoxVE-Local.git
synced 2026-04-25 04:35:50 +03:00
[PR #78] [MERGED] feat: Add filter persistence with settings integration #198
Labels
No labels
bug
enhancement
enhancement
feature
in progress
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/ProxmoxVE-Local#198
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/community-scripts/ProxmoxVE-Local/pull/78
Author: @michelroegl-brunner
Created: 10/8/2025
Status: ✅ Merged
Merged: 10/8/2025
Merged by: @michelroegl-brunner
Base:
main← Head:feat/settings_menue📝 Commits (2)
a92968efeat: Add settings modal with GitHub PAT and filter togglecbaa851feat: Add filter persistence with settings integration📊 Changes
15 files changed (+895 additions, -92 deletions)
View changed files
📝
.env.example(+5 -1)📝
public/favicon.png(+0 -0)📝
src/app/_components/DownloadedScriptsTab.tsx(+60 -0)📝
src/app/_components/FilterBar.tsx(+26 -0)➕
src/app/_components/GeneralSettingsModal.tsx(+308 -0)📝
src/app/_components/ScriptsGrid.tsx(+60 -0)➕
src/app/_components/ServerSettingsButton.tsx(+50 -0)📝
src/app/_components/SettingsButton.tsx(+7 -26)📝
src/app/_components/SettingsModal.tsx(+19 -58)➕
src/app/_components/ui/input.tsx(+23 -0)➕
src/app/_components/ui/toggle.tsx(+41 -0)➕
src/app/api/settings/filters/route.ts(+141 -0)➕
src/app/api/settings/github-token/route.ts(+75 -0)➕
src/app/api/settings/save-filter/route.ts(+75 -0)📝
src/app/page.tsx(+5 -7)📄 Description
🎯 Feature: Filter Persistence System
This PR introduces a comprehensive filter persistence system that allows users to save and restore their script filter preferences across sessions.
✨ Key Features
🔧 Settings Integration
💾 Persistent Storage
FILTERSvariable in .env file⚡ Smart Auto-Save
🔄 Seamless Restoration
📱 Enhanced UX
🛠️ Technical Implementation
API Endpoints
POST /api/settings/filters- Save current filtersGET /api/settings/filters- Retrieve saved filtersDELETE /api/settings/filters- Clear saved filtersComponents Updated
FilterBar- Added persistence props and loading statesScriptsGrid- Integrated filter loading/saving logicDownloadedScriptsTab- Added persistence supportGeneralSettingsModal- Added filter management UIData Flow
🎨 User Experience
This enhancement significantly improves user experience by maintaining their preferred filter settings, reducing the need to reconfigure filters on each visit.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.