Git Product home page Git Product logo

codeofconductlink's People

Contributors

emilyhorsman avatar evanhahn avatar simonv3 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

codeofconductlink's Issues

Project detail layout and styling

Relevant template is projects/templates/projects/project_detail.html.

This is what it currently looks like, most data just dumped out to lists:

preview

Data that needs to be shown:

  • Project name
  • Homepage
  • Code of conduct
  • Edit button for logged in users (eventually with django-reversion history)
  • Delete button for project owner and moderators
  • Verify button for moderators
  • Report button
  • Vouch button, preferably with toggle state (as is the current behaviour)
  • Tags
  • Submissions (see projects/models.py) and their user if publicly displayed (user.name will yield Anonymous as intended if no public display name is set)
  • Reports if moderator or owner of reports
  • Reports set as visible to owner if logged in as owner of project
  • Timeline of users vouching for project
  • Future: project edit history via django-reversion
  • Future: queer/trans/woman/etc underrepresented highlights

Error messages in form styling

And any other form styling frankly.

preview

Error messages don't really appear tied to their field and don't stand out as an error.

Close messages

Displayed flash messages like below should have a close button

preview

django-taggit + django-reversion + validators

Currently a tag can be named with a non slug character (alphanumeric, underscore, hyphen) which causes the slug to mess up and no URL can be resolved with that slug as an argument (it ends up being a blank slug e.g. '??' -> '')

For django-reversion, a model needs to be made to represent tags.

Two options for the slugs:

  1. Simply don't try to link invalid slugs (easier and maybe better?)
  2. Validate tags so only slug characters are allowed (harder, less freedom?)

Project list layout and styling

Relevant template is projects/templates/projects/project_list.html.

Right now, project data has just been dumped into a list,

preview

We need to decide on a proper way to display a list of projects given their:

  • Name
  • Verification status (seen by moderators, unverified projects are left out of list)
  • (?) Number of community vouches
  • (?) Stars on GitHub/GitLab/etc if on a repo? This is a bit of a stretch feature
  • Tags
  • Homepage
  • Code of Conduct link

Autocomplete any tag fields

Models are currently using django-taggit. Autocompletion for Project and Submission forms would be nice. Prepopulated with tags for underrepresented contributors such as woman, trans, queer, etc.

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.