Code Monkey home page Code Monkey logo

streetsupport-web's People

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar

streetsupport-web's Issues

new organisations print friendly view

create new print-friendly page for https://streetsupport.net/find-help/all-service-providers/, which lists org title, synopsis, and addresses

add print button underneath heading synopsis, giving it a class of .js-print-btn

hide irrelevant items:

  • remove entire search box (titled "To find organisations in your area...")
  • remove entire search organisation by name form
  • remove view type tabs (list, map)
  • remove drop shadow from card
  • hide print button in print styling

fix horizontal scroll in mobile view

when viewing the site on a mobile device, you can swipe left and move the site body across, revealing a yellow box. this is an issue with how the mobile nav works.

extract find organisations form from location homepages into partial

For each location home page (eg https://github.com/StreetSupport/streetsupport-web/blob/develop/src/pages/manchester/index.hbs) take out the form after the "You're in {location-name}" and put it into a partial (https://github.com/StreetSupport/streetsupport-web/tree/develop/src/partials/locations)

Currently supported locations:

Bolton
Bournemouth
Bradford
Bury
Leeds
Liverpool
Manchester
Oldham
Portsmouth
Rochdale
Salford
Southampton
Stockport
Tameside
Trafford
Wigan

Please also do https://github.com/StreetSupport/streetsupport-web/blob/develop/src/pages/locations/_home-page.hbs - which is used in the scaffolding of new location pages.

consider removing backstop/visual regression testing

As part of an effort to make SSN V1 more efficient dev side, we should consider dropping visual regression testing as:

  • we don't use it,
  • a fair few dependencies,
  • the version is very old and would probably need redoing anyway.

organisations sharing the same postcode do not show up on map view

reproducing the issue:

  1. go to https://streetsupport.net/find-help/all-service-providers/map/
  2. enter the postcode "M4 1LE"
  3. hit "find help" button
  4. zoom in the map

clicking on the icon shows info for Centrepoint. However, there is also the organisation Coffee4Craig there, as they share office space.

TODO:

  • aggregate the data, grouping organisations that share a lat/long
  • remove the purple (? i'm colour blind!) heading
  • list organisations in the white remaining white section:

eg

button - "x" (close marker)

h1 - "Centrepoint - Greater Manchester"
p - "Homelessness charity for 16 - 25 year olds."
a - "view details"

h1 - "Coffee4Craig"
p - "Holistic homelessness support"
a - "view details"

ensure:

take a look at:

https://github.com/StreetSupport/streetsupport-web/blob/develop/src/scss/partials/_card.scss
https://github.com/StreetSupport/streetsupport-web/blob/develop/src/js/pages/all-organisations/map/app.js

Fix print styling on timetabled service listings

Improve use of space when printing a services timetable page eg https://streetsupport.net/find-help/meals/timetable/ by adding print media query to the components:

  • remove entire search box (titled "to find services near you...")
  • remove view type tabs (listing, timetable, map)
  • extend cards to full width
  • remove drop shadow from card
  • add print button underneath service category synopsis, giving it a class of .js-print-btn
  • hide print button in print styling

Fix print styling on service listings

Improve use of space when printing a services timetable page eg https://streetsupport.net/find-help/meals/ by adding print media query to the components:

  • remove entire search box (titled "to find services near you...")
  • remove view type tabs (listing, timetable, map)
  • extend cards to full width
  • remove drop shadow from card
  • add print button underneath service category synopsis, giving it a class of .js-print-btn
  • hide print button in print styling

Fix print styling on organisation listing

Improve use of space when printing the org listing page eg https://streetsupport.net/find-help/meals/timetable/ by adding print media query to the components:

  • remove entire search box (titled "To find organisations in your area...")
  • remove entire search organisation by name form
  • remove view type tabs (list, map)
  • remove drop shadow from card
  • add print button underneath heading synopsis, giving it a class of .js-print-btn
  • hide print button in print styling

create task/build step to create sitemap.xml

to improve search engine optimisation, create a sitemap for crawling robots.

the site is built using https://metalsmith.io/. keep in mind a number of pages are created as part of the build process - take a look in tasks/ and any files called generate...

there's probably a plugin for metalsmith that will crawl its own files and generate one, otherwise, create a gulp task that can be run post-build that builds it!

wire up organisation search to API endpoint

on the org listing page (find-help/all-service-providers/) wire up to the search org form to query the API (currently, it just does a client-side filter of the orgs returned by the postcode proximity search)

this requires a GET request being sent to the API endpoint via the following URL: /v1/service-provider-locations/?name={org-name}

list an organisation's accommodation that they provide (if any)

from an org's details page (eg https://streetsupport.net/find-help/organisation/?organisation=riverside)

create a section that lists the accommodation entries they provide.

have a look at:

consider:

  • extracting the markup for the accommodation card into a partial used in both views
  • perform the query and templating separately to existing loading/templating

Add link to donate directly to Street Support

review webpack caching

Not sure if webpack is caching stuff correctly when it chunks everything. can then get rid of our custom cache busting in the pipeline

create sitemap page

to aid people finding the content they need, create a new sitemap page.

this should be generated as part of the build process. see tasks/ for all the build steps.

Link from the footer, and also to T&Cs.

NB Categories would ideally be pulled from the DB as can change, but static will do for now.

Full list of pages and links here: https://docs.google.com/spreadsheets/d/1x6OCCD1avbpiHKD7eNnnPHEEz438neAtazjXhgD1giQ/edit?usp=sharing

Sitemap Desktop:
https://sketch.cloud/s/xK2P8/all/sitemap/sitemap-desktop
Mobile:
https://sketch.cloud/s/xK2P8/all/sitemap/sitemap-page-mobile

see _cards.scss and make a variant

host app link images locally

currently uses apple's linkmaker which takes a while to resolve. just re-create the image and host them in the site

(S) CSS | WEB - tidy up org listing page

example page to replicate (on dev): /find-help/organisation/?organisation=barnabus

###opening times

on a location's opening times listing, each day should be listed vertically, and multiple opening times (eg 09:00 - 12:00; 13:00 - 17:00) should be listed horizontally

###errant drop shadow

remove the drop shadow that is floating about when a location does not have any services

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.