Giter VIP home page Giter VIP logo

strikedao.com's People

Contributors

eddiecornelious avatar fabidau avatar il3ven avatar mariapaulafn avatar timdaub avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

eddiecornelious

strikedao.com's Issues

Have Hito come up with an exemplary but potentially production-ready voting question and textual context

Screen Shot 2021-10-22 at 12 57 08

Screen Shot 2021-10-22 at 12 57 20

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.

using `--match` in ava, individually selected test runs three times under different file name

 ✔ 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. 😕

add new deadline on readme.md

  • bundeskunsthalle: march; they keep delaying the date
  • hito is considering "going alone" or launch it at documenta on september 2022

Double the stills in /assets/stills

Scope

  • in /assets/stills there are currently 695 .mp4 stills. But we want 695*2 stills in total. So essentially we to duplicate each still but preserve the still order in the folder
  • Currently, 000.mp4 is the first second of the strike video and 001.mp4 is the second, and so on

Deliverables

  • Make a copy of 000.mp4, shift 001.mp4 to 694.mp4 by +1 and rename the copy of 000.mp4 to 001.mp4
  • Repeat the process until we have every still twice but make sure the order is preserved

Time Estimate

1h

Implement query votes

In GH Action; worker thread fails to send email

✖ 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

MVP List of Tasks

  • Integrate a web server framework
  • Add function to allocate many tokens to one email
  • Add HTTP endpoint that takes in an email address to sign up
  • Add worker that sends email asynchronously
  • Integrate worker thread to send email;
  • address DOS problem below (1.)
  • #44
  • Seek decision on what level we want to integrate webflow: static HTML or more?
  • From token string, build an invite link
  • Add nginx as reverse proxy
  • provision and deploy a server on Hetzner
  • seek decision on #21
  • #30
  • #31
  1. If we don't confirm that the email is real, a problem that can arise is that some DOS out service with fake emails and uses all available stills.

RESTful API needs semantic versioning prefix

Scope

  • Unfortunately, we've neglected to add an API prefix /api/v1 for versioning to the API
  • Currently, all calls like /stills are appended straight to the server root, e.g. strikedao.com/stills
  • However, at least for actual JSON-accepting calls like in #63, we want to have them behind an API such that e.g. in the future we're able to upgrade it through semantic versioning, e.g. releasing /api/v2
  • With express.js, e.g. it is possible nesting endpoints under a prefix like this: app.use("/api/v1", v1);, so I'm assuming something of the equivalent is possible with fastify

Deliverables

  • For the endpoint POST /votes make sure it's POST /api/v1/votes
  • Consider also adding other endpoints to that prefix if they correspond to being an API endpoint. If they're www-formurlencode endpoints, I think it's better not prefixing them.

Time Estimate

  • 1h

Page information and keywords for SEO and other metadata, e.g. social media previews

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:

Screen Shot 2021-11-17 at 16 07 52

  • What should the title "Ethereum (ETH) Kurs ...." be for us?
  • What should the description "Was ist Ethereum..." be for us?
  • What keywords define our project? Come up with five.

When users share strikedao.com on e.g. Twitter: what should the preview card say?

  • Again: Please provide title, description
  • For Twitter, FB, ideally also provide an image /cc @leafilipo

Screen Shot 2021-11-17 at 16 10 35

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.