seikur0 / PGO-mapscan-opt

GNU General Public License v3.0
111 stars 50 forks source link

[Request] Time labels color based on rarity #201

Open FrozenSocket opened 8 years ago

FrozenSocket commented 8 years ago

This would be a further great addition to @Trustmania labels update.

The really great thing here is the rarity could be personalized to the location been scanned not just some pecking order decided by a person in another country where the spawn rarity is completely different.

We have a list of everything that's spawned in our range and that could be used to decide the local rarity.

Trustmania commented 8 years ago

Hi @FrozenSocket, i see. the question is, how it will be for the overview. Actually i like it, that i can see on one view which pokemon are there and which are hidden.

What do you think, could it be a option, to have the left border in different colors?

Actually i'm sitting on a different story (will be a supriese ^^). I think @seikur0 is as well busy with new features.

Do you know, what i like? If the comunity deliver idears to bring the whole thing forward...

darkforcesjedi commented 8 years ago

You can replace the image in webres/static/icons/ with whatever you want. I use assets ripped from Pokemon Go with labels added. You could edit the image to add something to your desired pokemon to make them stand out.

FrozenSocket commented 8 years ago

Started working on a little bit of code to address this today, just wanted to give a heads up incase someone was already working on it; please let me know.

Trustmania commented 8 years ago

me not... so feel free :-)

Trustmania commented 8 years ago

Can you pls. post a few screenshots if you have something?

darkforcesjedi commented 8 years ago

I would suggest implementing into the filter (instead of on/off, it could be high priority/low priority/off).

seikur0 commented 8 years ago

The filter can get these something like presets, which you could freely name and put in the settings file. The pokesite.py would pass these settings on as ajax call. But that's something separate from the time labels.

I like the idea of color coding the border based on rarity (settings can be passed from the settings file as well, but for now, just put them into the html and I'll move it later, if you want.) And I'd like to keep that separate from the filter, because these are two different things.

FrozenSocket commented 8 years ago

I'm thinking of something a little more dynamic to the individual but totally agree the coloring is a separate issue to the spawn filter as far as the work I plan is going anyway.

darkforcesjedi commented 8 years ago

I was talking about the filter on the web front end, not the spawn filter that pokesite.py uses. Separately implementing an importance setting per Pokémon kind of makes the filter redundant. Right now the filter popup toggles between 2 visual styles when you tap on a Pokémon name. There is no reason you couldn't define 3 or more visual styles and cycle through them. You could even add some options to the top of the list to toggle display of the different "importance" groups. You could even add an option to only display Pokémon within a certain distance of your position. So then the user could choose the "high importance" or "red" (whatever you want to call it) setting for Dragonite and the "medium importance" or "yellow" setting for Dragonair and a "low/normal importance" setting for Dratini and "no importance" for Pidgey to hide it all from the same interface.

Depending on the setting, a style could be applied, not just to the time label, but to the marker as well.

darkforcesjedi commented 8 years ago

If that isn't sufficient then maybe I don't understand what you are referring to.

FrozenSocket commented 8 years ago

Totally agree with everything your saying @darkforcesjedi ; my view is that the rarity of a pokemon to the individual does not change day to day (yes over time maybe but let's ignore that). Either a pokemon is spawning a lot or a little this doesn't/shouldn't change because I choose a certain web filter. But there could be overlap as you've said letting people filter on certain rarity levels/percentages maybe?