Eleutheria Pay - Open source donation platform
-
@murgero Sure thing. I'll look into having the most common ones added. Email, FB, Twitter, Insta, Mastodon, Github. Any others you can think of?
Another thing I was thinking of was a "back arrow button" on the left side of the top nav which goes to whatever you configured your success URL to be (or it can be seperate... which is probably better. Along with the new CSS customizability it might be cool to have it "look and feel" like an extension of the site you link to it from. I did quite literally give full CSS access to the App.vue's global style section. For example, the current dark theme is matching my personal site's colour because I primarily made this for myself
-
@atrilahiji Discord, GitLab, maybe Element? Website of course.
-
I added a bunch. I'm really digging this icon pack and there are some gaps: https://feathericons.com/
I'll look for icons elsewhere for the remainder but I think the ones I got now are a good starting set.
-
Pushed one update, and then quickly pushed another change because I goofed things up bad. Check out the new demo.
-
@atrilahiji Looking good!
I assume it'll be possible to choose any Stripe supported currency in the back-end?
Might even be nice to let users choose too?
-
@jdaviescoates yeah it does allow any stripe supported currency. It is sending that exact string to their API in the post request I make. I didnโt want to make any assumptions and have to make a code change if they change how they accept that string.
I could certainly add a drop down. Stripe (or someoneโs bank) should handle the conversion but I can grab their supported currencies and just make it user defined and use the current setting as a preferred default. I just figured either way someone would front some sort of conversion cost.
-
@atrilahiji yeah, the conversion would happen either way, it's just that I think users are more likely to donate in their own currency because then they know how much they are actually donating upfront. Like I've no real idea what the conversion rate between CAD to GBP is right now so I'd have to go and do a conversion to check and then you might loose me
-
Ah I see, thats fair. I'll give that a shot then.
-
@jdaviescoates Added common currencies that have a lowest denomination that is 1/100 of the main denomination. The new demo is live.
I think my next thing is cleaning up the grid layout I have because the textbox and dropdown are obnoxiously large. I mean, it is certainly functional but could look better.Version 0.2.0 has been released! I'm actually quite pleased with this. Could it be better? Certainly! But it works quite well for my purposes. Of course, feel free to request features here or by emailing me at atri.lahiji@lahijiapps.dev.
Technically external account creation should work on my gitlab so I am sure you could make issues there too.
-
@atrilahiji nice work! Although I can't actually reach it at present due to an issue with your certs
-
@jdaviescoates oh I changed the demo link but I canโt edit the OP anymore. Check out the link on my repo
-
@atrilahiji ah, I guess editing timeout options must've changed with the recent update.
I found your new demo at https://eleutheriapaydemo.atrilahiji.dev/ in the repo as you suggested
If I were you I wouldn't default the amount to the lowest amount either, I note everyone else seems to go in the middle somewhere.
e.g. https://opencollective.com/mutual-interest-media/donate
I also like prefer how they've designed the UI over what you've got so far (although, overall, really great work, thanks!)
I'd be intrigued to know what currency it displays when you go to that link? I note I can't choose, but I don't know if that's because the default has been set by the collective, or if it's worked out my location (I think probably the former)
-
@jdaviescoates
EuroGBP seems to be the dafault. I can add back a currency default (with USD as the fallback if the default is not valid). Or I can try to be fancy and detect location and use USD or CAD as the fallback (probably USD its more widely used/known)Also, I just now realize that there are button style radio-buttons for bootstrap which I missed by not scrolling down:
https://bootstrap-vue.org/docs/components/form-radioI'll look into making these changes. I do agree it looks many times better.
-
@atrilahiji said in Eleutheria Pay - Open source donation platform:
GBP seems to be the dafault.
I think that's just because I've linked to collective that are UK based and have set that in their settings.
-
@jdaviescoates Pushed a change to make it look more like OpenCollective. There wont be a demo up yet as I want to have a few more things sorted (like a dedicated "other" button that reveals the textbox. Regular radiobuttons don't behave this way so I suspect I'd need to hack something together for this.
I've gotta say, I'm really liking the feedback
-
@atrilahiji said in Eleutheria Pay - Open source donation platform:
I've gotta say, I'm really liking the feedback
You are very welcome. Since I'm not a coder it's nice to be able contribute another way
-
This is what it would look like (don't mind the lack of title. Its the frontend running locally without the backend so it cant get the info.
-
@atrilahiji If you are going with a dark theme, might I recommend the following colors for button highlights:
- #375a7f
- #444
- #40739e
- #353b48
Also, I'd checkout https://flatuicolors.com/ for some color palette ideas