QueryJane | Development update

in #utopian-io6 years ago

Repository
https://github.com/augustakingfoundation/queryjane_app/

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](https://queryjane.net/).


Screen Shot 2018-08-05 at 2.09.42 PM.png

It has been quite a time of little activity in the application development, but we are here. We have been working on some final adjustments and requirements.It has not been a lot of time that I have been able to dedicate to the project during the last months, but here is a small report of the progress made.

New features

Language toggle.

Company administrators can add English and Spanish description of the companies. Users can select if they want to visit the English site or the Spanish site, and then, the companies description will be displayed according to the selected language. But, in some cases, users could want to view the company description in another language, without change the selected language.

I have added a simple JS code to toggle the company description information language.


ezgif.com-video-to-gif.gif

Deleted company notification.

Users with owner membership in a company, are the unique role that can delete companies from the platform. This functionality was implemented in my previous development update. Now, when if a company owner deletes a company, a notification will be sent to the users with administrator role in the company.

A platform notification is created:


Screen Shot 2018-10-10 at 4.23.40 PM.png

Basic information about the owner action is described in the main modal created to manage all notifications:


Screen Shot 2018-10-10 at 4.27.59 PM.png

Deactivated company notification.

All users with administrator ownership in a company can deactivate it. Now a platform notification is sent to other administrators. Any of them could re-activate the company.

So, by deactivating a company:


Screen Shot 2018-10-10 at 4.33.26 PM.png

A platform notification is created for each company administrator:


Screen Shot 2018-10-10 at 4.35.01 PM.png

And information about who has deactivated the company is displayed in the main modal created to manage all notifications:


Screen Shot 2018-10-10 at 4.36.26 PM.png

Transfer owner membership.

Company owners have special privilegies, that only they can do. So, if a company owner wants to delegate this privilegies to another user, now is possible to transfer the owner membership to other administrator.

In the company settings page, company owners can find this section:


Screen Shot 2018-10-10 at 4.40.02 PM.png

In the Transfer company ownership module, there is a select form in which the options will be only active company administrators. If there is not other administrators, the owner membership of a company can't be transferred.


ezgif.com-video-to-gif (1).gif

The selected used will receive a notification about his new role in the company:


Screen Shot 2018-10-10 at 4.57.41 PM.png

And in the notifications modal, new ownership will see a description of the notification:


Screen Shot 2018-10-10 at 4.58.32 PM.png

The previous owner will retain his administrator membership, but now he does not have any owner privilegies. When a owner membership is transferred, the receptor user is notified by e-mail too:


Screen Shot 2018-10-10 at 5.03.04 PM.png


GitHub Account

https://github.com/aaquirogal
Pull request



Screen Shot 2018-08-05 at 4.15.14 PM.png

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.

We have pending some administrative requirements, so, we will be working on it. There are still some final features in the "TO DO" list in our Trello board.

We need to change the way in which cities were selected in the platform by users, for example to select the company city or the residence city. It is because we are using the GEOCODE api of google. But, in last months, their user agreement changed and we can't use it now. The solution for this problem is to upload a "city-state-country" databases, so this is an urgent requirement to fix and I will be working on it.

Take a look to our public trello board. This is the easiest way to know our roadmap.

If you want to contribute, please join my Discord

Have happy days ✌

Sort:  

Thank you for your contribution. I really like the colors and design of QueryJane, very attractive. So as of now you only have English and Spanish as the language, are you going to support more language in the future? The updates looks great as the users will feel more connected.


Your contribution has been evaluated according to Utopian policies and guidelines, as well as a predefined set of questions pertaining to the category.

To view those questions and the relevant answers related to your post, click here.


Need help? Write a ticket on https://support.utopian.io/.
Chat with us on Discord.
[utopian-moderator]

Hi. Thank you. Now we think that Spanish and English are enough, but, yes, in the future we want to support more languages.

Thank you for your review, @codingdefined!

So far this week you've reviewed 1 contributions. Keep up the good work!

Hi @kit.andres!

Your post was upvoted by @steem-ua, new Steem dApp, using UserAuthority for algorithmic post curation!
Your post is eligible for our upvote, thanks to our collaboration with @utopian-io!
Feel free to join our @steem-ua Discord server

Hey, @kit.andres!

Thanks for contributing on Utopian.
We’re already looking forward to your next contribution!

Get higher incentives and support Utopian.io!
Simply set @utopian.pay as a 5% (or higher) payout beneficiary on your contribution post (via SteemPlus or Steeditor).

Want to chat? Join us on Discord https://discord.gg/h52nFrV.

Vote for Utopian Witness!

Coin Marketplace

STEEM 0.29
TRX 0.12
JST 0.033
BTC 62934.09
ETH 3118.65
USDT 1.00
SBD 3.85