Skip to content

Skip rebuild/publish when planet edits are unchanged #456

Description

@livid

Summary

Clicking OK in MyPlanetEditView currently triggers expensive save/rebuild/publish work even when the user did not change anything.

Improvement

Normalize the edit form into a comparable snapshot before saving, and return early when the sheet is effectively unchanged.

This should treat default-backed values like nil vs "" or nil vs default booleans as equivalent so a no-op submit stays a no-op.

Notes

  • Avatar changes should still count as real edits and continue to rebuild.
  • This improvement has now been implemented locally in commit a4ef95bd.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions