-
-
Notifications
You must be signed in to change notification settings - Fork 134
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[IDEA] Goal Tracking #10
Comments
I'm keen to work on the idea. As a newcomer to OpenCourse, I'd greatly appreciate your guidance. Please assign this initiative to me. |
Hi there @Swish78, It would be great to get some ideas and progress on "Goal Tracking". So first of all we need the dashboard page for goal tracking, so a basic view for this. And maybe we can collect some reference images / designs we could use for the page. I'd be happy to tag along with you if you do require any help or want some references too. I'm interested, what's "OpenCourse"? Thanks |
I'll begin by creating a basic dashboard view for this and start collecting some reference images and designs. |
Ah i see. Great thanks, feel free to post any references here, so if you do require assistance or anyone else would like to help you then they can get a feel for your ideas too. We use tailwind for the design, using a component library RippleUI. Feel free to reply with what you want to work on, if you don't want to work on it all, and im sure someone (if not myself) will help fill out the rest. Really appreciate your interest in the project. I'm going to start providing more details in more issues too |
We currently use RippleUI (tailwind css component library) for our frontend, we dont use react or any frontend system other than tailwind classes unfortunately. I don't think we should change design for certain features, and im not sure whether it'd be worth moving library fully now. Our current layout in general looks like below: I like the layout + idea for the goals feature though, so that's great! Just wondering if your idea was to change libraries or you just didn't realise we had one already? All good either way, look forward to hearing back from you |
I'm aware of the use of Tailwind and Ripple, and I've actually used both for the dashboard. I briefly considered 'Shadcn UI' because it seemed well-suited for dashboards, but I understand your point. I'll drop the 'Shadcn' idea. Now that the layout is in place, I'd like to hear your suggestions for the next steps. What would you recommend we work on next for the goal tracking feature? |
Hiya, okay great. So for the next steps we'd probably want to start with the backend so we can have an idea what more needs to be added to the front end. So I'd suggest maybe brainstorming some ideas for the database model, things like Goal name, goal description, goal completed etc. Then we'd want a main dashboard maybe that displays a brief list of your goals then when you click on one it brings up more details. Up to you how you decide to make it look or what features, feel free to get creative. If you do need any help for anything or need some ideas do let me know though. You can also post pictures of your progress here, if you would like, your choice. Thanks again |
I propose the following backend model structure:
views.py
|
I love the idea of categories, maybe could let the user create their own categories in a dropdown (like how in github you can create + assign labels to issues). But apart from that, we could probably get going. That seems like a decent start to the models, i think that'll be a good starting point;
And that seems like a good start. If you're happy with that, i'm happy too :) let me know if you need anything |
Hi @Swish78, any progress, need any help? Just a quick check in Thanks |
I apologize for the delay in my contributions. I've been quite busy recently, but I'm planning to work on the dashboard utility soon. I appreciate your offer of help, and I'll reach out if I need any assistance during the development process. Thanks for your understanding and support. |
Thanks @Swish78 for the message back. That's fine! Take your time, let me know how it goes |
I have rendered the following model structure based on our previous discussion : class Category(models.Model):
name = models.CharField(max_length=50, unique=True)
def __str__(self):
return this.name
class Goal(models.Model):
title = models.CharField(max_length=50, blank=False)
description = models.TextField(editable=True, blank=False)
created_at = models.DateTimeField(auto_now=True)
priority = models.IntegerField(default=0)
deadline = models.DateTimeField()
category = models.ForeignKey(Category, on_delete=models.SET_NULL, null=True)
def __str__(self):
return this.title I'm encountering a "ModuleNotFoundError: No module named 'environ'" issue. I've already tried installing it manually, but the error persists. |
You'll get that error from having pip install environ, |
Thanks for the advice. I did try 'pip install -r requirements.txt' initially, but the error persisted. I then attempted 'pip install django-environ,' but the issue still remains. |
Oh yikes, are you running this from pycharm or a virtual environment? I believe for Django to work on its own you need some sort of virtual environment. Let me know if you don't I'll help you get started |
I'm running this from PyCharm. Okay, I will try again by creating a virtual environment. |
I'd suggest following our SETUP GUIDE, it covers pycharm quite well i'd say! |
Hi, I was wondering which charts I should include on a goal-specific dashboard. I’ve tried following the setup guide but still encountered the same issue. For now, I’m focusing on completing the work of adding the dashboard’s backend and frontend. |
Hey, that's odd that you're still getting the error about environ. You may be able to fix it by following this: You need to make sure "environ" is not installed. After that make sure django is installed under the virtual environment and then you can "install" As for the goal dashboard that's okay, it'll be much easier once you can see your progress on the site so it's okay if not much progress is made. Charts can be held off until we get data inputs if you wish We could use something like chart.js web/django_package. I don't really mind. But about the actual graph types, again not too sure, will be easier to decide that once the page starts to get some normal inputs/info if that's okay Sorry about the long wait, i forgot to send the message this morning |
Set and monitor financial goals (e.g., saving a certain amount, paying off debt).
Visualize progress towards goals.
The text was updated successfully, but these errors were encountered: