I don't think there is anything wrong with the current panel (https://i.imgur.com/LKqhoEK.png), but I think its organization could be better, since it is necessary to scroll down everything if you want to check a specific category, like Criminal Events (you can't simply type Criminal Events to see it) or even your personal bookmarks. The purpose of the new panel is to make things simpler and visibly more understandable to players who are using it as you will be able to visualize all categories first and once selecting any, you will get a list of places that are related to it:
(https://i.imgur.com/NBnJcmO.png)
Show content
(https://i.imgur.com/FOkq6m9.png)
Each category should have its own search panel so things don't get confusing and you end up getting results that don't belong in your search category.
These are the necessary tweaks to the current script:
- Only the left side of the GUI should appear when using /gps.
- 'X' button to close should be added to it.
- When selecting the category, it would automatically show the right panel and a list of all places related.
- Rename "User Defined" category to "Personal Places" as I think it suits better.
- "Personal Places" should be displayed at all times, despite not having any places saved, and should always stay on the top of the list (as personal choices are supposed to be a priority). Maybe the text could be 'red' if there are no places and 'green' if there are.
- "Add location" should be only available when using inside "Personal Places" category, so the edit box can be set to 'read only' in other categories and buttons should be disabled.