hackgvl / hackgreenville-com

HackGreenville's Website
https://hackgreenville.com
MIT License
16 stars 15 forks source link

Bug: Orgs and Org Tags in Laravel Don't Match the Orgs API Values #247

Closed allella closed 1 month ago

allella commented 1 month ago

I know we're migrating away from the Drupal orgs API, but in the meantime there's a tags bug that's making the OpenWorks coworking events dashboard show incorrect groups and events.

Here is the Orgs API list of orgs with a tag of "1", for OpenWorks

The Greer Programmers group and Women Who Code (previously we hosted them) are showing in the Events API results with tags=1 but they aren't tagged as such in the orgs API.

allella commented 1 month ago

Also, the Python org has recently been re-tagged with "1" and it's not showing in the Events API results for tags=1.

So, we have a mix of orgs that are tagged with "1" not being shown, and other orgs which are showing tagged as "1" even though that doesn't match the orgs API's tagging.

I've added a workaround to the OW dashboard, so this is not a pressing issue.

allella commented 1 month ago

@bogdankharchenko Another data point, which likely explains the earlier org tags issue and others.

The organizations in Laravel don't seem to be updating based on the orgs API. Are we still importing from data.openupstate.org , or is that completely not being used anymore?

I was able to manually update the Greenville Python Meetup in the database to update the values. That group and some others are recently reactivating. I've been updating the old orgs API, but those updates don't seem to be recognized.

bogdankharchenko commented 1 month ago

We need to be updating the data via the filament admin that @JSn1nj4 recently built. Have you given anyone access to this admin dashboard? Perhaps we can jump on a call sometime to figure out the access.

allella commented 1 month ago

@JSn1nj4 PR may have only been the auth and user related stuff. When I log in I don't see anything on the dashboard, which I assumed was because we didn't get that far.

I can edit this in the database for now. I just didn't realize the importer wasn't importing changes from the orgs API.

I'll work on redirecting data.openupstate.org to the HG site and I'll keep editing the orgs directly in the orgs table until we get a UI for it.

allella commented 1 month ago

image

allella commented 1 month ago

Closing this issue in lieu of waiting on the orgs admin UI to edit orgs through the site instead of expecting the importer to pull changes from the old Orgs API.

https://github.com/hackgvl/hackgreenville-com/issues/210