feat(resources): add multi-select bulk actions and date added column - #3784
Open
orochibraru wants to merge 2 commits into
Open
orochibraru wants to merge 2 commits into
orochibraru wants to merge 2 commits into
Conversation
orochibraru
requested review from
miloschwartz and
oschwartz10612
as code owners
September 17, 2026 14:15
Contributor
|
Curious what those 2 circles are from on those images. |
Author
You mean the NextJS devtools on the bottom left and the Tanstack devtools on the bottom right? |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Community Contribution License Agreement
By creating this pull request, I grant the project maintainers an unlimited,
perpetual license to use, modify, and redistribute these contributions under any terms they
choose, including both the AGPLv3 and the Fossorial Commercial license terms. I
represent that I have the right to grant this license for all contributed content.
AI Disclosure
Claude was used with the ponytail plugin. It handled the frontend integration as well as the translations. I also used it via Chrome MCP to run tests against a dev instance to make sure there's no flickering, misalignments or unexpected behaviour (in addition to manual testing of course).
Description
Summary
Adds multi-select with bulk actions to the public resources table, plus a new "Date Added" column. I built this because while I don't use the Pangolin UI much I do automate pangolin entries via API through other tools. A pain point I'm often facing is trying to filter by the last resource created or simply deleting multiple resources or disabling auth on multiple resources at once.
Bulk actions
sso: trueon each selected resource. TCP/UDP resources are skipped since they have no auth; the action is disabled if only those are selected.Promise.allSettled. Partial failures show a toast with the failed count, then the selection clears and the table refreshes.Date Added
createdAtcolumn onresources(sqlite and pg), set with$defaultFnon insert so every creation path (API, blueprints) is covered1.24.0migrations for sqlite (idempotent check) and pg (ADD COLUMN IF NOT EXISTS)GET /org/:orgId/resourcesreturnscreatedAtand acceptssort_by=createdAtNotes
-.1.24.0and runs once the app version is bumped.en-US.jsononly.Screenshots
How to test?
Spin this up and head over to the public resources page. There you'll see the checkboxes next to each item to select them and trigger the select field appearance from which you'll be able to either delete multiple resources, enable or disable platform sso as well as the new "created at column".