Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Community #1815

Merged
merged 51 commits into from
Sep 5, 2017
Merged

Community #1815

merged 51 commits into from
Sep 5, 2017

Conversation

taitus
Copy link
Member

@taitus taitus commented Sep 5, 2017

Where

What

It is intended to create a community to facilitate users through a proposal or participatory budget to create different related "Topics" and make comments to encourage participation.

The user community will be implemented as an optional feature for forks, and can be applied to both proposals and investment projects.

How

  • Creating the Community structure: Add Community and Topic models.

  • Associate a community in the creation of proposals and participatory budgets through a model concen "Communitable".

  • From proposals and participatory bugdets show page, any user logged or not logged can access the community

  • On the community page:

    • If there is no "Topic" created, we will find a text "Create the first topic of the community".
    • If we are not logged in, a text will appear informing us that we must log in to create a topic, with a link to access the login. And the "Create a topic" button will be displayed because it is considered to provide information but will be disabled.
    • You can see a list of topics that will be clickable and accessible for any visitor to the website.
    • If the user logged in is the author of a topic, the edit button will appear.
    • Topics can be sorted by user by:[More voted, Newer, Older]
    • You can see all participating users (Author of the proposal or participatory budget, Authors of the topics, Anyone who has made a comment on a topic). Users that appear in the participants' section are clickable and their public profile can be accessed.
  • Topics:

    • Once the user is logged in, they will be able to create a new topic. Where 2 fields "Title" and "Description"appear, both obligatory.
    • Once we access the page of a topic, we will be able to see all the information introduced by the creator of the topic.
    • If we are logged in, the field will be enabled to enter our comment and the button to publish it.
  • Settings:

    • A field "Community in proposals and investment projects" has been added in the "Global Configuration" section to enable or disable it according to needs.

Screenshots

  • Access the community button on proposals and participatory budget show page:
    access the community button

  • Community show page. When user not logged:
    community show page user not logged

  • Community show page. When user logged:
    community show page user logged

  • Community show page. Topic list:
    community show page topic list

  • Topic new:
    topic new

  • Topic show:
    topic show

  • Global settings:
    configuration settings

Test

  • As usual.

Deployment

  • Run migrations.
  • Run rake task 'communities:associate_community' for associate a community with existing Proposals and Participatory budgets

Warnings

  • None

taitus and others added 30 commits September 5, 2017 12:51
…ow the button when disabled is not clickable.
@voodoorai2000 voodoorai2000 changed the title [WIP] Community Community Sep 5, 2017
@voodoorai2000
Copy link
Member

Awesome @taitus!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants