GithubHelp home page GithubHelp logo

esse-dev / a-web-monetization-story Goto Github PK

View Code? Open in Web Editor NEW
11.0 4.0 2.0 667 KB

An interactive, story-based Web Monetization tutorial for online creators.

Home Page: https://esse-dev.github.io/a-web-monetization-story/

License: Apache License 2.0

CSS 19.24% HTML 66.56% JavaScript 14.20%
webmonetization web-monetization monetization hackathon

a-web-monetization-story's Issues

Put code in the puzzle pieces

  • put code in puzzle pieces
  • make sure puzzle piece shadows / missing puzzle piece spots are the right size and disappear when a puzzle piece is dropped in.

New persona and backstory each time a user visits the site

Currently we have an online creator named Auden who blogs about their adventures with their dog Chicken.

It would be interesting to have a variety of personas and corresponding backstories, potentially even slight tweaks to the example code based on the persona's site.

This would provide further examples on how to leverage WM for various use cases.

Add animation delay to tutorial puzzle pieces

The puzzle pieces on the tutorial steps bounce right away, but that is distracting when a user gets to a step as it draws their attention away from the instructions right off the bat.

Proposing that the bounce is delayed for a few seconds to give the user time to read the instructions before the puzzle piece bounces.

It's currently tricky to add the animation delay because the puzzle pieces are always present on the site, so the animation delay will occur as soon as the site loads. By the time a user gets to the tutorial step, the animation delay will have already elapsed. Will need to do some refactoring to make the delay work.

Or, the puzzle piece can bounce on mouseover/hover...but that might make it harder for them to pick up and drag the puzzle piece.

Write content for landing page

Content includes: title of webpage, introduction to what the webpage does for the user (a creator), links (if relevant), and a "get started" button

Animate transitions between steps

Currently the webpage instantly transitions between steps. Would be cool to have a cute animation when moving from one step to the next.

Write content for steps

  • step 1 content is along the lines of
    "Enable monetization on your site by adding the WM meta tag. Drag the meta tag to its place!"
    "Perfect! The monetization meta tag goes in the of your website.
    We’ll go over how to include your own monetization account at the end of the tutorial."

  • step 2 content has to do with including Web Monetization JavaScript on your page to hide and show an element.

  • step 3 content has to do with signing up with a wallet provider and continuing your Web Monetization creator journey.

Organize files in repo

  • create directory for image assets
  • create directory for dragula
  • other organization as fit

If user navigates from and back to a page with .animate-in elements quickly, the animated elements in the page disappear

Repro steps:

  • go to page-0
  • press NEXT to go to page-1
  • immediately press BACK to go back to page-0
  • observe that the elements in page 0 are not visible.

This occurs because of the following code:

setTimeout(() => {
    animatedEl.style.opacity = 0;
}, 800);

It is very unlikely that a user will encounter this problem, as you have to move your mouse very quickly and intentionally to go back fast. It is also easy to recover from this problem, just press next to go to the next page.
So I am marking this bug as an enhancement.

Triangular user interaction flow should be improved

dragging the puzzle piece from the bottom-left to its place on the right and then clicking on "NEXT" in the bottom right, then going back to the bottom left to drag the next piece (and so on) doesn't feel very natural and forces the user to move their mouse across the whole screen on every page.

Fixes to the mobile view message

When the site is visited on a computer but with a narrow window size, it shows the mobile view. We should update the note to specify "full screen" so that it covers the case when it is viewed on a computer, but the window view is too small.

  • Visit this website in full-screen mode on a computer to try out an interactive Web Monetization tutorial for online creators.
  • Or, check out the following links for more information about Web Monetization and this project:

Create devpost hackathon submission

Submission should include:

A link to a public GitHub repository
Please list all open-source code, SDKs or APIs used.
Answer the questions on the submission form about your idea, your implementation, and the potential impact.
A short video demonstration of your prototype.
Please only 1 minute long.
With audio or video narration.
Answer all submission questions

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.