While porting Fivestar to D8, I saw that some modules will need to allow users to create new Vote Types via interface, as they are intended for site building and users may need different Vote Types(old "Tags") to better implement their use cases. e.g. If you want to allow users to rate your "Project" content for "Viability" and "Wellness increase", you would need 2 Vote Types and they need to be created via interface.

Comments

pedrorocha created an issue. See original summary.

tkoleary’s picture

+1 It's an anti-pattern to have a 'types' UI that doe not include an 'add type' button.

SuperStes’s picture

There is no "add type" button on admin/structure/vote-types, but you can go to /admin/structure/vote-types/add and add a new vote type.

When trying to set up a new fivestart field however, the newly added type is not available...

I am going mad trying to set up a simple voting system in Drupal 8!

pancho’s picture

Title: Allow creation of Vote Types via interface » Add missing button to create a new vote type
Assigned: pedrorocha » Unassigned
Category: Feature request » Bug report
Priority: Normal » Major
Issue tags: +Quickfix, +Novice

The missing button actually constitutes a major usability bug.
Vote types created via /admin/structure/vote-types/add however do work for me.

  • pifagor committed 0411426 on 8.x-3.x
    Issue #2728537 by pedrorocha, tkoleary, SuperStes, pifagor, Pancho: Add...
pifagor’s picture

Status: Active » Fixed

I fixed this problem. Please check version 8.x-3.x

useernamee’s picture

I was missing this option as well. It works on 3.x-dev branch.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.