• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

lucyparsons / OpenOversight / 5682961023 / 1
89%
develop: 89%

Build:
DEFAULT BRANCH: develop
Ran 27 Jul 2023 04:21PM UTC
Files 85
Run time 1s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

27 Jul 2023 04:15PM UTC coverage: 90.405% (+0.09%) from 90.315%
5682961023.1

push

github

web-flow
Add `state` field to `DepartmentForm` (#988)

## Fixes issue
https://github.com/lucyparsons/OpenOversight/issues/797

## Description of Changes
Added state abbreviation dropdown to the department creation and editing
page.

## Screenshots (if appropriate)
Create Department:
<img width="877" alt="Screenshot 2023-07-24 at 12 00 46 PM"
src="https://github.com/lucyparsons/OpenOversight/assets/5885605/ddef0ffe-b381-4fde-9b8f-8c925be8e0fe">

Edit Department:
<img width="1470" alt="Screenshot 2023-07-26 at 4 44 21 PM"
src="https://github.com/lucyparsons/OpenOversight/assets/5885605/adbcc13a-61c7-4b22-bf33-49ae21061fda">

Show state if it exists for department on list screen:
<img width="1185" alt="Screenshot 2023-07-27 at 10 45 15 AM"
src="https://github.com/lucyparsons/OpenOversight/assets/5885605/7530746f-715b-4d76-a7ed-3679ab3a5383">

Show state if it exists for department on download screen:
<img width="1222" alt="Screenshot 2023-07-27 at 10 48 25 AM"
src="https://github.com/lucyparsons/OpenOversight/assets/5885605/454a4c09-6031-4bf5-b1ab-480d47be046a">

## Tests and linting
 - [x] This branch is up-to-date with the `develop` branch.
 - [x] `pytest` passes on my local development environment.
 - [x] `pre-commit` passes on my local development environment.

7293 of 8067 relevant lines covered (90.41%)

0.9 hits per line

Source Files on job 5682961023.1
  • Tree
  • List 0
  • Changed 5
  • Source Changed 0
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 5682961023
  • 30cdfc01 on github
  • Prev Job for on develop (#5676657515.1)
  • Next Job for on develop (#5698823536.1)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc