Style map toolboxes#59
Conversation
Extract map fetch functions from backend_communication.js into map_api.js. Move consumer-specific draw logic and state helpers (draw:created handler, add_single_consumer_to_array, count_consumers, unique_map_elements) from add_drawing_tools_to_map.js into consumer_selection.js so they only load on the consumer page. Add grid_design_map.js for grid-specific draw:created handler and trash bin override. Move remove_marker_from_map to integrate_map.js as shared utility. Fix search input form-submit on grid_design by adding event.preventDefault(). Fix trash bin to use late-binding arrow function so grid page can override customTrashBinAction. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…n consumer selection as well
Sounds good! I will also have a look at all the functionality after the styling is done and fix anything that is broken. Also feel free to exchange the symbols I used so far for the tools, they were more like placeholders.
Yes, that's fine, as the backend implementation of this feature also still needs some work anyway :) |
|
@bmlancien are you still working on this or is the feature finished from this side? I wasn't sure now. I noticed that the tooltips look the way we discussed from the styling, but that the boxes match the functions from the mockup and not the final version (e.g. we got rid of "Undo" for the actual implementation). |
|
Hi @paulapreuss I haven't been working on this anymore. I must have mixed up the functionalities... You can either remove the ones that are not necessary anymore or tell me which ones I should remove, as I don't remember anymore. |
|
@bmlancien alright thanks! No problem, I'll take care of that, just wasn't sure if this was still WIP so didn't want to work in parallel :) thanks for the design implementation! |
b2a139b to
e9459f6
Compare
|
Specific commit cherry-picked and implemented directly in #54 |
See #54 (comment)