Giter VIP home page Giter VIP logo

grapher-docs's People

Contributors

abigtoe avatar theodordiaconu avatar wesleyfsmith avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

grapher-docs's Issues

getCount does not work with post filter

The getCount function does not work when using $postFilters. It seems returning the total count of record but fetch function with same $postFilters did return the correct records.

Wrong schema in desc

groupId: {
type: Object,
blackbox: true,
optional: true
}
groupId.$._id: {type: String}
groupId.$.isAdmin: {type: Boolean, optional: true}

Specify what is needed for importing

At least stuff needed to be imported from the grapher package specifically. For example

import { Exposure } from 'meteor/cultofcoders:grapher'

Video Tutorials

Create the following video tutorials (5 min each):

  • Introduction in React
  • Introduction into Meteor & React (Basics)
  • Introduction into Flow Router.
  • Introduction into Mongo.Collection
  • Introduction into Meteor Users System
  • Introduction into Grapher
  • Grapher-Live Tutorial
  • Linking: In Depth
  • Query: In Depth
  • Exposure: In Depth

Improve Docs

Docs should be separated in:

  • GUIDE
  • API
  • TUTORIALS
  • SAMPLES

For "Links" "Query" "Exposure"

Learning Curve

  • First show them what grapher is capable of by locking grapher-live into a stable state.
  • Then ask them: "Let's find out how everything works"
  • State the fact that this works with any Meteor 1.3+ application, even if they already have collection and "links" emulated somehow.
  • Begin with Linking Data
    - Video Tutorial
  • Teach them about constructing a query
    - Basic one fields only
    - One link
    - Many link
    - One-Meta link
    - Many-Meta link
    - Resolver Link
    - A ridiculous example linking everything.
  • Teach them about exposure and how everything linked can be easily secured.

Graph Builder

Use the tool to build your graph by clicking around the documentation.

addLinks is not a function

Hi guys,

I installed the grapher in the meteor (meteor add cultofcoders: grapher), I set up the /imports/db/awards/links.js file of my collection (Awards) and hen I build my app, it presents the following error in the console:

W20180812-16:07:23.143(-3)? (STDERR) /Users/Felipe/.meteor/packages/promise/.0.11.1.czzd74.8w7kv++os+web.browser+web.browser.legacy+web.cordova/npm/node_modules/meteor-promise/promise_server.js:218 W20180812-16:07:23.144(-3)? (STDERR) throw error; W20180812-16:07:23.144(-3)? (STDERR) ^ W20180812-16:07:23.144(-3)? (STDERR) W20180812-16:07:23.145(-3)? (STDERR) TypeError: Promotions.addLinks is not a function W20180812-16:07:23.145(-3)? (STDERR) at links.js (imports/db/promotions/links.js:7:12) W20180812-16:07:23.145(-3)? (STDERR) at fileEvaluate (packages/modules-runtime.js:322:7) W20180812-16:07:23.145(-3)? (STDERR) at Module.require (packages/modules-runtime.js:224:14) W20180812-16:07:23.146(-3)? (STDERR) at require (packages/modules-runtime.js:244:21) W20180812-16:07:23.146(-3)? (STDERR) at main.js (server/main.js:1:88) W20180812-16:07:23.146(-3)? (STDERR) at fileEvaluate (packages/modules-runtime.js:322:7) W20180812-16:07:23.146(-3)? (STDERR) at Module.require (packages/modules-runtime.js:224:14) W20180812-16:07:23.146(-3)? (STDERR) at require (packages/modules-runtime.js:244:21) W20180812-16:07:23.147(-3)? (STDERR) at /Users/Felipe/Sites/sopromocoes/.meteor/local/build/programs/server/app/app.js:450:15 W20180812-16:07:23.147(-3)? (STDERR) at /Users/Felipe/Sites/sopromocoes/.meteor/local/build/programs/server/boot.js:411:36 W20180812-16:07:23.147(-3)? (STDERR) at Array.forEach (<anonymous>) W20180812-16:07:23.147(-3)? (STDERR) at /Users/Felipe/Sites/sopromocoes/.meteor/local/build/programs/server/boot.js:220:19 W20180812-16:07:23.148(-3)? (STDERR) at /Users/Felipe/Sites/sopromocoes/.meteor/local/build/programs/server/boot.js:471:5 W20180812-16:07:23.148(-3)? (STDERR) at Function.run (/Users/Felipe/Sites/sopromocoes/.meteor/local/build/programs/server/profile.js:510:12) W20180812-16:07:23.148(-3)? (STDERR) at /Users/Felipe/Sites/sopromocoes/.meteor/local/build/programs/server/boot.js:470:11

I do not know if the grapher was installed correctly or if it works in the new version of meteor (1.7.0.3).

Has anyone had a similar error?

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.