Giter Site home page Giter Site logo

davidindub / designland Goto Github PK

View Code? Open in Web Editor NEW
0.0 0.0 1.0 11.9 MB

Project 4 for Code Institute Full Stack Developer course. Find and share great web design resources.

Home Page: https://designland.herokuapp.com

Dockerfile 3.59% Procfile 0.02% Python 33.04% CSS 3.02% HTML 59.78% JavaScript 0.54%
bootstrap bootstrap5 django postgresql

designland's Introduction

About Me

Languages Learned

TypeScript HTML CSS JavaScript Python Kotlin

Certifications

Microsoft Leap Software Engineer PathwayMicrosoft Certified AI Fundamentals BadgeMTA Introduction to Programming using JavaScript Badge MTA Introduction to Programming using HTML & CSS

Contact Me

LinkedIn

designland's People

Contributors

davidindub avatar dependabot[bot] avatar

Watchers

 avatar

designland's Issues

User profile form won't validate when changing Username

Describe the bug
When you try to update user profile information using the form, it doesn't work.

To Reproduce
Steps to reproduce the behavior:

  1. Go to your profile
  2. Click on Edit Profile
  3. Click Update
  4. See error

Expected behavior
The user info should be updated and be redirected back to the updated profile.

If there is an error (for example the username is already taken), this should be displayed to the user on the form.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • macOS
  • Chrome

Additional context
Add any other context about the problem here.

[USER STORY] - Site Pagination

As a user I can view a paginated list of resources so that I can select one to read and not have too many displayed at once

Acceptance Criteria

  • When there is many resources, they should be split onto separate paginated pages

[USER STORY] - Tags displayed on each entry

As a user I want to be able to see a list of tags on each resource so I know what category it belongs to

Acceptance Criteria

  • Each resource page should list tags categorising the resource

[USER STORY] - Thumbnail of Resource

As a user I want to be able to see a thumbnail of the site so I can preview it before clicking

Acceptance Criteria

  • I should see thumbnails of each resource
  • When I click the thumbnail it takes me to the page of the resource

Resources:

  • Possibly use URL2PNG & Cloudinary

[USER STORY] - Approve submitted resources

As an administrator I want to manually approve or deny user submitted resources so I can moderate the directory and keep it free of spam or abusive messages

Acceptance Criteria

  • If a user posts a Resource it appears in the admin panel for approval
  • As an admin, I can approve or deny the Resource for publication

[USER STORY] - Update or Delete User Profile

As a registered user I want to update my profile page so that people can find me on Twitter / GitHub

Acceptance Criteria

  • I can add Twitter/GitHub links to my profile
  • I can delete my account

[USER STORY] - Register / Log in with Github account

As a developer I want to register using my Github account so I can signup without filling in any forms

Acceptance Criteria

  • I chose to sign up with Github
  • An account is created automatically for me

Resources:

  • django-allauth

[BUG]: Ordering of ListView not working

Describe the bug
.order_by("upvotes") not working anymore using ListView

To Reproduce
Steps to reproduce the behavior:

  1. Go to /
  2. See error

Expected behavior
The items should be listed according to the number of upvotes they have

Screenshots
Designland

Desktop (please complete the following information):

  • Browser Chrome

[USER STORY] - Bookmark Resources

As a user I want to be able to bookmark resources so that I can view a list of my favourites in future

Acceptance Criteria

  • I can click a bookmark icon next to each resources
  • The resource should be added to my list of bookmarked resources
  • I can visit a page where I can see all my bookmarked resources

[USER STORY] - Admin page to manage listed resources

As an administrator I want to be able to add, edit and remove resources so I can curate the listings

Acceptance Criteria

  • If a user submits a link, I can approve or deny
  • If I approve it, it appears publicly on the site
  • I should be able to delete previously approved resources too

[USER STORY] - Homepage/Splash Screen

As a first time visitor I want to be greeted with a clear explanation of the site so that I know what it is about

Acceptance Criteria

  • If I visit the homepage I am greeted with a eye catching slogan/hero image
  • I should be able to tell the purpose of the site easily

[USER STORY] - Sharing on Social Media

As I user I want to share the site on social media to help my designer friends find cool new stuff

Acceptance Criteria

  • If I share the site on Facebook/Twitter etc.
  • A thumbnail/logo and the right meta data describing the site should appear in the preview card

Resources:

Metatags.io for generating meta tag data

[USER STORY] - View directory of resources

As a unregistered developer/designer I want to browse the directory so I can find useful resources for building my projects

Acceptance Criteria

  • If I visit the site I should see a list of design resources
  • I can click them to be taken to the resource

[USER STORY] - User Registration

As a user, I want to be able to register for an account so I can interact with the site

Acceptance Criteria

  • I should be able to browse without logging in.
  • I should be able to register for an account using Google OAuth

[USER STORY] - Add new resources

As a registered user I want to be able to add useful resources I've discovered to the site so I can share them with the community

Acceptance Criteria

  • I should be able to add resources to the site

[USER STORY] - Open a resource entry

As a user I can click on a thumbnail so that I can view a page with the full details of the resource

Acceptance Criteria

  • If I click a resource in the lists, I am taken to a page with full details about it

[USER STORY] - User Profile page listing resources added

As a user I want to be able to click other users names to see what other resources they have added to the directory

Acceptance Criteria

  • I can click a username to be taken to their page
  • On their page I can see all the resources they have added to the directory

[USER STORY] - See list of resources added by a user

As a user I want to see all the resources I have submitted so I can see all my submissions in once place

Acceptance Criteria

  • I should be able to see all the resources I have submitted
  • I can see the resources added by other users on the site too

[BUG] Resource Form doesn't handle invalid form data

Describe the bug
When submitting a new resource results in a ValidationError

To Reproduce
Steps to reproduce the behaviour:

  1. Go to 'Submit New Resource'
  2. Fill out the form and use the Title or Slug of an existing resource
  3. Click Submit
  4. See error

Expected behaviour
The user should see error messages telling them what changes to make (i.e. That title already exists, please chose another)

Screenshots
If applicable, add screenshots to help explain your problem.
Screenshot 2022-08-10 at 14 05 42

print(form.errors.as_data())

{'title': [ValidationError(['Resource with this Title already exists.'])], 'slug': [ValidationError(['Resource with this Slug already exists.'])]}

[USER STORY] - Upvote Resources

As a user I want to be able to upvote resources so I can participate and recommend resources to others

Acceptance Criteria

  • I can click a button to upvote resources
  • The number of upvotes should increase
  • Resources are listed by number of upvotes

[USER STORY] - Privacy Policy

As a visitor to the site I want to read the Privacy Policy before I sign up so that I can know how my data will be used

Acceptance Criteria

  • I can click a link to be taken to the Privacy Policy
  • The policy is written in easy to understand language

Resources:

[USER STORY] - Sort by tags

As a user I want to be able to sort the resources by tag so I can find what I'm interested in

Acceptance Criteria

  • I should be able so view the listed resources tag by tag
  • When I select a tag, only resources with that tag are listed

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.