Giter VIP home page Giter VIP logo

binary's People

Contributors

erasaur avatar markblee avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

binary's Issues

Show binary questions in following?

Hi,

I saw there is a Follow button on each question, but I can't find a place which list all the questions I am following. Would it be ok to add it to the user's following tab?

Improve forgot password/email verification handling

Using a session to store the token and immediately calling done when the link is clicked (onResetPasswordLink and onEmailVerificationLink) is not exactly the best way. Also, customize the urls for these links (e.g remove the #)

Add analytics

E.g tracking pageviews and clicks. Eventually, we would want to display analytics to topic creators as well -- maybe have some metrics about the response to the topic.

Handle subscriptions at the template level for components like comment replies

Related to #2

Edit: This is an untested pattern but it seems like it might work.

  • in topic route, subscribe to a static number of comments (e.g 15) -- the main purpose is just to allow fast-render to work (also subs manager)
  • handle all other subscriptions within the topic template: use an autorun with a reactiveVar (holding the "limit" of comments) defaulted to same number as the amount fast-rendered (e.g 15)
  • invalidating autorun (e.g changing the limit with infinite scrolling) will cause subscription to more docs

Even for things like showing the list of comments in a topic, subscribing at the route-level is problematic. When infinite scrolling causes Session.get('itemsLimit') to change, the layout-related calls (e.g this.render('nav', { to: 'nav' })) are re-run so the entire page 'flashes' and shoots back up to the top. Handling the topic comments as a component is a convenient way to fix this.

Alternatively, for things like topic lists that don't seem to fit well within template subs (or that we want to handle with subs-manager or fast-render), we could store the limit on the controller and handle subscriptions as usual. The drawback is that rendering any templates outside of this.ready() block in the action hook will cause the page 'flash' issue so there is less flexibility with the loading template.

Maybe use nested layouts, where the wrapping layout won't rerun? (e.g things like the container and the nav shouldn't have to be rerendered)

Better modal management

As of now including the signup modal in the dom by default is problematic since it can be easily triggered even when the user is logged in. With a package that handles modals with Blaze.render we can make things a bit cleaner and make it harder to accidentally trigger a modal we shouldn't see.

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.