Skip to content

Closes #5 - #8

Merged
francisli merged 6 commits into
mainfrom
PG-5-add-leaflet-prototype
Jul 11, 2026
Merged

Closes #5#8
francisli merged 6 commits into
mainfrom
PG-5-add-leaflet-prototype

Conversation

@rnavarro97

@rnavarro97 rnavarro97 commented Jun 26, 2026

Copy link
Copy Markdown
Contributor

Adding the Leaflet prototype as a reusable component, LeafletContainer.

image

Some ways I'd like to improve on this in the future:

  • changing the height so that it fills the page without affecting the scroll capabilities of whatever page its in
  • Currently the map appears to stay on the top layer when opening the side navigation drawer. I would like to update the component to be concealed by that drawer when the user opens it.

@francisli francisli left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, I can confirm that I can see the map on the homepage...

I've updated the branch with the latest from main, which includes our Airtable API proxy endpoints. Create an Airtable Personal Access Token and set it in your server/.env file (as seen in example.env) along with the base id appxUdj6p8GQ4cC4G then you'll be able to hit /api/plots and see a list of results.

I've also run the linter and committed its code formatting changes. To run the linter, log in to the running container, then execute npm run lint.

There are still some errors/warnings to be addressed, but I'll let you work on it since I think you want to do a bit more styling/development...

@rnavarro97
rnavarro97 force-pushed the PG-5-add-leaflet-prototype branch from 50b638b to 162d628 Compare July 10, 2026 23:06
@rnavarro97
rnavarro97 force-pushed the PG-5-add-leaflet-prototype branch from 162d628 to bfa951f Compare July 10, 2026 23:07
@francisli
francisli merged commit 95331b5 into main Jul 11, 2026
5 checks passed
@francisli
francisli deleted the PG-5-add-leaflet-prototype branch July 11, 2026 00:09
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