Giter Club home page Giter Club logo

docs's People

Contributors

akeem avatar austinrobey-git avatar caseorganic avatar ccarfi avatar chialit avatar clemsos avatar cnasc avatar desertrat10 avatar gitbook-bot avatar hardlydifficult avatar i001962 avatar julien51 avatar kalidiagne avatar melissagwolf avatar nfurfaro avatar omahs avatar patrickworkman avatar paulieb14 avatar picsoung avatar renovate[bot] avatar robinpan1 avatar satwikkansal avatar searchableguy avatar shaunchurch avatar sigurdarson avatar smombartz avatar solomonfoskaay avatar timfalls avatar wonderwomancode avatar zachalam avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

docs's Issues

Dependency Dashboard

This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

Open

These updates have all been created already. Click a checkbox below to force a retry/rebase of any.

Ignored or Blocked

These are blocked by an existing closed PR and will not be recreated unless you click a checkbox below.

Detected dependencies

npm
package.json
  • @babel/helper-get-function-arity 7.16.7
  • @docusaurus/core 2.4.1
  • @docusaurus/plugin-client-redirects 2.4.1
  • @docusaurus/plugin-content-docs 2.4.1
  • @flockler/react-flockler-embed 1.0.4
  • @mdx-js/react 1.6.22
  • @unlock-protocol/networks 0.0.15
  • clsx 1.2.1
  • docusaurus-gtm-plugin 0.0.2
  • docusaurus-node-polyfills 1.0.0
  • docusaurus-preset-openapi 0.6.4
  • prism-react-renderer 2.0.6
  • react 18.2.0
  • react-dom 18.2.0
  • react-icons 4.10.1

  • Check this box to trigger a request for Renovate to run again on this repository

NFP?

Last paragraph of the page uses the acronym NFP. Should be "NFT?"

Add "Was this useful?" button

Add a button tied to a way to collect the data for voting on the usefulness of pages. Ideally we would be able to leave it off some pages like the Litepaper and Getting Started landing page.

Be explicit about the free

People seem to want to have to enter a number more than zero into an amount field. Review places in the docs where we can be explicit about the fact that it can be zero and Unlock accounts are free. We should really get into some dollars and cents implementation examples.

Update React App Tutorial

Remove existing tutorial on old react app repo and add in the tutorial for the new create react app template repo with link to video.

Better docs for the params passed when creating a lock

The Unlock contract has both createUpgradeableLockAtVersion and createUpgradeableLock (uses the latest version!).
Both of these take a data argument that includes the settings use for the version to deploy.

The data blob is documented by the initialize function on the PublicLock's specific version: https://docs.unlock-protocol.com/core-protocol/smart-contracts-api/PublicLock#initialize

Let's make sure we link to these, as well as improve the docs for the latest version.

Update information on CollabLand

From Discord:

Collab Land bot: Note: When using the ERC-1155 token type, you must enter the token IDs for all tokens in your collection in the token ID section. Token IDs should be separated by one comma, and no spaces.

Yes, need the tokens ID.

Additional Note:
This may be a candidate for a convenience script also.

Generated docs should have a better "organization"

Hey @clemsos can we make the generated docs look a bit better?
First, we need to move the Hook interfaces/examples into their own folder (rather than being inside the PublicLock one).
Then, we need to have for both Unlock and PublicLock a "latest" version which has the reference and a folder called Archive that has all of the older versions. This will make things MUCH easier for people who are looking at it.

Ideally we also need to add _category_.json file in each folder so we can easily customize how they look like see syntax there

At the root of the generated folder, we should have this:

{
  "label": "Protocol Reference"
}

Add cards for different main actions on the introduction page

Our introduction doesn't provide clear actionable items for users.

This was provided as feedback from multiple users who wanted to use paywall or look up contract documentation. They had to look under tools which was not clear to them.

Users who aren't familiar with unlock also get confused by the word paywall.

Stripe introduction docs page
Screenshot_20220724-222959_Edge.png

Liveblocks
Screenshot_20220724-223047_Edge.png

