Geo Replicable Details - Hookup GraphQL API
What does this MR do and why?
Closes #513131 (closed)
Behind feature flag Feature.enable(:geo_replicables_show_view)
This change hooks up the Geo GraphQL client and Apollo to the Geo Replicables Details View.
Screenshots or screen recordings
Screen_Recording_2025-02-03_at_3.46.55_PM
How to set up and validate locally
Setup Geo (optional)
Important: To properly test Geo you will need a separate GDK setup. Setup is straightforward but takes some time. Another option is to validate the code functionally and if needed schedule a call to sync and I can screen share my instance.
- Ensure no other GDKs are running.
gdk stop/gdk kill - Open an empty directory and install and run Geo with the one-line command found on the Easy installation instructions
- Access your primary and secondary Geo instances via
127.0.0.1:3000and127.0.0.1:3001.
Testing
- Enable feature flag
Feature.enable(:geo_replicables_show_view) - Access your secondary GDK Geo Page (
127.0.0.1:3001/admin/geo) - Scroll down to the very bottom
Replication detailssection - Click one of the blue links (ex:
Project Repositories) - If needed find a tab that has list items
- Click the link
- Ensure loading state is shown and after successful GraphQL request a javascript object is printed to the string and the ID matches the list item you clicked.
Related to #513131 (closed)
Edited by Zack Cuddy