Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature | Add complaint button to bus tooltip #774

Closed
NoamGaash opened this issue Jun 1, 2024 · 3 comments
Closed

Feature | Add complaint button to bus tooltip #774

NoamGaash opened this issue Jun 1, 2024 · 3 comments
Assignees
Labels
enhancement New feature or request frontend frontend developers issue line profile page

Comments

@NoamGaash
Copy link
Member

NoamGaash commented Jun 1, 2024

We want a button that will allow users to complaint about the bus.

When clicking the button, a new modal should be opened.

The modal will contain a form that will contain all information required for MOT complaint (הטופס יכיל את כל מה שהכרחי בשביל שנוכל להעביר את התלונה למשרד התחבורה):

  • first name
  • last name
  • ID (מספר תעודת זהות)
  • Email
  • Phone number
  • Complaint type (אחר \ אי עצירה בתחנה \ אי ביצוע נסיעה \ איחור \ עומס נוסעים \ התנהגות נהג \ הקדמה \ נקיות ותקינות האוטובוס \ ערעור על קנס \ שינוי מסלול \ מעבר בין קווים \ תקינות שלטי מידע בתחנה)
  • Free text - let the user describe the complaint in their own words

After the user fill the form, all information available on the point will be attached to a data attribute, and the following object should be created:

{
    "userData": {
        "firstName": "",
        "lastName": "",
        ...
    },
    "databusData": {
        "operator": "",
        ...
    }
}

image

curl -X "PUT" -H "Content-Type: application/json" -d "{\"id\": \"1234\", \"name\": \"Hello, world\!\"}" https://isz2k63tl2.execute-api.us-west-2.amazonaws.com/complaints
@NoamGaash NoamGaash added enhancement New feature or request frontend frontend developers issue line profile page labels Jun 1, 2024
@NoamGaash NoamGaash changed the title Feature | Add complaint button to Feature | Add complaint button to נוד אםםךאןפ Jun 1, 2024
@NoamGaash NoamGaash changed the title Feature | Add complaint button to נוד אםםךאןפ Feature | Add complaint button to bus tooltip Jun 1, 2024
@LiadOvdat5
Copy link
Contributor

Hi!
I think I can handle it, please assign me :)

@NoamGaash
Copy link
Member Author

@LiadOvdat5 Thank you! Good luck

@NoamGaash
Copy link
Member Author

done - #852 and #791

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request frontend frontend developers issue line profile page
Projects
None yet
Development

No branches or pull requests

2 participants