Open brylie opened 3 years ago
@brylie I would like to work on this issue, can I give it a try? Btw I'm a beginner
@sreejithdikru, sure. I'll assign you to the task. Please let us know if you have any difficulty with Backbone or Django templates. We can co-assign another person to the issue to assist.
Hi @brylie I have gone over this issue and this is more complex then I first thought. I will create further issue after breaking this down into independent steps
@brylie I am highly interested to work on this as it is one of my daily tasks to migrate applications from other languages to python frameworks like Django, Flask, FASTAPI, and so on.
@AmarDeepak, your help would be much appreciated! Porting from Backbone to Django templates syntax is our most challenging task currently :smile:
@brylie - Thanks for assigning this task to me. This weekend I will try to finish as much as I can. My availability maybe a concern as I have to finish my own office work.
Hi, I would like to get involved with helping CiviWiki. Could I help? I'm currently learning Python and Java Script on Code Cademy but have no experience with Backbone or Django.
@edwardjimi, thanks for your interest. Let's give @AmarDeepak some time to see how they progress.
Thanks for getting back to me @brylie. Happy to help where and when needed.
@brylie - looking for a task.. though beginner to Python but having little work experience in other languages.
Thanks, @parikvinu. This is a somewhat challenging task since we need to convert templates from Backbone to Django syntax and prepare the template context in Django views. Would you like to give it a try?
@brylie - sure. Can give it a try. Are there any sample templates to refer to?
@parimalakettymuthu basically, we can create the templates from scratch or borrow from the existing Backbone code, which is primarily HTML. We can use the Django documentation for reference related to the Django template syntax.
Is this issue still open?
@LexxLuey, yes.
Please assign the task to me. I would love to contribute. I have time on my hands
Thanks @LexxLuey! Feel free to make the threads app from scratch rather than wrestling with the Backbone code.
Here to give a helping hand
Thanks @godfreyJo. @LexxLuey, how can @godfreyJo be of assistance?
Oh most definately... is there a medium where we can have an online meet concerning the task @godfreyJo @brylie?
@brylie he can help me rewrite the view for the page. @godfreyJo, is it possible to sync up anytime soon via a virtual meet?
@LexxLuey I am okay, I wonder if you are okay for a quick one in the next 10 minutes. you can schedule and share the link: godfreyoyugi@gmail.com
Hi, I am new here looking for easy open source projects. Willing to help out in Python and Cpp.
Welcome @abdz-128
Please feel free to introduce yourself here:
@brylie Okay Introduced myself over there
Is there something, I can help with, too ? @brylie
I'd like to take over this task.
@brylie, I will move accounts/feed.html
file to threads
app. Then I will port the template to Django template syntax. The template basically renders thread list, trending issues, draft threads, etc.
I am planning to create ThreadListView
to render this template. In this case, I will rename the template file to thread_list.html
or threads.html
. I can also keep using FeedView
. What do you think of the naming?
Thanks that will help. :smiley:
I'm heading to bed now, but I'll check for more comments ASAP.
Hello, @brylie. I see this issue is still open. Also, I have gone through the codebase, and the issues have not been fixed yet. Can you assign me, please?
Hello, @brylie. I think the only task is deleting the api.py file in the threads app. All the other tasks seem to be completed.
@gorkemarslan, can you confirm the status of this issue?
I will take this @brylie. I will make the necessary changes where necessary
hello @brylie , is this issue or any other issue that is beginner open source friendly up for grabs? i love this project!!
We want to simplify the CiviWiki project by removing JavaScript SPA code in Backbone.js and using Django templates instead. We will work through the Backbone templates in the
threads
app to convert the template syntax from Backbone to Django. We want to maintain the visual styling. Below is a checklist of the relevant Backbone templates to be ported to complete this task.Note: Backbone markup is written between
{% verbatim %}
and{% endverbatim %}
template tags.Task
Port the following template from Backbone to Django view/template syntax.
[ ] convert API views to Django views (if necessary)
new_thread
get_thread
get_civi
get_civis
get_responses
create_civi
rate_civi
edit_civi
delete_civi
edit_thread
upload_civi_image
upload_thread_image
[ ] threads app shouldn't use Django REST framework
threads/api.py
file[ ] threads app should contain only Class Based Views
[ ] all templates in
threads
app should{% for solution in solutions %}
[ ] all templates in
threads
app should not contain any{{# _.each(solutions, function (s) { }}
verbatim
tagsbackbone_templates
block content