issues
search
hackgvl
/
open-map-data-multi-layers-demo
A bookmarkable map displaying all layers from HackGreenville Labs' Open Map Data
https://hackgvl.github.io/open-map-data-multi-layers-demo/
MIT License
2
stars
2
forks
source link
Add Contribution Banner
#30
Closed
ThorntonMatthewD
closed
1 year ago
ThorntonMatthewD
commented
1 year ago
Summary
Adds a banner to the top of the site to letting visitors know that the project is open source and where to go if they'd like to contribute.
The banner can be "X'd out" of, and it'll remain closed for the rest of the user's session.
The "Contribute" links in the maintaners pop-up now show as "Data Source" links.
The maintainers pop-up now has a prominent button to guide visitors to where they can learn more about contributing.
Screenshots
_
Desktop
Mobile
Banner
Maintainer Pop-up
Testing Plan
Contributor Banner
Verify that the banner is present at the top of the map page.
Navigate to the "About" page and verify that it appears there also.
Click the "X" icon on the right side of the banner.
Refresh the page. The banner should not reappear.
Open the page in an incognito tab. The banner shouild be back!
Return back to your first window. Open your browser's dev tools and run the following in the console:
sessionStorage.removeItem("disableHGLabsMapBanner");
Refresh the page, and the banner should be back again. :partying_face:
Maintainer Pop-up
Enable at least one feature set on the map
Hover over the maintainers control icon (second one down on the right)
Click on the "Click here to learn how to contribute!" button
It should have taken you
here
in a new tab
.
Summary
Screenshots
Testing Plan