Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add relay queues to staff tools #2522

Merged
merged 1 commit into from
Apr 13, 2023
Merged

feat: add relay queues to staff tools #2522

merged 1 commit into from
Apr 13, 2023

Conversation

bigint
Copy link
Member

@bigint bigint commented Apr 13, 2023

What does this PR do?

πŸ€– Generated by Copilot at 8a780ee

This pull request adds a new relay queues page to the staff tools section of the web app. The page allows staff to view and manage the relay messages sent by the app. The pull request also improves the loading and title display of the stats page in the same section.

Related issues

Fixes # (issue)

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Enhancement (non-breaking small changes to existing functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

Explanation of the changes

πŸ€– Generated by Copilot at 8a780ee

  • Add a new component RelayQueues to render the relay queues page for staff members (link)
  • Import the RelayQueues component in the new file relayqueues.tsx and export it as the default export to create a new route for the relay queues page (link)
  • Add a new menu item to the StaffToolsSidebar component with the title Relay queues, the icon ViewListIcon, and the url /stafftools/relayqueues to link to the new page (link, link)
  • Define a new GraphQL query RelayQueues in the file RelayQueues.graphql to fetch the relayer, address, and queue size of each relay address from the lens API (link)
  • Update the title of the MetaTags component in the Stats component to make it more consistent with the other subpages of the staff tools section (link)
  • Replace the Loading... text with the Spinner component in the Stats component to show a loading indicator when the data for the stats page is being fetched (link, link)

Emoji

πŸ“¨πŸ› οΈπŸ“Š

@vercel
Copy link

vercel bot commented Apr 13, 2023

The latest updates on your projects. Learn more about Vercel for Git β†—οΈŽ

Name Status Preview Updated (UTC)
prerender βœ… Ready (Inspect) Visit Preview Apr 13, 2023 7:50am
ui βœ… Ready (Inspect) Visit Preview Apr 13, 2023 7:50am
web βœ… Ready (Inspect) Visit Preview Apr 13, 2023 7:50am

@bigint bigint enabled auto-merge (squash) April 13, 2023 07:46
@vercel vercel bot temporarily deployed to Preview – prerender April 13, 2023 07:47 Inactive
@vercel vercel bot temporarily deployed to Preview – ui April 13, 2023 07:50 Inactive
@bigint bigint merged commit bf7e06a into main Apr 13, 2023
7 checks passed
@bigint bigint deleted the relay-queues branch April 13, 2023 07:55
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.

None yet

1 participant