Skip to content

New Explore cmd + maintainence#88

Open
Zoriot wants to merge 17 commits into
mainfrom
explore-cmd
Open

New Explore cmd + maintainence#88
Zoriot wants to merge 17 commits into
mainfrom
explore-cmd

Conversation

@Zoriot

@Zoriot Zoriot commented Jun 10, 2026

Copy link
Copy Markdown
Collaborator

Regions are now also use the continent from the region itself and not from the build team, now most are in the correct part in the menu. Now the Listeners for the navigator item are only registered if it's enabled in the config, so it will not clash with other plugins + saves resources.

This includes also important dependency Updates:

  • Projection had a faulty toGeo which swapped long and lat
  • Canvas had no proper support for bundles - fixes all our menus

@Zoriot Zoriot requested a review from a team June 10, 2026 22:45
@Zoriot Zoriot self-assigned this Jun 10, 2026
@Zoriot Zoriot added 🚨 high priority This currently has high priority. 🦐 small size This is a small issue. labels Jun 10, 2026
Zoriot added 3 commits June 11, 2026 11:52
- Create CitySelectorMenu for selecting cities within states
- Refactor StateSelectorMenu to dynamically detect states and sub-cities
- Update CountrySelectorMenu to open state selector for USA
- Use Hardcoded Logic for NYC City

 This enables navigation flow: USA → States → Cities (e.g., NY → NYC) & USA -> States -> New Jersey.
Make warp creation, editing, and deletion instantly responsive by:
- Updating local state immediately before API calls
- Sending success messages without waiting for network
- Processing API calls and cache updates asynchronously
- Rolling back local changes if API calls fail

This eliminates the multi-second delay users experienced when creating or editing warps, as operations no longer block on:
1. Network API request completion
2. Full cache refresh from API
3. BlueMap marker updates

Closes #89.
@Zoriot Zoriot added 🐻 medium size This is a medium issue. and removed 🦐 small size This is a small issue. labels Jun 11, 2026
@github-actions

github-actions Bot commented Jun 11, 2026

Copy link
Copy Markdown

Qodana for JVM

It seems all right 👌

No new problems were found according to the checks applied

💡 Qodana analysis was run in the pull request mode: only the changed files were checked
☁️ View the detailed Qodana report

Contact Qodana team

Contact us at qodana-support@jetbrains.com

Zoriot added 5 commits June 11, 2026 22:24
Fix NoSuchElementException when creating warps at coordinates with no location data (ocean/unmapped areas). Menu now reopens after errors so players can retry from a different location.

Fixes #58.
- Add @nonnull annotations to method parameters overriding @NotNull
- Add null checks and Objects.requireNonNull() for potentially null returns
- Replace printStackTrace() with proper ComponentLogger.error() calls
- Remove unused imports across multiple files
- Convert field constants to local variables where appropriate
- Add @SuppressWarnings for unavoidable unchecked warnings
- Fix stream API calls (collect(toList()) → toList())
- Replace size comparisons with isEmpty()
- Fix non-regex replaceAll() to use replace()
- Use parameterized logging to avoid string concatenation

Fixes 125+ code quality issues identified in Qodana report while maintaining all functionality.
The main remaining issues are Message / Component related which will be fixed once we add translation.
Hopefully very soon.

Now we don't set a baseline anymore for better reporting.
Implements #42. At least the light version of it.
This fixes parsing of other coordinate format's like the Simplex (BTE Israel) format.
@BuildTheEarth BuildTheEarth deleted a comment from github-actions Bot Jun 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🚨 high priority This currently has high priority. 🐻 medium size This is a medium issue.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant