[PATCH 00/51] A patchwork redesign v2

Damien Lespiau damien.lespiau at intel.com
Tue Aug 25 04:22:49 AEST 2015


Way too much time has passed since the original submission and I have no other
excuse than the lack of time to look at patchwork. Good news though, making
patchwork useful for us (i915 and more largely for projects hosted on
freedesktop.org) is now (small, but still!) part of my work here at Intel, so
expect some renewed activity.

Here's the delta from v1:

  - Rebased on top of master,

  - Autocompletion behaviour: I made sure that the previous behaviour, that is
    being able to quickly type a string in the submitter input field and press
    <Enter> to submit the form before the autocompletion kicks in, still works.
    I also tweaked that same input field behaviour so that pressing <Enter>
    after having selected a completion candidate also triggers a form
    submission (Wolfram Sang, Peter Maydell),

  - Fixed the code splitting the commit message out of the rest of comments,
    following Jeremy's suggestion,

  - Reduce a bit the vertical padding to allow more items in the same viewport
    (Wolfram Sang),

  - Focus the user name field when loading the login page (Wolfram Sang),
  
  - Tweak a bit how the tags are displayed, based on the feedback from
    Thomas Petazzoni,

  - Squashed patches fixing the unit tests into the respective patch
    introducing the change causing the test failure in the first place (Jeremy
    Kerr),

A git branch is available instead of having to grab the patches from the
mailing-list:

  https://github.com/dlespiau/patchwork/tree/20150824-redesign

No test instance this time, but the mandatory screenshots!

  http://lespiau.name/patchwork/list.png
  http://lespiau.name/patchwork/list-autocompletion.png
  http://lespiau.name/patchwork/list-tags.png
  http://lespiau.name/patchwork/patch-title.png
  http://lespiau.name/patchwork/patch-commit-message.png

-- 
Damien

Belén Barros Pena (1):
  patch: Redesign slightly the comment headers

Belén Barros Peña (11):
  style.css: Tune <a> styling
  templates: Move "About" at the bottom of the page
  html: Turn the navbar into a breadcrumb bar
  style.css: Provide a default <h2> style
  patch-list: Split the filter out of the patch table
  filters: Put the active filter values in bold
  patch-list: Re-design the main list of patches with Bootsrap
  paginator: Tweak the number of pages shown
  paginator: Redesign the paginator
  patch: Pull the download links next to the "Patch" header
  patch: Move the submitter and date out of the details

