• Stars
    star
    984
  • Rank 46,528 (Top 1.0 %)
  • Language
    JavaScript
  • License
    MIT License
  • Created over 13 years ago
  • Updated over 3 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

jquery.mentionsInput

jquery.mentionsInput is a small, but awesome UI component that allows you to "@mention" someone in a text message, just like you are used to on Facebook or Twitter.

This project is written by Kenneth Auchenberg, and started as an internal project at Podio, but has then been open sourced to give it a life in the community.

Introduction

To get started -- checkout http://podio.github.com/jquery-mentions-input

Latest release

1.6.0 (2015-Jan-7) -- https://github.com/podio/jquery-mentions-input/releases/tag/1.6.0

Bugs and Enhancements (next version)

  • Fix #74 Mention on ordinary input field not textarea
  • Fix #26 Capital letter as trigger character
  • Fix #59 Unicode characters support
  • Fix #104 When same text which is to be mentioned already in the content
  • Fix #100 New option for conserve triggerChar in output

License

MIT License - http://www.opensource.org/licenses/mit-license.php

Dependencies

jquery.mentionsInput is written as a jQuery extension, so it naturally requires jQuery (1.6+). In addition to jQuery, it also depends on underscore.js (1.2+), which is used to simplify stuff a bit.

The component is also using the new HTML5 "input" event. This means older browsers like IE8 need a polyfill which emulates the event (it is bundled).

The component itself is implemented as a small independent function, so it can easily be ported to frameworks other than jQuery.

Furthermore all utility functions have been centralized in the utils-object, which can be replaced with references if you already got functions like htmlEncode, etc.

To make the component grow and shrink to fit itโ€™s content, you can include jquery.elastic.js

Browser support

jquery.mentionsInput has been tested in Firefox 6+, Chrome 15+, and Internet Explorer 8+.

Please let us know if you see anything weird. And no, we will no make it work for older browsers. Period.

Reporting issues

Please provide jsFiddle when creating issues!

It's really saves much time.

Your feedback is very appreciated!

Roadmap

  • Fix open issues.
  • Seperate mentionsInput from jQuery, and expose as AMD/CJS module.
  • Seperate autocompleter, so it's possible to use bootstrap, jquery, etc-autocompleters
  • Define better interface to call methods.
  • Add the option to have a hidden-input that contains the syntaxed-version, so it's easier to use out of the box.
  • Add unit tests!
  • Add mobile support

More Repositories

1

ios-view-frame-builder

A small library for semantic layout of UIViews.
Objective-C
383
star
2

valideer

Lightweight data validation and adaptation Python library.
Python
263
star
3

requirejs-react-jsx

A RequireJS plugin for loading jsx in development and compiling (with r.js). Supports bundling and 1:1 source maps in development and production.
JavaScript
104
star
4

podio-rb

The official Ruby wrapper for the Podio API used and maintained by the Podio team
Ruby
66
star
5

podio-py

Podio Python client
Python
48
star
6

podio-js

Official Podio JavaScript SDK for node and the browser
JavaScript
45
star
7

podio-objc

PodioKit is the Objective-C client library for the Podio API.
Objective-C
26
star
8

podio-dotnet

Podio .NET client
C#
19
star
9

podio_rails_sample

Sample Rails project with authentication and item read/create
Ruby
18
star
10

podio-java

The Java client for the Podio API. This will be a full mapping of the Podio API to an easy to use Java library.
Java
18
star
11

istanbul-react

Instrumenter for 1:1 mapping of React JSX components. Can be used with karma-coverage
JavaScript
12
star
12

podio-android

The Android SDK for the Podio API.
Java
9
star
13

sample-basecamp

Ruby
9
star
14

asp-net-sample

ASP.NET MVC example of using Podio
C#
8
star
15

sample-dropbox

Downloads files from Podio and uploads them to your dropbox. Done by the Team Dropbox!
Java
7
star
16

sample-jenkins

A plugin for Hudson that will post build results to an app in Podio. On failed builds tasks will be created for the relevant users.
Java
7
star
17

conssert

Content Assertion library for Python
Python
5
star
18

sample-alerts

Integration between Google Alerts and Podio
Java
4
star
19

platform-todo-app-tutorial

JavaScript
4
star
20

plugin-jst

JST loader plugin
JavaScript
2
star
21

sample-flask

JavaScript
2
star
22

sample-twitter

Example of integration between Podio and Twitter built on the Podio API and it's Java client
Java
2
star
23

node-requirejs

Lets you use you requirejs configuration in Node
JavaScript
1
star
24

work_quest_frontend

WorkQuest frontend
Ruby
1
star
25

integration-zendesk

An incomplete Java interface to the Zendesk API
Java
1
star
26

sample-delicious

Simple importer that will parse RSS feeds from delicious and post them in an app in Podio.
Java
1
star
27

openpyxl

copy of https://bitbucket.org/hlmrn/openpyxl@a00915cc57bd89086fd0a2ffa52436f5abe0fdbd
Python
1
star