Skip to content

Add stations support#241

Open
lenisko wants to merge 3 commits intoTurtIeSocks:mainfrom
lenisko:stations
Open

Add stations support#241
lenisko wants to merge 3 commits intoTurtIeSocks:mainfrom
lenisko:stations

Conversation

@lenisko
Copy link
Collaborator

@lenisko lenisko commented Nov 6, 2025

It's working, but would be great to take a peak at queries (if I didn't miss anything).

@lenisko lenisko requested a review from TurtIeSocks November 6, 2025 01:14
@vercel
Copy link

vercel bot commented Nov 6, 2025

@lenisko is attempting to deploy a commit to the turtiesocks' projects Team on Vercel.

A member of the Team first needs to authorize it.

@jfberry
Copy link

jfberry commented Nov 6, 2025

Not really sure how koji works in this regard or exactly what your PR does -- but a fort route would likely include pokestops, gyms and stations - I'm not sure you would want to map them seperately. Although it might make sense to show them on the map in a different way.

Copy link
Owner

@TurtIeSocks TurtIeSocks left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems mostly fine, just a couple of small comments.

Type::CirclePokemon | Type::CircleSmartPokemon => self.pokemon_mode_route,
Type::CircleRaid | Type::CircleSmartRaid => self.fort_mode_route,
Type::CircleQuest => self.quest_mode_route,
Type::CircleStation | Type::CircleSmartStation => self.fort_mode_route,
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is this correct?

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does this mean that stations will be included a fort plan? If so, then yes it's likely correct

#[sea_orm(string_value = "circle_station")]
CircleStation,
#[sea_orm(string_value = "circle_smart_station")]
CircleSmartStation,
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do we need CircleSmartStation? does rdm use it?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No clue! Copy-pasted pokemon.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

RDM db doesn't even support station :)

'circle_smart_pokemon',
'circle_raid',
'circle_smart_raid',
'circle_station',
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this can be completely removed for RDM, RDM does not have stations in DB

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.

4 participants