openunited / platform Goto Github PK
View Code? Open in Web Editor NEWLicense: Other
License: Other
We show all the challenges on the challenge listing page regardless of their statuses. We need to have better filtering and not display the complete challenges ie. excluding the challenges that have done
as their statuses.
Currently, the capability detail page is not implemented. It will have the following structure:
Header/navbar, product name and capability name in crumbs, capability details listed basic styling, list related challenges, footer
Objective:
Tools to be Integrated:
Task Requirements:
Install Required Tools: Ensure that Black, Isort, Flake8, and Django are installed and available in the project's development environment.
Configure Pre-Commit Hook: Set up a pre-commit hook using a tool like pre-commit or husky to trigger the execution of the specified tools during the commit process.
Integrate Tools with Pre-Commit Hook: Configure the pre-commit hook to run the following tools in sequence:
Test Pre-Commit Hook:
Document Pre-Commit Hook Configuration: Maintain clear documentation on the pre-commit hook configuration, including the tools used, their versions, and any custom settings or configurations.
It seems that a challenge's status can be changed by anyone who uses the platform. We shouldn't do that. We need to allow challenge update only to one who created the challenge.
We have a link that redirects the user to send an e-mail in the footer of the platform, Contact Us
. We need to remove that link and attach another link to the Contact Us
page.
Currently, we don't have any style in mind. However, it has the same functionalities as this page.
We have two get_photo_url()
methods: the first one in the Product
model and the second one in the Person
model.
They have pretty much the same implementation. However, they shouldn't have. They return a requires_upload
parameter which is not used most of the time. Additionally, the Product
model's get_photo_url()
method has the same default picture as the Person
model's get_photo_url()
method has. We need to have a different default image for the Product
model's method.
The task is to refactor those methods and every template and Python file that use these methods.
We currently show all of the challenges that exist in our platform. Since the number of challenges is not much, that wasn't a problem, until now. We need to add a pagination to the challenge listing page as the number of challenges is increasing.
Encountered with errors like:
I would like to contribute this project for running with docker instructions
On the sign-in page, we have a label that says Remember Me
but it does not have a checkbox next to it that remembers the user's login:
Currently, the sign-in user keeps signed in unless he/she logs out from the account. We need to enable this Remember Me
checkbox and if it's checked, we keep the user logged in for 30 days. Otherwise, we should necessitate to log in.
We currently have the guidelines for contributing. However, it is kind of messy and not up-to-date. We need to extract these into a separate file called CONTRIBUTING_GUIDELINES.md
and include how to use the watch_css_changes.sh
file during the development.
The signup page needs refactoring.
In the Challenge
model, we have a field to store a capability for a challenge. However, users cannot set a capability to a challenge using the UI. We need to add a field to the challenge form to enable users to add a capability to a challenge.
I was inspecting the project because I love Django + HTMX and your codebase is so wonderful, I appreciate the contribution to the open source.
I saw that in base.html, tailwind is inserted from CDN. Attending the documentation they advice that this is only for development purposes and they recommends another way to use for production.
Tailwind creates "Tailwind standalone", an executable that "build" the minified tailwind required without using node or similar. On the other hand, someone creates the python package "pytailwindcss" that install "Tailwind standalone" using the python package manager.
pip install pytailwindcss
tailwindcss init
In tailwind.config.json
/** @type {import('tailwindcss').Config} */
module.exports = {
content: ['templates/*.html', 'templates/**/*.html', '**/templates/**/*.html'],
theme: {
extend: {},
},
plugins: [],
}
When you decide where to start building (in CI, in precommit, deploying...) you just need to execute:
tailwindcss -o ./static/tailwind.css --minify
In my case, I have a Makefile for development that has the following command:
cssdev:
@tailwindcss -o ./static/tailwind.css --minify -w
.PHONY: cssdev
And then, when I am developing, I start tailwind to watch changes and build the minified css required.
make cssdev
Rebuilding...
Done in 370ms.
I hope all of this help you to improve your project, keep doing this great job!
:)
The 404 page needs refactoring. We need to have a simple and elegant 404 page.
Before implementing the issue, one can start discussing the design under this issue.
Hi @adrianmcphee
Here is the snapshot of my local machine running this platform.
The following is the commands I ran.
docker pull postgres
docker run --name ou_db -e POSTGRES_PASSWORD=postgres -d -p 5432:5432 postgres
cp .env.example .env //replaced the secret key taken from https://djecrety,ir
python3 -m venv env
source env/bin/activate
pip install -r requirements.txt
export DJANGO_SETTINGS_MODULE=openunited.settings.development
./setup.sh
python manage.py runserver
I want to get involved in your project with my expertise in full stack development with python, django, htmx and tailwind UI.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.