Giter Site home page Giter Site logo

wmcadigital / wmn-disruption-manage Goto Github PK

View Code? Open in Web Editor NEW
0.0 6.0 0.0 3.98 MB

Service to manage alerts of West Midlands Network disruptions

Home Page: https://disruption-manage.wmnetwork.co.uk/

HTML 2.92% JavaScript 94.39% SCSS 2.69%
react wmn disruptions west-midlands-network west-midlands

wmn-disruption-manage's Introduction

This project was bootstrapped with Create React App.

Available Scripts

In the project directory, you can run:

yarn start

Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.

The page will reload if you make edits.
You will also see any lint errors in the console.

yarn test

Launches the test runner in the interactive watch mode.
See the section about running tests for more information.

yarn build

Builds the app for production to the build folder.
It correctly bundles React in production mode and optimizes the build for the best performance.

The build is minified and the filenames include the hashes.
Your app is ready to be deployed!

See the section about deployment for more information.

yarn eject

Note: this is a one-way operation. Once you eject, you can’t go back!

If you aren’t satisfied with the build tool and configuration choices, you can eject at any time. This command will remove the single build dependency from your project.

Instead, it will copy all the configuration files and the transitive dependencies (webpack, Babel, ESLint, etc) right into your project so you have full control over them. All of the commands except eject will still work, but they will point to the copied scripts so you can tweak them. At this point you’re on your own.

You don’t have to ever use eject. The curated feature set is suitable for small and middle deployments, and you shouldn’t feel obligated to use this feature. However we understand that this tool wouldn’t be useful if you couldn’t customize it when you are ready for it.

Learn More

You can learn more in the Create React App documentation.

To learn React, check out the React documentation.

Code Splitting

This section has moved here: https://facebook.github.io/create-react-app/docs/code-splitting

Analyzing the Bundle Size

This section has moved here: https://facebook.github.io/create-react-app/docs/analyzing-the-bundle-size

Making a Progressive Web App

This section has moved here: https://facebook.github.io/create-react-app/docs/making-a-progressive-web-app

Advanced Configuration

This section has moved here: https://facebook.github.io/create-react-app/docs/advanced-configuration

Deployment

This section has moved here: https://facebook.github.io/create-react-app/docs/deployment

yarn build fails to minify

This section has moved here: https://facebook.github.io/create-react-app/docs/troubleshooting#npm-run-build-fails-to-minify

wmn-disruption-manage's People

Contributors

catiarodriguescosta avatar daylesalmon avatar dependabot[bot] avatar gldgrnt avatar mushtaque12 avatar restyled-io[bot] avatar sudheer-rk avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

wmn-disruption-manage's Issues

Road alerts emails / texts

I think most people would want email /text alerts for a specific route rather than a radius area from a central point. From my location in Wolverhampton, I set up as if I were to receive alerts for the A4123 to M5 J2 - this was an 8 mile radius, and I received 74 email alerts and texts.

The flow and setup worked well though. Just needs that option to select specific routes - mainly KRN.

Text field width

Please increase the length of search field so full text fits in. Text field should be in proportion with text width.
Screenshot 2020-10-27 at 09 13 02

Remove trial content and feedback URL from contact preferences

Sorry for missing this one @mushtaque12 - one more area left to remove trial mentions.

On the contact preferences if a phone number is registered, we need to remove the feedback URL and trial sentence:
Screenshot 2022-07-08 at 14 32 58

For example:

Manage your contact preferences

Text messages

We are sending texts to {phone number}.

Emails

We are sending emails to {email}

Update title and meta tags

These tags reference West Midlands Network which is no longer the brand name. They should be updated to:

<title>Manage alerts about disruptions - Transport for West Midlands</title>

<meta name="description" content="Manage disruption alerts on the Transport for West Midlands network"/

All other meta properties for social media etc need updating too.

Add padding and mode subheadings in the 'Add more services' content card.

Current behaviour:
The 'Add tram service' button is too close to the bus service which has been added.

