-
Notifications
You must be signed in to change notification settings - Fork 2
Add message button next to user name in initiatives #93
Comments
Hi @jsperezg We should review this because is related to the integration with core (users) and we should be able to anticipate the solution to avoid this problem with other future improvements to users (for example nickname ) in order to do not generate disconnections between initiatives and core. cc @josepjaume |
@arnaumonty @josepjaume I've been checking proposals code in order to find the fastests and easiest way to solve this feature proposal. Currently the author information is shown like this (in proposals): <%= render partial: "decidim/shared/author_reference", locals: { author: Decidim::Proposals::ProposalPresenter.new(@proposal).author } %>
<div class="author-data__extra">
<button type="button" data-open="<%= current_user.present? ? 'flagModal' : 'loginModal' %>" title="<%= t('.report') %>" aria-controls="<%= current_user.present? ? 'flagModal' : 'loginModal' %>" aria-haspopup="true" tabindex="0">
<%= icon "flag", aria_label: t('.report'), class: 'icon--small' %>
</button>
<% unless @proposal.official? %>
<%= link_to_current_or_new_conversation_with(@proposal.author) %>
<% end %>
</div>
As I see there are several things that need to be changed/reviewed in core before bringing this feature to initiatives:
This change supposes updating the author_reference template in order to add the buttons. Any trance of these buttons outside the template in the platform should be removed as well.
Having this facilities in the core would allow updating initiatives relativelly easy. |
Hi @jsperezg - as for the UI, I'm working on that here: decidim/decidim#2521. This should solve most of these UI issues. The messaging system will currently not work with organizations. Organization management (assigning users, profile, etc) does need some love. That's something we can enable at the core. |
@jsperezg decidim/decidim#2521 is closed and merged. Do you think that it is enough to proceed? |
@arnaumonty decidim/decidim#2521 is not merged, it was closed. |
:( OK, I don't know how to proceed with this, but it is a killer feature right now. Let's figure out which is the best and easy solution to establish direct conversations with initiatives creators. |
@arnaumonty we are about to have the full new proposal page with all the action buttons, thresholds, etc., should we wait until them (this should be ready this week) and then update initiatives? |
This is a (Feature Proposal)
In order to contact directly to the user who creates an initiative we need the direct message (conversations) icon next to the username as proposals have:
The text was updated successfully, but these errors were encountered: