Technical Documentation
Return to Main Documentation
ENGLISH - version 2.3
ENGLISH - version 2.3
  • Introduction
  • Getting started
    • Create your fork
    • Configure your fork
    • Keep your fork updated
    • Communication
  • Installation
    • Local installation
      • Prerequisites
      • Ubuntu Linux
      • Debian Linux
      • macOS
      • Windows
      • Vagrant
      • Docker
    • Production and staging servers
      • Installer
      • Create a deploy user
      • Generating SSH Key
      • Manual installation (not recommended)
      • Digital Ocean
      • Heroku
      • Mail server configuration
    • Basic configuration
    • User documentation and guides
  • Customization
    • Introduction
    • Translations and texts
    • Images
    • Styles with CSS
    • JavaScript
    • Models
    • Controllers
    • Views and HTML
    • Components
    • Other Ruby classes (GraphQL, lib, mailers, builders)
    • Gems
    • Application configuration
    • Routes
    • Tests
  • Technical Features
    • OAuth
    • GraphQL
    • Debates and proposals recommendations
    • Configure Census Connection
    • Local Census
    • Multitenancy
    • User content translations
  • Open Source project
    • Code of conduct
    • Contributing
    • Coding conventions
    • Open source forks and modifications
    • License
Powered by GitBook
On this page
  1. Technical Features

Debates and proposals recommendations

PreviousGraphQLNextConfigure Census Connection

Last updated 2 months ago

Logged in users can see recommended debates or proposals by sorting them by "recommendations".

The sorted list shows, ordered by votes in descending order, those elements that:

  1. Have tags that interest the user. Those tags are the ones on the proposals that the user follows.

  2. The user isn't the author.

  3. In the case of proposals: only those that haven't reached the required threshold of votes and the user isn't already following.

How to try this feature

In our local installation, if we haven't logged in, we can check at that the "recommendations" sorting option isn't present:

Follow any proposal using the "Follow citizen proposal" button on the side menu:

Now we can finally see some recommendations:

The feature works the same way for debates.

Once we log in we see the menu, but since we aren't following any proposals we get the message "Follow proposals so we can give you recommendations" at

http://localhost:3000/proposals?locale=en&order=recommendations&page=1
http://localhost:3000/proposals
The sorting options don't include "recommendations"
Recommendations are empty
Button to follow a citizen proposal
List of recommendations