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

Add geolocation by country for UseGalaxy geographies outside of Main UseGalaxy Sites #2435

Open
hujambo-dunia opened this issue Feb 28, 2024 · 7 comments

Comments

@hujambo-dunia
Copy link
Collaborator

@bebatut:
Screenshot 2024-02-21 at 16 50 48
also what is the criteria to be in the list?
Could usegalaxy FR be there too?

Glossary:

  1. "Main UseGalaxy Sites" - defined as the 3 UseGalaxy.* sites (US, EU, AU) as of Feb 28, 2024
@hujambo-dunia
Copy link
Collaborator Author

hujambo-dunia commented Feb 28, 2024

As a reminder, current implementation of UseGalaxy dropdown-button is client-side "simulated geolocation" by UTC time which requires no additional third-party connection or technology outside of user's browser. Please be aware that some enterprise-level (ie. real) geolocation involves third-party geolocation (or "share your current location" dialog boxes).

@hujambo-dunia hujambo-dunia changed the title Add server-side geolocation for UseGalaxy geographies outside of Main UseGalaxy Sites Add geolocation by country for UseGalaxy geographies outside of Main UseGalaxy Sites Feb 28, 2024
@bebatut
Copy link
Member

bebatut commented Feb 29, 2024

Glossary:

  1. "Main UseGalaxy Sites" - defined as the 3 UseGalaxy.* sites (US, EU, AU) as of Feb 28, 2024

Where is this definition? I can not find it in the Glossary: https://galaxyproject.org/get-started/glossary/
But, FR is in the list of UseGalaxy Resources here: https://galaxyproject.org/use/

@hexylena
Copy link
Member

Yes, I also find the "main sites" a confusing distinction given https://galaxyproject.org/usegalaxy/, if we wanted to separately class the "global region operators" or something, that could make sense? But we just need to clarify what the purpose of that menu is, is it to bring you to the closest usegalaxy.* (sure, fine, "usegalaxy" membership involves some commitment of functionality)

or is it just to drive traffic to a "world region operator", thus only including eu/au/us, in which case 'galaxy australia' should be 'asia/pacific' and 'europe' should probably be 'europe, middle east, and africa' to clarify whom that galaxy is for.

(love timezone based detection, how fun! and cookie/privacy intrusion free!)

@hexylena
Copy link
Member

hexylena commented Feb 29, 2024

Alternative implementation of geolocation: request the favicon and see which arrives fastest! galaxyproject/training-material@3597cbd

it'll be in a future version of my.galaxy.training :)

fr image took 49 ms to load [galaxy.html:265:10](http://localhost:4000/training-material/short/galaxy.html)
eu image took 923 ms to load [galaxy.html:265:10](http://localhost:4000/training-material/short/galaxy.html)
au image took 1066 ms to load [galaxy.html:265:10](http://localhost:4000/training-material/short/galaxy.html)
us image took 1230 ms to load

good job to the fr team for having such a responsive server (@abretaud @lecorguille) though paris is closer than freiburg for sure

@hujambo-dunia
Copy link
Collaborator Author

Glad to provide a little background. The existing state (in the context of the feature request only) was suggested by @hexylena at GOATS meeting on Jan 23, 2024 and verbally agreed upon by others at the meeting (US, EU, AU) who lacked a direct button to UseGalaxy.* on the Hub Home Page for years. If anyone wants to change the future state, feel free to assign this issue to a team member who wants to implement the change - at which point the "definition" would change.

@hexylena
Copy link
Member

hexylena commented Feb 29, 2024

button to UseGalaxy.*

ok, so if the current state is just about UseGalaxy.* servers, then france should be there, as it meets the requirements, and is listed on the usegalaxy page, https://galaxyproject.org/usegalaxy/ and was listed there already on Feb 28, it's been there since a few days before christmas.

@hexylena
Copy link
Member

(Just don't want our server admins who worked hard to meet dot-star requirements to feel left out, if it's about dot-star. If the button definition currently is not dot-star we should clarify that, is all.)

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

No branches or pull requests

3 participants