All Projects → SandyRogers → Contentful Tags Autocomplete Extension

SandyRogers / Contentful Tags Autocomplete Extension

Licence: mit
UI Extension for Contenful (CMS) to add an autocompleting tags widget to content types

Projects that are alternatives of or similar to Contentful Tags Autocomplete Extension

V Tag Suggestion
A simple tag component with typeahead
Stars: ✭ 40 (+300%)
Mutual labels:  autocomplete, tags
Ngx Chips
Tag Input component for Angular
Stars: ✭ 840 (+8300%)
Mutual labels:  autocomplete, tags
React Input Tags
React component for tagging inputs.
Stars: ✭ 10 (+0%)
Mutual labels:  autocomplete, tags
Jstag
Pure Angular Input Tags project
Stars: ✭ 140 (+1300%)
Mutual labels:  autocomplete, tags
React Selectrix
A beautiful, materialized and flexible React Select control
Stars: ✭ 166 (+1560%)
Mutual labels:  autocomplete, tags
react-native-element-textinput
A react-native TextInput, TagsInput and AutoComplete component easy to customize for both iOS and Android.
Stars: ✭ 28 (+180%)
Mutual labels:  autocomplete, tags
react-autocomplete-tags
React Autocomplete Tags
Stars: ✭ 17 (+70%)
Mutual labels:  autocomplete, tags
Vue Tags Input
A tags input component for VueJS
Stars: ✭ 761 (+7510%)
Mutual labels:  autocomplete, tags
Edinote
Note taking web application for self-hosting. Offers tagging & Markdown support; can be used as a simple alternative to Evernote.
Stars: ✭ 17 (+70%)
Mutual labels:  tags
Alltomp3 App
Download and Convert YouTube, SoundCloud & Spotify in MP3 with full tags (title, artist, genre, cover, lyrics 🔥)
Stars: ✭ 920 (+9100%)
Mutual labels:  tags
Zola
A fast static site generator in a single binary with everything built-in. https://www.getzola.org
Stars: ✭ 7,823 (+78130%)
Mutual labels:  content-management-system
Django Sitecats
Django reusable application for content categorization.
Stars: ✭ 18 (+80%)
Mutual labels:  tags
Bootstrap3 autocomplete input
Autocomplete/typeahead input with Bootstrap 3 and Rails 4. Works with SimpleForm
Stars: ✭ 25 (+150%)
Mutual labels:  autocomplete
Ngc
NewGoCommand - An opinionated and lightweight project starter. (WORK IN PROGRESS)
Stars: ✭ 16 (+60%)
Mutual labels:  tags
Atributika
Convert text with HTML tags, links, hashtags, mentions into NSAttributedString. Make them clickable with UILabel drop-in replacement.
Stars: ✭ 845 (+8350%)
Mutual labels:  tags
Idea Php Symfony2 Plugin
IntelliJ IDEA / PhpStorm Symfony Plugin
Stars: ✭ 797 (+7870%)
Mutual labels:  autocomplete
Autosuggest Trie
Minimalistic trie implementation for autosuggest and autocomplete components
Stars: ✭ 22 (+120%)
Mutual labels:  autocomplete
Sup
A curses threads-with-tags style email client (mailing list: [email protected])
Stars: ✭ 780 (+7700%)
Mutual labels:  tags
Autoprompt
Auto complete command prompts for C# .Net console apps
Stars: ✭ 22 (+120%)
Mutual labels:  autocomplete
Vscode Laravel Extra Intellisense
This extension adds extra autocompletion for laravel projects to VSCode.
Stars: ✭ 909 (+8990%)
Mutual labels:  autocomplete

Autocompleting Tags in Contentful

Contentful is a content management platform. It has a concept of Tags, and these fall into their "content as metadata" approach. This means that Tags are just another type of Short-Text Field you can add, as a List. Contentful has a Tag style appearance choice for these.

But they don't autocomplete!

In my experience, Tags are most useful when they autocomplete as you type things. This lets you keep some kind of consistency in your Tags across documents. Without autocomplete, you end up having "Spiderman" and "Spider man" and "Spider Man" as three different Tags 😱️

This UI extension adds a rendering option for Autocompleting tags to Contentful.

Screenshot of Autocompleting Tags extension

Where do the tags come from?

Any documents in the Space which have a field called "tags" will be searched for. Their contents will then become the autocomplete suggestions for the document you're editing.

Installation and usage

This uses Contentful's Extensions SDK. You need to have npm and gulp installed to use this, and have the extensions SDK installed.

Clone or fork this repository.

Install the dependencies needed with npm install.

Create a .env configuration file with your Contentful credentials:

export SPACE_ID=<space-id>
export CONTENTFUL_MANAGEMENT_ACCESS_TOKEN=<content-management-access-token>

Add the variables to your environment.

source .env

Upload the extension to Contentful

Create the extension in the space specified in the .env file:

npm run create

Local development

This doesn't work if you have web security enabled in your browser, since your localhost will be serving on HTTP. This is probably the case for you. It is possible to disable it, or just npm run update your code to the server every time!

Start a local server, changing the port if needed:

python -m SimpleHTTPServer 3030

Tell Contentful to render the widget from your local machine:

npm run dev

Update the extension

If you want to update the extension after your edit the code, run:

npm run update

Using the extension in the Contentful web app

Enable the extension in the Contentful web app for a "Short text" field (with "List" selected too) by opening the Settings for a field and selecting this widget in the appearance tab.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].