Skip to content

Add "Create Portal" button to portals tab#2221

Merged
KCarretto merged 2 commits intomainfrom
add-create-portal-button-9166352739207682382
Apr 15, 2026
Merged

Add "Create Portal" button to portals tab#2221
KCarretto merged 2 commits intomainfrom
add-create-portal-button-9166352739207682382

Conversation

@KCarretto
Copy link
Copy Markdown
Collaborator

This PR adds a "Create Portal" button to the top of the portals tab in the host details page. Clicking this button opens the "Create Quest" modal with the "SOCKS5 Relay" tome pre-selected and the beacons already filtered to the current host. This provides a streamlined workflow for creating portals, similar to the existing "Report File" functionality.

Key changes:

  • VirtualizedTableWrapper: Added actions and emptyStateAction props to allow inserting custom buttons into the table header and empty state.
  • CreatePortalQuestButton: A new component that handles the logic for opening the quest modal with pre-filled data.
  • usePortalQuestFormData: A custom hook that fetches necessary data (Tome ID, online Beacons) to populate the quest modal.
  • PortalTab: Updated to include the new button in both the header (for when portals exist) and the empty state.

PR created automatically by Jules for task 9166352739207682382 started by @KCarretto

- Update VirtualizedTableWrapper to support custom actions in header and empty state.
- Implement usePortalQuestFormData hook to fetch "SOCKS5 Relay" tome and host beacons.
- Add CreatePortalQuestButton component to trigger quest creation modal.
- Integrate CreatePortalQuestButton into PortalTab header and empty state.

Co-authored-by: KCarretto <16250309+KCarretto@users.noreply.github.com>
@google-labs-jules
Copy link
Copy Markdown
Contributor

👋 Jules, reporting for duty! I'm here to lend a hand with this pull request.

When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down.

I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job!

For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with @jules. You can find this option in the Pull Request section of your global Jules UI settings. You can always switch back!

New to Jules? Learn more at jules.google/docs.


For security, I will only act on instructions from the user who triggered this task.

@KCarretto KCarretto marked this pull request as ready for review April 15, 2026 00:26
@KCarretto KCarretto merged commit 1a88ac0 into main Apr 15, 2026
8 checks passed
@KCarretto KCarretto deleted the add-create-portal-button-9166352739207682382 branch April 15, 2026 00:26
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.

1 participant