Giter Club home page Giter Club logo

dispatch's People

Contributors

ajb avatar dobthubot avatar drusepth avatar jrubenoff avatar mjumbewu avatar tyre avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

dispatch's Issues

More readable timeline

An assumption: when a vendor looks at an opportunity, they care about this information in order of priority:

  1. When submissions are due (or, if the submission period hasn't started, when the period opens)
  2. When questions are closed (or, if it's not yet open for questions, when it opens)
  3. When it's posted, to confirm it's a fresh listing

The timeline should visually reflect these priorities. So, for example, if submissions and questions aren't yet open, the sidebar could look like this:

screen shot 2016-04-29 at 7 59 15 pm

Once submissions and questions are open, users don't care when that happened. So the sidebar could change to this:

screen shot 2016-04-29 at 8 00 12 pm

Validate for blank answers

If the admin presses "Edit answer / Write answer", types in nothing, and presses "Save", an error should appear.

Update rubocop gem.

Repo uses a vulnerable version of rubocop: rubocop/rubocop#4336

Vulnerability is low severity and only affects developers.

Fix should be as simple as updating the rubocop gem

Remove title step in wizard

opportunities/new/ and /opportunities/edit/title are two different pages with exactly the same content. They shouldn't both exist.

One idea: We remove the title page from the wizard, and add a Rename button to the wizard's page header. This would summon a Rename modal, like in Screendoor.

screen shot 2016-04-27 at 12 11 29 am

Separate i18n for name / email / password fields

I need to be able to specify separate i18n for these pages, even though they have the same fields:

  • Vendor signup
  • Staff signup
  • Sign in
  • Account page

The desired tone of language needs to be different for the onboarding process than other pages. (For example, "What's your email address?" vs. "Email".)

Since the signup form for vendors is twice as long as that for government staff, it would be great to have separate i18n for each of those forms as well.

Add a success flash for unsubscribing

When a user unsubscribes from a filter (or, rather, "deletes" a subscription), we should let them know that the action has been performed successfully.

Optimize attachment full text search

When an attachment is uploaded, we attempt to extract the text and store it in the attachments table. That text is then used for full text search when filtering in /opportunities. This triggers very expensive joins, aggregations, and to_tsvector function calls which collectively consume
large amounts of memory.

To better support searching through lots of large attachments we should find another approach to FTS other than pg_search's "associated_against" feature, which is not ideal for this use case.

I think it would make sense to create a dedicated search index and use pg_search's "multisearch" approach. We'd possibly have to make some changes to, or work around Filterer code.

Create a logo

Something that would work in the nav bar...

img

in the mailer...

img

...and also in the README.

It would be great if it was able to work for different color schemes, since the color variables are likely to be customized.

Validate for agency email addresses in vendor signup

Outcome

Help alert government staff if they accidentally sign up as a vendor.

Structure

It would be nice if we could validate client-side for agency email addresses as they're typed in, and display an alert accordingly:

screen shot 2016-04-29 at 4 10 02 pm

Submission adapter copywriting and defaults

  1. Not sure how to change the copywriting for the submission adapter options. I'd like them to be as follows:

screen shot 2016-04-26 at 11 49 32 pm

  1. Email should be the default selection here, I think. Otherwise, it's easy for admins to post opportunities while overlooking that there is no way for vendors to apply. If email's selected by default, the worst-case scenario is that someone gets a few emails by mistake. But that's easy to fix: they can manually enter in Screendoor or forward to the correct individual.

  2. If the user selects "Neither", we should warn them of what they need to do. Something like:

screen shot 2016-04-27 at 12 02 51 am

Better saving behavior in the wizard

The "Save and continue" button in the wizard is very confusing. I usually find myself clicking another tab and forgetting that my work didn't actually save.

At the very least, we should have a beforeUnload alert if the user clicks another link, asking them whether they want to discard their changes.

Datepicker usability

A few usability issues with the datepicker I'm having trouble implementing myself:

  1. The default time on the datepicker should be 12:00am, not the current time.

  2. The datepicker input fields should have placeholders, so that disabled users understand the format in which they should type:

screen shot 2016-04-29 at 4 02 54 pm

Show contents of saved searches

This list is pretty worthless from a cognitive perspective. It's very hard to remember a filter by the time at which you subscribed to it.

screen shot 2016-04-26 at 11 38 51 pm

Better: describe the contents of the filter in the list.

screen shot 2016-04-26 at 11 40 18 pm

Splash page

Make a nice-looking page that contains the README text in a layout that's easier to visually scan.

Styling improvements for default theme

I assume that @jrubenoff can go through the app and find a bunch of things to fix that aren't visible to me as a non-designer.

  • CSS should be added to themes/dvl-core/assets/stylesheets/themes/
  • Templates should be edited in app/views/

Automatically create a project on Screendoor

We could ask a user to choose from a list of project templates, and automatically create the project for them on Screendoor.

Pending questions:

  • How does a user authenticate w/ Screendoor (no OAuth...)
    • If we use a sitewide API key, how do we know which user to invite to the project?
  • Do we pull a list of templates, or specify them in config vars?

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.