Screenshot 2020-11-04 at 15 26 24

The issue:
There needs to be additional padding between the bus service and the 'Add tram service' button. Also, mode subheadings will need to be added before the 'Add service' buttons to give clarity and to help break up the content.

The add service content card design needs to reflect the existing add service design in the sign-up form:

Screenshot 2020-11-04 at 15 24 52

Roads alerts

Hi - when I sign up for road alerts (25 June), the email arrives with WMNetwork branding and a WMNetwork email address. Shouldn't this all be TfWM now?

image

Service confirmation process - email dashboard

When user signs up for routes and receives email to confirm and clicks button confirm, we should not ask to confirm again on the dashboard because user already confirmed in the email. Currently user needs to click twice to do one task.

Can't see train lines I have subscribed to unless I add a Tram line or Bus route (video)

I'm not sure if this is just happening on my account or it's a wider bug. This is my second sign-up, I deleted my first subscription just to be sure that my data was no longer in the database before I tried to recreate the bug.

The title is pretty self-explanatory, I can't see train lines I have subscribed to in the 'Remove your services' section unless I add a Tram line or Bus route. If I remove the tram/Bus service, then the train line I subscribed to disappears.

This happens if I both add a train line in the sign-up form and add a train line on the manage alerts page.

Bug occurs on both Chrome and Safari on my Macbook.

Email: [email protected]

Screen.Recording.2021-01-18.at.12.23.09.mov

Cannot see quiet hours after adding more services

When adding more services, previously selected quiet hours disappear. Instead it says - you will not receive alerts between. instead of showing the hours after "between".

The selected quiet hours reappear after refreshing the page.
QH

Change 'Resend PIN Code' button copy to 'Resend code'

As the title suggests, the copy in the existing 'Resend PIN Code' button needs to change to 'Resend code' as we no longer use the term PIN since this changed to authentication code.

We have decided not to include the term 'authentication' in the button copy as it's too long, 'Resend code' will work just fine.

98786805-87129100-23f6-11eb-92bd-c3ffc24d038d

Additional Verification

When you add a new service to get alerts from you don't see it appear in the list, and it sends you another verification email to click. If already in the managed account why do you need to verify subscription again? If I added multiple new routes would I get multiple emails? If so do you then have to click each email to verify or just one? It seems a bit too much of a faf on the customer.

Manage/remove your routes - email dashboard

Current user journey does not match the spec. Please remove all green buttons. There should be only red button with bin icon 'remove service' following design on zeplin. We need to change title manage your routes, because user can only do one action here - remove routes.

Favicon

Please remove React favicon and use WMN logo. Email alerts management dashboard sign up to emails form.

Pin Location

The icons don't match where the incidents are.

This tram incident is link to 2 stops and the tram icon is no where near either of them?

@daylesalmon @gldgrnt

image
@

Remove large H1 heading below nav bar and change H1 nav bar heading to 'Manage alert preferences'

We've decided the new title change ('Manage alert preferences') should be applied to the H1 heading in the nav bar as well and we should hide the larger H1 heading below the nav bar until the new navigation bar is implemented into Umbraco (as this will replace the current one on the manage preferences page).

The reason for this change is because we shouldn't be using two H1 titles on a page. When we replace the nav bar with the new navigation, then there will be no H1 heading in the nav bar. This means we can then use the larger H1 heading below the nav bar.

So for now, it should look like this (without the extra padding below the nav bar):
Screenshot 2020-11-11 at 11 59 09

Route names should be coherent

Route names should match with the ones chosen on the bus search.
Dashboard's and Emails' route name should be updated too.

Button width

Please update all full width buttons on the desktop so they are in proportion with text length. Please see screenshots below: e.g. continue and add service

Screenshot 2020-10-27 at 09 15 35

Screenshot 2020-10-27 at 08 40 37

Add more routes - email dashboard

User should be able to add routes in the dashboard rather, it should not take him to email subscription form. It should give them access to search autocompete functionality in the dashboard.

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.