For now main cards would be

  1. Paywall - used for embedding checkout in any page.
  2. Contract documentation
  3. Dashboard
  4. Examples & templates
  5. Identity or Oauth (SIWE)
  6. Get started

Add Google Search Console

Moved from #61 because it required a DNS update.

@julien51 can you please add this to the DNS.

Screen Shot 2022-08-23 at 8 40 00 AM

Adding in the content for easy copying

google-site-verification=58aD0fqi59jWWKRbfvmg-GBBDMpYGKjEcpZqT4j2z6Y

Improve clarity on Bring Your Own NFT + Add to Webpage

We continue to see this specific use case. Usually the person comes in and out asking as they make it through the steps. Here is a good thread where Julien had an opportunity spell the steps out. We should have a "flow" style tutorial that includes all the steps and links to relevant existing documentation.

1:10 PM] MercX: Hi guys, new here. Im at the creator dashboard and need a bit of help. I am an artist and not much of a coder. I need help locking a specific web page on my website to only people who hold my NFT collection. Anyone know where I should start documentation wise?
[1:11 PM] MercX: ty in advance!
@mercx
Hi guys, new here. Im at the creator dashboard and need a bit of help. I am an artist and not much of a coder. I need help locking a specific web page on my website to only people who hold my NFT collection. Anyone know where I should start documentation wise?
[1:18 PM] Julien | Ʉnlock: Yes! What CMS do you use for your website?
[1:19 PM] MercX: I use cPanel to host the specific webpage in question
[1:19 PM] MercX: but my landing page is webflow
[1:39 PM] MercX: i dont know if that answers the question lol
@mercx
Hi guys, new here. Im at the creator dashboard and need a bit of help. I am an artist and not much of a coder. I need help locking a specific web page on my website to only people who hold my NFT collection. Anyone know where I should start documentation wise?
[1:52 PM] Angela | Ʉnlock: If you want to lock your Webflow landing page https://docs.unlock-protocol.com/move-to-guides/plugins-and-integrations/#webflow. If you want to use the Paywall to lock content in your website https://docs.unlock-protocol.com/tools/paywall/. It's pretty step by step in the section called "Adding a Lock to Web Page" but if you have trouble knowing exactly where to put it then let me know.
Paywall | Unlock Protocol
The paywall is a web application that provides a user interface allowing people to purchase keys to given locks and subsequently trigger certain behavior based on visitors having keys at the time of page visit. It can be embedded on any web page or inside web views. It also supports WalletConnect which means that any Ethereum wallet can connect ...
Plugins and Integrations | Unlock Protocol
An overview of existing and in progress integrations.
[1:52 PM] MercX: THJANK YOU
NEW
[5:56 PM] MercX: ok, after reading through, I'm a little confused how this would use my existing NFT collection as a key to the locked page (edited)
[5:57 PM] MercX: I am not an html/css/js master. So any help would be greatly appreciated.
[6:00 PM] MercX: so i dont need to lock my webflow page,
just my content page
August 2, 2022
[12:53 AM] Julien | Ʉnlock: @mercx There are 3 steps:
[12:54 AM] Julien | Ʉnlock: 1. deploy a lock
[12:54 AM] Julien | Ʉnlock: 2. Hook the lock to your existing NFT: https://unlock-protocol.com/blog/bring-your-own-nft
[12:54 AM] Julien | Ʉnlock: 3. Add the lock to your content/webpage.
[12:54 AM] Julien | Ʉnlock: You mentioned cpanel, but I am not sure this is a content management system. Are you editing the HTML/CSS/JS manually?
[1:20 AM] MercX: Yes I am editing the lock page manually
[1:24 AM] Julien | Ʉnlock: Ok, so the "best" doc for you is this one: https://docs.unlock-protocol.com/tutorials/locking-media-content
Locking media content | Unlock Protocol
In this tutorial, we will see how to create a simple HTML and JavaScript page to lock media content (audio or video) so that only the creators' members can play it.
[1:24 AM] Julien | Ʉnlock: I am happy to help if I can: just post links here
[2:40 AM] MercX: dope! I want to try and do it first if thats ok with you, best way for me to learn and makes it easier when I try to ask you for help LOL

