Skip to content
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

Create Table: Accomplishment #48

Open
17 of 20 tasks
fyliu opened this issue Sep 8, 2022 · 11 comments
Open
17 of 20 tasks

Create Table: Accomplishment #48

fyliu opened this issue Sep 8, 2022 · 11 comments
Assignees
Labels
complexity: small All steps are laid out in detail so that someone new to the project can work on it feature: table creation p-feature: project accomplishment p-feature: wins PII: FALSE Table or function does not have or use Personally Identifiable Information (PII) role: back end s: hackforla.org stakeholder: hackforla.org website s: org stakeholder: the org (includes stats) size: 2pt Can be done in 7-12 hours

Comments

@fyliu
Copy link
Member

fyliu commented Sep 8, 2022

Overview

We need to create the accomplishment table so that we can update a shared data store across hackforla.org, vrms, civictechjobs, and tables (onboarding) project.

Details

A table and a model are the same thing

Action Items

  • identify and document table description (see spreadsheet under Resources)
    • if not, reach out to PD leads
  • compare and check off the data fields (below) against the ERD. Note any fields in the ERD that's missing from the list. (see Resources)
  • compare the check off associated tables (below) against the ERD. Note any associated tables in the ERD that's missing from the list (see Resources)
  • create a single model in Django (defining schema)
  • write a test for the relationships this model will have with other models (e.g., creating a user and assigning them a set of permissions on a project).
  • write an API end point
  • write API unit tests
  • add extra validation code to the serializer
  • write tests for the validation
  • document the endpoint

Resources/Instructions

Description

List of Accomplishments associated with a project

Data Fields

  1. Copied from spreadsheet and checked off according to ERD. (unchecked items indicate a mismatch between ERD and spreadsheet, which requires a review)

    • PK - id - int - Record Id
    • (FK) project_id - int - Record Id
    • title - varchar
    • description - varchar
    • url - url varchar
    • created - timestamp
    • updated - timestamp
    • accomplished_on - date
  2. In ERD only (having items here indicates a mismatch, which requires a review)

    • None

Associated Tables

  1. Copied from spreadsheet and checked off according to ERD. (unchecked items indicate a mismatch between ERD and spreadsheet, which requires a review)

    • project (many-to-one)
  2. In ERD only (having items here indicates a mismatch, which requires a review)

    • None

Custom Validation

The project_id field can be null.

  1. If project_id is null, the url field must be filled
  2. If the project_id is not null, the url field can still be filled if there's an alternative web page for the specific accomplishment
@fyliu fyliu added the good first issue Good for newcomers label Sep 20, 2022
@fyliu fyliu added this to the All tables added milestone Sep 25, 2022
@joshuayhwu

This comment was marked as outdated.

@ExperimentsInHonesty ExperimentsInHonesty added p-feature: project accomplishment s: hackforla.org stakeholder: hackforla.org website s: org stakeholder: the org (includes stats) PII: FALSE Table or function does not have or use Personally Identifiable Information (PII) and removed stakeholder: missing labels May 4, 2023
@dakahn93 dakahn93 assigned dakahn93 and unassigned dakahn93 May 24, 2023
@Neecolaa

This comment was marked as resolved.

@ExperimentsInHonesty

This comment was marked as resolved.

@fyliu

This comment was marked as resolved.

@fyliu

This comment was marked as resolved.

@shmonks shmonks moved this to Prioritized Backlog in P: PD: Project Board Jun 7, 2024
@fyliu fyliu added complexity: small All steps are laid out in detail so that someone new to the project can work on it and removed complexity: missing labels Jun 24, 2024
@shmonks shmonks removed the good first issue Good for newcomers label Aug 9, 2024
@dmartin4820 dmartin4820 self-assigned this Oct 18, 2024
@dmartin4820
Copy link
Member

For 10/24/2024 meeting:
I won't be at the meeting tomorrow

Progress: Not started yet.
Blockers: None yet
Availability: Flexible between 5pm - 9pm on weekdays.
ETA: Will work over the weekend

@shmonks shmonks moved this from 📋Prioritized Backlog to 🏗In progress-actively working in P: PD: Project Board Oct 25, 2024
@dmartin4820
Copy link
Member

For 10/30/2024 meeting:

Progress: Not started yet.
Blockers: Been focusing on PR updates (#385 and #400) for other tasks and reviewing. Once those are done or don't have any lingering issues to fix, I can dedicate more time to this.
Availability: Flexible between 5pm - 9pm on weekdays and the weekend.
ETA: Will work over the weekend

@shmonks shmonks assigned drakeredwind01 and unassigned dmartin4820 Nov 1, 2024
@shmonks
Copy link
Member

shmonks commented Nov 7, 2024

@drakeredwind01 Just the usual update request ahead of today's meeting.

Please provide update

  1. Progress: "What is the current status of your project? What have you completed and what is left to do?"
  2. Blockers: "Difficulties or errors encountered."
  3. Availability: "How much time will you have this week to work on this issue?"
  4. ETA: "When do you expect this issue to be completed?"
  5. Pictures or links* (if necessary): "Add any pictures or links that will help illustrate what you are working on."
  • remember to add links to the top of the issue if they are going to be needed again.

@drakeredwind01
Copy link
Member

created "class Accomplishment(AbstractBaseModel)"
working on API
then will run a test to make sure they work

@drakeredwind01
Copy link
Member

finished:

  • models.py
  • admin.py
  • serializers.py

need help:

  • starting server for "app/core/tests/test_api.py"

@shmonks
Copy link
Member

shmonks commented Nov 22, 2024

Please provide update

  1. Progress: "What is the current status of your project? What have you completed and what is left to do?"
  2. Blockers: "Difficulties or errors encountered."
  3. Availability: "How much time will you have this week to work on this issue?"
  4. ETA: "When do you expect this issue to be completed?"
  5. Pictures or links* (if necessary): "Add any pictures or links that will help illustrate what you are working on."
  • remember to add links to the top of the issue if they are going to be needed again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
complexity: small All steps are laid out in detail so that someone new to the project can work on it feature: table creation p-feature: project accomplishment p-feature: wins PII: FALSE Table or function does not have or use Personally Identifiable Information (PII) role: back end s: hackforla.org stakeholder: hackforla.org website s: org stakeholder: the org (includes stats) size: 2pt Can be done in 7-12 hours
Projects
Status: 🏗In progress-actively working
Development

No branches or pull requests

8 participants