-
Notifications
You must be signed in to change notification settings - Fork 10
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
ISSUE-198 - Reorganization of the plot of land interface, in particular for waste garbage cans #207
base: master
Are you sure you want to change the base?
Conversation
deployed locally, renders like this: strangely i cant select plots anymore in the search results. i can doubleclick on the plot line and it opens the info form, i can tick the 'select all' box, but the box on the plot line is inactive. thus i cant select the plot line to test the trash... creating a new empty selection tab 2, coming back to the selection 1 tab and clicking on the cross to close selection tab 2 destroys the wrong selection tab (ie tab1, the one where i had a plot from a map selection) |
Both issues have been fixed. |
This is a regression, it was working on previous version. This point has to be corrected before merging |
confirmContent={<Message msgId={'cadastrapp.search.confirmDeleteTab'}/>} | ||
onClick={(e) => { | ||
e.stopPropagation(); | ||
onTabDelete(!isDrop ? index : index + (MAX_TABS - 1)); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You can also (other solution) just pass the delete func as property to reduce function complexity:
<DeletePlot delete={() => onTabDelete(index + (MAX_TABS - 1))}/>
Function :
function DeletePlot ({
delete = () => {},
}) {
return (
<OverlayTrigger placement="bottom" overlay={<Tooltip><Message msgId={'cadastrapp.search.deleteTab'}/></Tooltip>}>
<ConfirmButton
href="javascript:void(0)"
confirmContent={<Message msgId={'cadastrapp.search.confirmDeleteTab'}/>}
onClick={(e) => {
e.stopPropagation();
delete();
}}>
<Glyphicon glyph="remove" />
</ConfirmButton>
</OverlayTrigger>
)
}
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Minor not required change
Multiple changes to the parcel search interface:
These changes have been reflected in the search for owners and co-owners to maintain the overall consistency of cadastrapp.
Tested in integration.
Mapstore 2023.02
Node 16.20.2