QueryJane - Development Update

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.


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

I have been working in different functionalities last week. Let me show you.


New Features

Added messages dashboard.

Created the inbox dashboard, to allow users to review all their received messages. Before, they only can check their messages in the inbox menu, in the application header. Now, when there are more than 10 messages in the inbox, the "View all" link will be available.


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

By clicking this link, users will be redirected to the "Messages dashboard":


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

All received messages are visible here. By clicking a message, the content detail will be displayed in a modal:


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

This is the same modal showed when users click messages in the "messages menu", in the header bar. This portion of code has been reused for this functionality, and the function to reduce the "New messages" counter has been unify using Javascript.

I have used the generic class-based views provided by Django. In this particular case I used the ListView, that allows to represent a list of objects. In this case, a list of messages filtered by receiver.

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

Added notifications dashboard.

Created the new page "notifications dashboard", to allow users to review their notifications in a section dedicated to that purpose. Before, users only can check their new notifications in the notifications menu, in the application header.


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

Same as how it works with the inbox messages, by clicking the "Show all" link, users will be redirected to the "Notifications dashboard."


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

Users can find all notifications in this page. It's a functionality very similar the the "messages dashboard". I have used the ListView generic Django view to implement this list of objects by the user for whom the notification is directed. The notifications detail is loaded using Ajax requests and showed in a modal.


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

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

Users can upload their profile picture.

Added profile picture form to the account settings. Users can upload an image file that will be visible on their profile detail.


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

By clicking on the "Update" link below the photo, the files explorer will be available and users will be able to upload their profile picture. The picture is loaded through an ajax request. This picture will be visible in the profile detail page.


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

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


Code refactoring.

Code refactoring in the "account" app views. In the app views there were a lot of code. Now, views for "Notifications", "messages" and "profile" can be found in separate files. This will allow contributors to understand the code much more easily.

The detailed code changes related to this code refactoring 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.

  • E-mail notifications.
  • Activate Spanish site.
  • Styles adjustment: I'm backend developer, and my skills as front-end developer are low. I will search for some help to adjust some sections styles.
  • Advertising campaign.
  • In order to allow people interested in contributing to the project to integrate more simply, I have created a public board in trello. Now it is empty, but next days I will be configuring this board and adding very descriptive activities to do. I am sure that this will allow this project to grow, in which I am definitely in need of help. I will be sharing with the community here details about how this public board will work.

If you want to contribute, please join my Discord.


Have happy days ✌



Posted on Utopian.io - Rewarding Open Source Contributors

Sort:  

🤖💬 This post has been Boosted with a 50.00 % upvote from @cannabiscurator Plugged in by @netgodbeerus, @netgodbeerus

Help Grow the Steemit Cannabis Community with Automated Cannabis Curation - Send Steem/SBD to @Cannabiscurator with a link to your 420 Steemit post in the MEMO and watch the magic happen!

Help build a Rewarding Cannabis community!

-Upvote this comment

-Follow @Cannabiscurator

-Join our Cannabis Curation Team

small_man.png Peace in Blunts Fam 🔥💨


🤖 Ai Cannabis Smoke Companion http://www.weedrobo.com

Thank you for the contribution. It has been approved.

Finally you linked the pull request the right way to the contribution :D

And yes I am looking forward when you are ready to launch this project.

You can contact us on Discord.

[utopian-moderator]

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 information

Good post. Really informative

@kit.andres, Upvote for supporting you.

Coin Marketplace

STEEM 0.16
TRX 0.13
JST 0.027
BTC 60701.29
ETH 2637.06
USDT 1.00
SBD 2.52