1
[2:40 AM] MercX: Also, what if the content isnt so "simple"
[2:41 AM] MercX: ehhh you know what, I will try this doc out first thing in the morning
[2:41 AM] MercX: lol, ty for the help!

Add more information about Guild Integrations

Currently, we only mention Guild when we talk about token Token-gating a Discord, which we had a blog post about. However, Guild.xyz can be used for many more things and we should be specific about how useful that is considering how many integrations they now have;

Discord: verification, role management and gating for channels and servers
Telegram: gated chats and voting
GitHub: access to private repositories
Google: gating Drive folders or native files such as Docs, Sheets, or Slides. Different roles can have different levels of permission to the same folder or file (view only / comment / edit).
POAP: setup within Guild and distribution via the Guild Discord bot with optional voice chat participation requirement and monetization
Anywhere with [the Guild SDK](https://we/ just came out with a major update, adding google, github and twitter integrations to guild https://twitter.com/guildxyz/status/1557403374416531466?s=20&t=8fXfDhRcyq24SSqGJ3oXwg): either to token gate parts of a website or application, or to mirror existing membership structures and bridge them to other platforms in the Guild ecosystem

Update browser list

We might want to update support for web3 browsers since we're a web3 company and native developers might be using heavily. Here is the best list I could come up with but of course some are so new we may want to wait on some below are my suggestions but feedback is appreciated. Please note we currently are using the default settings in docusaurus for browser support which are:

  • chrome latest
  • firefox latest
  • safari latest

Suggest we add support now

  • Brave / Marketshare - couldn't get a stat on this as % of overall marketshare but as the oldest web3 native browser that I'm aware of they've likely got quite a bit from our target audience. Some stats of note for consideration include 50.2M monthly active users and 15.5M daily active users as of Jan 2022 and they've essentially doubled user growth every year for the last 5yrs.
  • Opera / Marketshare 2.14% - has made a big push and now supports a bunch web3 features like VPN, multi-network crypto wallet, and dApp support

Ones to watch

  • Puma - only because alot of devs in the space are privacy conscious and use this as their mobile browser
  • Opera Crypto - dedicated web3 centric browser launched back in January 2022. While this one is pioneered by Opera who already has a foothold on browser tech, it's still very new and I suggest we wait until it's more mature.
  • Beaker
  • Osiris

Update the OpenAPI manifest file

The locksmith OpenAPI manifest file misses lots of endpoints. We need to update it to include these endpoints.
However, before we do that we need to make sure it is used to generate docs.

Assigning to @searchableguy for the doc generation part and to @wonderwomancode for the completion part!

Example tutorial for .NET implementation

The following feedback was posted in the Discord server

[12:34 AM] LeonidasCrypto: @julien | Ʉnlock about Solarfist. Using unlock was very easy because I generated the link in the dashboard of Unlock for each NFT after the nft is purchased unlock will redirect the user to my app. Issues: there is no implementation or example how to call unlock for more complex scenarios with .NET. the documentation is great but I could not find examples how to use other cryptocurrency or token as payment: example I want to use a stable coin like USDT

CSS adjustment

  • Code box style - the text are not readable, need to fix

Step by step examples for custom hooks

We currently only touch on this briefly to let people know it's possible. I think we should give some step-by-step implementation examples.

  • Checking data from an ERC-1155
  • Using them with 3rd party API

Update Plugins and Integrations Page

Plugins and Integrations Doc

These apps have confirmed they can token-gate ERC-721s & have granted Unlock permission to be added our Plugins and Integrations docs.

Discord

Wordpress

Shopify

Telegram

Google Docs

  • Guild: Token gate documents

Notion

Webflow

Discourse

Cloudflare

Drupal

SEO Checklist

One time global

For every page

Add explanation for different flows unlock provide

We don't make it clear there are two different flows developers can integrate into their applications.

We should make it clear when they would use checkout or sign in with ethereum and for what reasons. We should also list benefits over alternative or rolling out their own.

Enhance experience + features

  • enable the search feature for reader
  • #38

Nice to have

  • adding "is this useful" at bottom of the article
  • change the dark/light mode to single toggle

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.