koo5 / koordinator2000 Goto Github PK
View Code? Open in Web Editor NEWcrowd-defunding
Home Page: https://netlify--blissful-nobel-7b9749.netlify.app/
License: GNU Affero General Public License v3.0
crowd-defunding
Home Page: https://netlify--blissful-nobel-7b9749.netlify.app/
License: GNU Affero General Public License v3.0
this is for ethicalconsumer bulk import
Add a column to campaign table called twitter_tag.
Make a bot watch/scrape twitter, and treat mentions of the tag as participations.
acknowledgements were an interesting idea i guess, but they broke the whole mechanism. Maybe some more sophisticated "multi-level" engagement mechanism can be investigated? Maybe what's needed is to let users choose, do they want to wait for a number of unacknowledged participants or for a number of acknowledged participants or both etc.
or just have the front page have just a listing of titles and descriptions and maybe the progress bar?
the progress bar could be made to take up less height:
(The original design should probably be retained for introductory purposes.)
The "We want 50 people:" could be indicated by a "50" to the right.
add tooltips.
add "Participate" button could be next to it?
That's all, the rest would only be on the details page
this should be moved :) And it's a whole express server app, but all the logic is in app.js. Do we want to extend it into a real web app with some admin/management/statistics/etc logic?
user table has email field, which is populated automatically when social login is linked.
now we need to use that.
12:22 AM
]
koo5
:
@lachlan so i guess what we should do wrt e-mailing is to simply send an email when a first "threshold reached" notification is created
[
12:23 AM
]
koo5
:
so, that's pretty much only when there isnt any notification with a given user id and campaign id
[
12:23 AM
]
koo5
:
we'll just say "hey, time to act!" and link to /notifications, or something
[
12:25 AM
]
koo5
:
over the next few days i'm gonna clean up the nhost migration commits, and merge
[
12:25 AM
]
Lachlan
:
What if we reach 50/50
[
12:25 AM
]
Lachlan
:
or like 50% of goal
[
12:25 AM
]
koo5
:
50 what?
[
12:25 AM
]
Lachlan
:
example sorry
[
12:26 AM
]
Lachlan
:
Like if we reach 100% of participants or like a 50% goal of participants
[
12:26 AM
]
koo5
:
i guess it could/should be an option to receive an email in that case
[
12:27 AM
]
koo5
:
or... could be weekly updates or somesuch
[
12:27 AM
]
Lachlan
:
Yeah for upcoming campaigns or for joined campaigns?
[
12:27 AM
]
koo5
:
either hehe
[
12:28 AM
]
koo5
:
it's a literally endless space of possibilities ๐
[
12:29 AM
]
koo5
:
if you feel strongly about a particular option, we can build it
[
12:29 AM
]
koo5
:
in
[
12:31 AM
]
koo5
:
sorry, im tired, it was a pretty frustrating day, messing with database imports, overwritten system tables, figuring out how to propagate configs and other crap like that:)
[
12:33 AM
]
Lachlan
:
All good. Ill have a think about best email practices
[
12:33 AM
]
koo5
:
and sure enough there are still some problems left :slight_smile:
[
12:33 AM
]
koo5
:
awesome
[
12:34 AM
]
koo5
:
yeah i've occasionally been pondering it until now, and all i can come up with is what i wrote above, to send a single e-mail when the threshold is reached, and not worry about more complex cases for now
[
12:36 AM
]
koo5
:
there should possibly be a view that lists campaigns, but only those you're participating in, and where a threshold is reached. Possibly could be the dashboard that active users'd see first
[
12:36 AM
]
koo5
:
notifications should stay low level as they are i think - notifying of every change, not trying to be something high level
[
12:37 AM
]
koo5
:
but hey, your turn to think about it:)
[
12:39 AM
]
koo5
:
as a technical aspect, we should have a table that keeps track of what messages were sent or are yet supposed to be sent, because email services and IM bots go offline etc
Also, it should be rewritten to use subscriptions (but it could be kinda tricky)
we have a rich text collaborative editor working already. This will probably influence how to store rich text. Need a renderer. What to decide for, a safe subset of html? We already enter plain html in the plain textbox editor.
maybe it's all the hidden tooltiip divs? or the funky headings? Or it's the swiper?
user name or "unknown user" instead of "You", all this aligned to the right.
Server connection timeout - Sorry, our servers are probably throwing a party right now. Leave your e-mail and we will invite you the next time.
There's a global page margin now, so you have to be careful not start or finish your gesture at the edges. Also, we should probably add a theme selector into settings (the original non-theme was ugly but didn't have this and other issues).
or investigate if nhost can be used in a similar way, with granular auth. It was supposed to be possible to create ad-hoc users.
nhost seemed a nice way to ensure hosting is cheap and scalable, but required that we follow their auth mechanism.
SSR + various random libraries is still too finicky combination, and scaling could be an issue maybe, so i'm not that interested in playing with SSR here in forseeable future.
most importantly, sapper rebuild times are high.
but sveltekit is still too new
and snowpack .. well .. seems nice, but i'm struggling with putting it together with a nice UI component lib:
https://github.com/koo5/hackery2/blob/b09a0a87d0de8c81d6399aa764a8a447ff3bb8e1/notes/webdev#L20
so ... how fast is webpack or rollup nowadays?
but yeah, sveltestrap seems to work, throw in one of the usable one-off table components..
but i'm not super excited about sveltestrap either! so .. ?
"Let's do this" etc
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.