Code Monkey home page Code Monkey logo

discoverwhatrocks's People

Contributors

idmontie avatar nagoshiashumari avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

discoverwhatrocks's Issues

Delete vote

Allow users to revoke/delete their vote on a Meetup.

Footer!

  • link to repo
  • link to app (eventually)
  • copyright
  • license
  • privacy policy

Fancy Emails

Get some fancy emails going.

Might need to make another repo for an all-in-one meteor package for emails and email testing.

My Account page

Allow users to give themselves nicknames and how to get notifications (checkboxes):

  • In-App Notifications and
  • Email
    • Circle Invites
    • New Meetups
    • Meetup Changes
    • New Chat Messages

Breadcrumbs!

Have a breadcrumb trail at the top of every page.

User badges

Give users incentive to keep coming back! User badges for users when they complete certain things. Will possibly make a separate package of this. Possible ideas:

  • In the Know - a user suggests a meetup at a location not available on Google Maps and wins the vote.
  • Grand Discoverer - a user has participated in 100 meetups.

Unique Slugs

Make sure to add "reserved" keywords:

  • delete
  • reserve
  • add
  • edit
  • update
this.slug = function ( str ) {
    var original = str;

    str = str.replace(/^\s+|\s+$/g, ''); // trim
    str = str.toLowerCase();

    // remove accents, swap ñ for n, etc
    var from = 'ãàáäâẽèéëêìíïîõòóöôùúüûñç·/_,:;';
    var to   = 'aaaaaeeeeeiiiiooooouuuunc------';
    for (var i = 0, l = from.length ; i < l ; i++) {
      str = str.replace(new RegExp(from.charAt(i), 'g'), to.charAt(i));
    }

    str = str.replace(/[^a-z0-9 -]/g, '') // remove invalid chars
      .replace(/\s+/g, '-') // collapse whitespace and replace by -
      .replace(/-+/g, '-'); // collapse dashes


    //  make sure slugs are globally unique

    var notUnique = _$.Slugs.findOne( {
      slug : str
    } )

    if ( notUnique !== undefined &&
         notUnique !== null ) {
      // Not unique, better retry with a random phrase attached!
      var phrase = Random.choice( _$.Util.slug.phrases )
      return _$.Util.slug ( original + ' ' + phrase )
    }

    // Right before we finish up, save the slug
    // to a special slug table
    _$.Slugs.insert( new _$.Slug( {
      slug : str
    } ) )

    return str;
  };

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.