[Feature Request] Show circles, polygons from RDM instances
Closed this issue · 0 comments
lenisko commented
Allow users to see circles (IV, raid) and polygons as saved in RDM.
The way rdm-tools show it, looks the best for end-users.
Proposed changes
Config addition:
"instances": {
"enabled": true,
"enabled_pattern": "^(prod|p)_*",
"allowed_types": ["circle_pokemon", "auto_quest", "circle_raid", "circle_smart_raid"],
"roles": []
}
Query:
SELECT `name`, `type`, JSON_EXTRACT(data, '$.area') as area FROM `instance` where type in ("circle_pokemon", "auto_quest", "circle_raid", "circle_smart_raid") AND `name` RLIKE "^(prod|p)_*"
Menu selection: Allow to show/hide by type
and name
.