strikedao / strikedao.com Goto Github PK
View Code? Open in Web Editor NEWStrike DAO is an experiment in participatory governance of blockchain art institutions.
Home Page: https://strikedao.com
License: GNU General Public License v3.0
Strike DAO is an experiment in participatory governance of blockchain art institutions.
Home Page: https://strikedao.com
License: GNU General Public License v3.0
@leafilipo asked on Figma
So the question to Hito and @mariapaulafn are:
Will e.g. users sign up a week before the voting starts? Or will we launch the strikedao.com one day, and voters sign up and immediately vote? The answers to these questions structure the user flow beyond signing up via email.
For now, with our designs in Figma we've assumed that voters will be asked to answer a question based on images. The emotes for "watermelon", "apple" and "pear" represent the user's preference given the question what fruit they like most.
However, for now, we don't know yet what the actual questions will be. E.g. if we were to vote on issues not easily symbolized by emotes (e.g. a complicated city planning question), then our UI mockups wouldn't work anymore, or we'd have to come up with new symbols. Or an entirely new design even.
Hence, I believe it'd be best to have Hito et al. to come up with the real question and content that we'd like to see in the production-ready Strike app being voted on. That context and question can then inform further iterations on the design.
@mariapaulafn For now it probably makes most sense if I assign you to this task to coordinate.
font: Rockwell
✔ db_test.mjs › if allocating many tokens at once is possible (628ms)
deleting test.db
Attempting to read migration file "0_migration.sql"
Attempting to apply migration file "0_migration.sql"
Attempting to read migration file "1_migration.sql"
Attempting to apply migration file "1_migration.sql"
✔ db_test.mjs › if allocating many tokens throws when not enough are available (1.1s)
deleting test.db
Attempting to read migration file "0_migration.sql"
Attempting to apply migration file "0_migration.sql"
Attempting to read migration file "1_migration.sql"
Attempting to apply migration file "1_migration.sql"
✔ handlers_test.mjs › if allocating many tokens at once is possible (609ms)
deleting test.db
Attempting to read migration file "0_migration.sql"
Attempting to apply migration file "0_migration.sql"
Attempting to read migration file "1_migration.sql"
Attempting to apply migration file "1_migration.sql"
"if allocating many tokens at once is possible" is part of db_test.mjs only. 😕
new date: 15.02.2022
1h
query {
votes (
first: 1000
skip: 0
where: {
proposal: "QmWGwzPtBsKPc62qdzcYVmyPKDuDPeDfAHkrz1Y1pV3UT9"
}
orderBy: "created",
orderDirection: desc
) {
id
voter
created
proposal {
id
}
choice
space {
id
}
}
}
To send emails, for now I'm using "[email protected]" as the top level domain. I own this domain. Do we want to buy and use a different one?
TODO:
I'm collecting questions that I have about webflow here.
✖ workers › send_test.mjs › if email can be sent as worker thread
npm ERR! code ELIFECYCLE
─
npm ERR! errno 1
npm ERR! [email protected] test: `ava --serial --verbose`
npm ERR! Exit status 1
workers › send_test.mjs › if email can be sent as worker thread
npm ERR!
npm ERR! Failed at the [email protected] test script.
Difference:
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
[
npm ERR! A complete log of this run can be found in:
- 1,
npm ERR! /home/runner/.npm/_logs/2021-10-14T13_32_52_916Z-debug.log
+ 0,
]
Idea: it's because it doesn't have the variables from the .env
file
see ./src/workers/send.mjs
githubs:
@leafilipo
@ontologymachine
@franzihei
/api/v1
for versioning to the API/stills
are appended straight to the server root, e.g. strikedao.com/stills
/api/v2
app.use("/api/v1", v1);
, so I'm assuming something of the equivalent is possible with fastifyPOST /votes
make sure it's POST /api/v1/votes
To get indexed by Google and to make the website sharable with a preview on social media, we need some descriptions and keywords.
Here's an example of the data that we need to provide:
When users share strikedao.com on e.g. Twitter: what should the preview card say?
I have asked @leafilipo on Figma to provide an image that we'll use instead as it doesn't rescale based on the user's device resolution.
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.