Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve typing in leases/helpers #537

Merged
merged 2 commits into from
Dec 12, 2024
Merged

Conversation

juho-kettunen-nc
Copy link
Contributor

Before, UI showed the first results of each that were unsorted by
backend. This meant that LeaseInfo could show area identifier and
address from an archived area, while unarchived areas would exist.

TODO: think with customer if feature should be implemented in backend instead, to align invoicing with UI.

Copy link
Contributor

@henrinie-nc henrinie-nc left a comment

Choose a reason for hiding this comment

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

Looks good, thanks for improving typing.
You can decide whether it should be implemented in UI or backend, although a more universal solution is better, e.g. if backend would solve this better.

@juho-kettunen-nc
Copy link
Contributor Author

Rebased over develop, to refresh the branch with last 3 weeks' changes.

@juho-kettunen-nc juho-kettunen-nc marked this pull request as ready for review December 12, 2024 14:48
@juho-kettunen-nc
Copy link
Contributor Author

Again rebased over develop

@juho-kettunen-nc juho-kettunen-nc changed the title MVJ-312 - Prioritize unarchived areas and primary addresses in the LeaseInfo header element Improve typing in leases/helpers Dec 12, 2024
@juho-kettunen-nc
Copy link
Contributor Author

juho-kettunen-nc commented Dec 12, 2024

This PR is no longer about ticket MVJ-312, because the ordering for LeaseArea and LeaseAreaAddress will be performed on the API side: City-of-Helsinki/mvj#790

@juho-kettunen-nc juho-kettunen-nc merged commit ec7bfb2 into develop Dec 12, 2024
3 checks passed
@juho-kettunen-nc juho-kettunen-nc deleted the MVJ-312-archived-areas branch December 12, 2024 15:05
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