Skip to content

Shorten address text#596

Closed
stuartlangridge wants to merge 5 commits intoNerdyDayTrips:mainfrom
stuartlangridge:shorten-address-text
Closed

Shorten address text#596
stuartlangridge wants to merge 5 commits intoNerdyDayTrips:mainfrom
stuartlangridge:shorten-address-text

Conversation

@stuartlangridge
Copy link
Contributor

A succession of little JS functions each try to shorten the address displayed in the map popup bubble.
The reason for this approach is that it's easy to add new functions to the SHORTENERS list as and when we think of them.
This does not change the data stored in the markdown files; it only changes the address displayed in the popup bubbles on the map.
Note that this depends on and includes the dynamically-load-bubble-text PR at #593
This should hopefully alleviate the problems that motivated #558

…move full data from the main json file; when a venue map pin is clicked, dynamically load the full details for the venue at that point from the new individual JSON file at that point
A succession of little JS functions each try to shorten the address displayed in the map popup bubble.
The reason for this approach is that it's easy to add new functions to the SHORTENERS list as and when we think of them.
This does not change the data stored in the markdown files; it only changes the address displayed in the popup bubbles on the map.
Note that this depends on and includes the dynamically-load-bubble-text PR at NerdyDayTrips#593
This should hopefully alleviate the problems that motivated NerdyDayTrips#558
@popey popey self-requested a review June 17, 2025 11:01
@popey
Copy link
Contributor

popey commented Jul 8, 2025

Sorry for not getting to this sooner. Is this still necessary? I did some work improving the bubbles/popups, and I think that makes this unnecessary?

@popey
Copy link
Contributor

popey commented Nov 9, 2025

Thanks again, but I don't think we need this now, but feel free to argue with me if I'm wrong :D

@popey popey closed this Nov 9, 2025
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