Skip to content

QoL updates#1391

Merged
Azgaar merged 6 commits intomasterfrom
qol-updates
Apr 24, 2026
Merged

QoL updates#1391
Azgaar merged 6 commits intomasterfrom
qol-updates

Conversation

@Azgaar
Copy link
Copy Markdown
Owner

@Azgaar Azgaar commented Apr 24, 2026

Description

Azgaar and others added 4 commits April 24, 2026 18:59
Co-authored-by: Copilot <copilot@github.com>
…ates, and religions

Co-authored-by: Copilot <copilot@github.com>
Co-authored-by: Copilot <copilot@github.com>
@Azgaar Azgaar self-assigned this Apr 24, 2026
Copilot AI review requested due to automatic review settings April 24, 2026 19:36
@netlify
Copy link
Copy Markdown

netlify Bot commented Apr 24, 2026

Deploy Preview for afmg ready!

Name Link
🔨 Latest commit 2783d24
🔍 Latest deploy log https://app.netlify.com/projects/afmg/deploys/69ebcae8f7116b00089c6f33
😎 Deploy Preview https://deploy-preview-1391--afmg.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR introduces a set of UI/UX quality-of-life improvements across map generation prompts, hotkeys, and several editors (heightmap, states, cultures, religions).

Changes:

  • Added a new Heightmap “Fill” brush UI control and implementation for filling enclosed water / same-height areas.
  • Updated hotkey handling to support Alt+Shift editor shortcuts and bracket-key ([ / ]) brush resizing behavior.
  • Improved manual editing workflows with undo history and “do not overwrite existing” protections, plus tooltip/help text updates.

Reviewed changes

Copilot reviewed 7 out of 7 changed files in this pull request and generated 7 comments.

Show a summary per file
File Description
src/index.html Updated provinces ratio tooltip; added the new Heightmap Fill brush button and tooltip.
public/modules/ui/options.js Reduced the “regen without confirmation” time threshold from 5 minutes to 1 minute.
public/modules/ui/hotkeys.js Adjusted Alt handling; added bracket-key brush resizing interception logic.
public/modules/ui/heightmap-editor.js Implemented Fill brush behavior and related UI toggling.
public/modules/dynamic/editors/states-editor.js Added manual painting undo + “do not overwrite existing” option; updated brush tooltip.
public/modules/dynamic/editors/religions-editor.js Added “do not overwrite existing” option; updated brush tooltip.
public/modules/dynamic/editors/cultures-editor.js Added manual painting undo history; updated brush tooltip.

Comment thread public/modules/ui/heightmap-editor.js
Comment thread public/modules/ui/heightmap-editor.js
Comment thread public/modules/dynamic/editors/states-editor.js
Comment thread public/modules/dynamic/editors/cultures-editor.js
Comment thread public/modules/ui/heightmap-editor.js
Comment thread src/index.html Outdated
Comment thread public/modules/ui/hotkeys.js
Azgaar and others added 2 commits April 24, 2026 21:49
…detection

Co-authored-by: Copilot <copilot@github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
@Azgaar Azgaar merged commit 0a83846 into master Apr 24, 2026
8 checks passed
@Azgaar Azgaar deleted the qol-updates branch April 24, 2026 20:18
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.

2 participants