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

Backport new features into the interactive template #30

Open
alykat opened this issue Mar 7, 2024 · 3 comments
Open

Backport new features into the interactive template #30

alykat opened this issue Mar 7, 2024 · 3 comments
Labels
Launch TODO This needs to happen when the project launches

Comments

@alykat
Copy link
Member

alykat commented Mar 7, 2024

No description provided.

@alykat alykat added the Launch TODO This needs to happen when the project launches label Mar 7, 2024
@alykat alykat added this to the ZZ - Post-launch milestone Mar 7, 2024
@DanielJWood
Copy link
Contributor

Update LESS package in the interactive template to avoid issues in the future. Per this commit: 9ab4c21

When trying to use this css file from maplibre, less.js choked on a couple different pieces of code that are from the most recent release of CSS. Updating LESS to version 4+ solved this issue.

@DanielJWood
Copy link
Contributor

Use getRemote() function from this project's s3.js helper library. See here: Chalkbeat/interactive-template#5

@DanielJWood
Copy link
Contributor

In the lazy loading area, I created an "isBackwards" flag that tells you which direction you came from:

var isBackwards = index < all.indexOf(previous) ? true : false;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Launch TODO This needs to happen when the project launches
Projects
None yet
Development

No branches or pull requests

2 participants