Files
home-information/docs/dev/testing
Tony C 4305280c14 Location Editing Modal Redesign (#137)
* Implement template generalization for Entity/Location attribute editing

Add AttributeEditContext pattern enabling ~95% code reuse between Entity
and Location editing modals while maintaining type-safe owner-specific access.

- Add AttributeEditContext base class and owner-specific implementations
- Create generic edit_content_body.html template with extensible blocks
- Add template filters/tags for dynamic method calls and URL generation
- Update Entity/Location handlers to provide generalized context
- Replace specific templates to extend generic version
- Fix file upload and history restore template context issues

All Location tests (139/139) and Entity editing tests (17/17) passing.

* Updated documentation. Generic Attribute Editing, Testing

* Added unit tests and fixed linting errors.

* Rationalized view vs. edit mode names and directory organization.

* Fixed JS issues with previous refactor.

* More refactoring to rationalize view vs. edit mode.

* Yet more refactoring to rationalize view vs. edit mode.

* Continued refactoring to Javascript bug fixes for refactoring.

* Fixed a couple unit tests and linting errors.
2025-08-31 23:48:52 -05:00
..