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

Disable or customize iD donation message #847

Open
1ec5 opened this issue Jul 13, 2024 · 0 comments · May be fixed by OpenHistoricalMap/iD#225
Open

Disable or customize iD donation message #847

1ec5 opened this issue Jul 13, 2024 · 0 comments · May be fixed by OpenHistoricalMap/iD#225
Labels
good first issue Good for newcomers ID

Comments

@1ec5
Copy link
Member

1ec5 commented Jul 13, 2024

As part of an OpenStreetMap Foundation fundraising campaign, openstreetmap/iD#10054 added a message to iD’s post-save screen soliciting donations to the OSMF to support OpenStreetMap. We’ve partially customized this screen so that it makes the point that OpenHistoricalMap needs the user’s financial support, then explains that their monetary contribution will instead go towards keeping OpenStreetMap running:

https://github.com/OpenHistoricalMap/iD/blob/06caacc6f334e2d95546d04b1d14353ca7062e4e/data/core.yaml#L1064-L1069

In fact, the link does go to an OSMF donation page:

https://github.com/OpenHistoricalMap/iD/blob/06caacc6f334e2d95546d04b1d14353ca7062e4e/modules/ui/success.js#L192

There’s nothing wrong with soliciting OSMF donations here; after all, the OSMF funds maintenance of iD, which benefits OHM’s fork of iD. However, the user is pretty unlikely to give if they can’t even be sure what the money would be going towards.

We can disable this message by setting the ENV__ID_SHOW_DONATION_MESSAGE environment variable to false:

https://github.com/OpenHistoricalMap/iD/blob/06caacc6f334e2d95546d04b1d14353ca7062e4e/config/id.js#L57

However, we might as well take the opportunity to solicit a donation to OHM through OpenStreetMap U.S. This would be a matter of changing the donationUrl constant to point to this donation form and naming OHM and OSMUS as the beneficiaries. Something like this:

Make a tax-deductable donation to OpenHistoricalMap through OpenStreetMap U.S. Any donation will go directly towards keeping OpenHistoricalMap running.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers ID
Projects
Status: No status
Development

Successfully merging a pull request may close this issue.

1 participant