Damien Lespiau (39):
  templates: Pull jquery into base.html
  htdocs: Add bootstrap
  template: Add bootstrap to the base template
  list: Replace the 16-arrow* icons by glyphicons
  sytle.css: Remove the body selector, letting bootstrap's shine through
  style.css: Move the global <a> styling at the top
  templates: Redesign the title bar
  templates: Redesign the breadcrumbs bar
  templates: Remove extraneous blank line at the end of base.html
  base: Move the project info into the navigation bar
  base: Don't display the breadcrumb bar on the project list page
  style.css: Rename the breadcrumb selectors
  filters: Use the glyphicons for add/remove signs
  filters: Fix a typo in comment
  filters: Redesign the filters form with the help of bootstrap
  selectize: Add selectize to patchwork
  base: Add selectize to the base template
  filters: Rewrite the submitter autocompletion code
  package: Add the Sticky Table Header jQuery plugin
  patch-list: Make the table header sticky
  base: Group username/profile/logout with a dropdown
  base: Capitalize the menu items in the navbar
  base: Use a Bootstrap badge for the number of todo items
  patchform: Minimal changes so patchform titles don't look out of place
  boxes: Style boxes like the patch form
  style: Make the submission tables use #0A0A47
  patch: Remove the permalink item
  patch: Single out the commit message
  patch: Pull the patch between the commit message and comments
  patch: Override Bootstrap's <pre> styling
  patch-list: Limit the number of chars to 100 for the patch subject
  base: Don't put the logout button in the is_staff block
  patch: Capitalize "Incoming Patches"
  patch-list: Use table-condensed to display the patch list
  login: Focus the username field on load
  filter: Tweak the autocompletion behaviour on <Enter>
  filters: Submit the form when <Enter> is pressed on a closed submitter
    field
  filters: Fix submitter display when we only have an email address
  patch-list: Tweak how A/R/T tags are displayed

 htdocs/css/bootstrap.min.css                       |   5 +
 htdocs/css/selectize.bootstrap3.css                | 401 +++++++++++++++++++++
 htdocs/css/style.css                               | 201 +++++------
 htdocs/fonts/glyphicons-halflings-regular.eot      | Bin 0 -> 20335 bytes
 htdocs/fonts/glyphicons-halflings-regular.svg      | 229 ++++++++++++
 htdocs/fonts/glyphicons-halflings-regular.ttf      | Bin 0 -> 41280 bytes
 htdocs/fonts/glyphicons-halflings-regular.woff     | Bin 0 -> 23320 bytes
 htdocs/images/16-arrow-down.png                    | Bin 354 -> 0 bytes
 htdocs/images/16-arrow-up.png                      | Bin 332 -> 0 bytes
 htdocs/images/16-circle-blue-add.png               | Bin 477 -> 0 bytes
 htdocs/images/16-circle-blue-remove.png            | Bin 475 -> 0 bytes
 htdocs/images/title-background.png                 | Bin 246 -> 0 bytes
 htdocs/js/bootstrap.min.js                         |   6 +
 htdocs/js/jquery.stickytableheaders.min.js         |   1 +
 htdocs/js/selectize.min.js                         |   3 +
 lib/packages/jquery/README                         |  19 +-
 .../jquery/jquery.stickytableheaders.min.js        |   1 +
 patchwork/filters.py                               |  30 +-
 patchwork/models.py                                |  11 +
 patchwork/paginator.py                             |   8 +-
 patchwork/templates/patchwork/bundle.html          |   1 -
 patchwork/templates/patchwork/filters.html         | 222 +++++-------
 patchwork/templates/patchwork/list.html            |   3 +-
 patchwork/templates/patchwork/login.html           |   7 +
 patchwork/templates/patchwork/pagination.html      |   2 +-
 patchwork/templates/patchwork/patch-list.html      |  86 ++---
 patchwork/templates/patchwork/patch.html           |  78 ++--
 patchwork/templatetags/patch.py                    |  17 +-
 patchwork/tests/test_list.py                       |   2 +-
 patchwork/tests/test_person.py                     |   4 +-
 patchwork/utils.py                                 |   5 +
 patchwork/views/base.py                            |  18 +-
 templates/base.html                                | 115 +++---
 33 files changed, 1045 insertions(+), 430 deletions(-)
 create mode 100644 htdocs/css/bootstrap.min.css
 create mode 100644 htdocs/css/selectize.bootstrap3.css
 create mode 100644 htdocs/fonts/glyphicons-halflings-regular.eot
 create mode 100644 htdocs/fonts/glyphicons-halflings-regular.svg
 create mode 100644 htdocs/fonts/glyphicons-halflings-regular.ttf
 create mode 100644 htdocs/fonts/glyphicons-halflings-regular.woff
 delete mode 100644 htdocs/images/16-arrow-down.png
 delete mode 100644 htdocs/images/16-arrow-up.png
 delete mode 100644 htdocs/images/16-circle-blue-add.png
 delete mode 100644 htdocs/images/16-circle-blue-remove.png
 delete mode 100644 htdocs/images/title-background.png
 create mode 100644 htdocs/js/bootstrap.min.js
 create mode 120000 htdocs/js/jquery.stickytableheaders.min.js
 create mode 100644 htdocs/js/selectize.min.js
 create mode 100644 lib/packages/jquery/jquery.stickytableheaders.min.js

-- 
2.1.0



More information about the Patchwork mailing list