-
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
Search parcels by lot : numbered tabs #93
Comments
@MaelREBOUX I will ask developers for a check. I think it is an easy fix to do. |
Actually the titles for result tabs from various search types are defined by this function mapstore2-cadastrapp/js/extension/epics/search.js Lines 38 to 58 in 2273380
The current numbering system is implemented to provide a title to a tab that has not a specific title. mapstore2-cadastrapp/js/extension/components/PlotSelection.jsx Lines 91 to 93 in 2273380
So you will have "Selection 1", "Lot", "Selection 3"... So applying strictly this logic is not optimal, generating titles like: I think there is a mismatch of meaning between "Selection" as a "generic selection" of parcelles, or "Selection" as "selected on map". The application now want to express the first meaning. I think there are 2 ways to do this.
To do this we need to remove the current logic and add counter for each type when generating the titles, and removing the default case with no-title. @tdipisa what's your opinion ? |
Hello @offtherailz my opinion : I agree with your proposition. The important is to not have identical tab title |
warning : interaction with discussion in #115 (comment) |
Adding several tabs by selection => selection 1 | selection 2
Adding several tabs by lot => lot | lot
Possible to number the second kindsof tabs ?
The text was updated successfully, but these errors were encountered: