QueryJane | Companies can add social media info - Conversations detail.

in #utopian-io7 years ago (edited)

QueryJane is a web application developed with Django that allows to connect with companies and experts in different sectors of the cannabis industry. Beta version is available here.


queryjanefull.png

Let me show you the new included features in this development update.

New Features

Companies can add social media info.

In order to promote the registered companies visibility, I have added the following attributes to the Company model:

  • Web page.
  • Facebook page.
  • Twitter page.
  • Isntagram page.
  • Linkedin page.
  • Google plus page.

These fields are now visible in the create company form:


Screen Shot 2018-02-24 at 10.22.13 PM.png

To validate the typed urls, I have added some custom validation methods to the JQuery Validation Plugin. I'm using this plugin to validate all form fields as a first level validation in the client side. Take a look to the new methods:


Screen Shot 2018-02-24 at 10.34.35 PM.png



Source code

This is an example of a bad typed url:


Screen Shot 2018-02-24 at 10.37.36 PM.png

The detailed code changes related to this feature can be found in this commit.



Company administrators can edit the social media information in the company settings page. Edit form to change this information is available in the of the Contact tab:


Screen Shot 2018-02-24 at 10.44.01 PM.png

This form has been implemented using ajax. For this reason, when a user submits the social media form information, the other forms in the page remain the same.


Screen Shot 2018-02-24 at 10.48.20 PM.png

Fields in this form are validated in the same way of the create company form.

The detailed code changes related to this feature can be found in this commit.



Updated information can be found in the company detail view:


Screen Shot 2018-02-24 at 10.53.17 PM.png


Screen Shot 2018-02-24 at 10.55.19 PM.png

The detailed code changes related to this feature can be found in this commit.

Conversations detail.

Users can send messages to other users in the platform, but they could only review the detail of each message individually or see the full messages list from all users in the inbox page. If there are several messages sent between two users, we can consider that this is a conversation.

Now, conversations detail can be found in the compose message form:


Screen Shot 2018-02-24 at 11.22.17 PM.png

By clicking the "Full conversation" link, we will see the message history with this user:


Screen Shot 2018-02-24 at 11.25.37 PM.png

Also, when a user is checking a new received message, he can find the full conversation in the same way:


Screen Shot 2018-02-24 at 11.28.01 PM.png

By clicking the "Full conversation" link, he will be see the full list of previously created messages between the two related users.

The detailed code changes related to this feature can be found in this commit.



Screen Shot 2018-02-03 at 10.23.10 PM.png


Find my Github account here.


How to contribute?

QueryJane has been developed using the Django framework. You can fork the project, and run it locally is very easy. Follow the steps described in the open source repository installation guide. The project has been configured using Docker. you only need to install Docker and follow these steps.

Future work.

Take a look to our public trello board.

  • Activate Spanish site.
  • Advertising campaign.

If you want to contribute, please join my Discord.


Have happy days ✌



Posted on Utopian.io - Rewarding Open Source Contributors

Sort:  

Hey @kit.andres I am @utopian-io. I have just upvoted you!

Achievements

  • You have less than 500 followers. Just gave you a gift to help you succeed!
  • Seems like you contribute quite often. AMAZING!

Community-Driven Witness!

I am the first and only Steem Community-Driven Witness. Participate on Discord. Lets GROW TOGETHER!

mooncryption-utopian-witness-gif

Up-vote this comment to grow my power and help Open Source contributions like this one. Want to chat? Join me on Discord https://discord.gg/Pc8HG9x

Thank you for the contribution. It has been approved.

You can contact us on Discord.

[utopian-moderator]

Coin Marketplace

STEEM 0.17
TRX 0.16
JST 0.029
BTC 60625.81
ETH 2406.82
USDT 1.00
SBD 2.61