hackforla / tdm-calculator

DTLA Hack for LA is partnering with Los Angeles Department of Transportation (LADOT) to develop a Traffic Demand Management (TDM) calculator tool. This tool will help planners at LADOT and real estate developers to meet the Los Angeles’s Mobility Plan goals by 2035.
https://tdm.ladot.lacity.org
GNU General Public License v2.0
48 stars 32 forks source link

Design: Create Mockups for adding and editing admin notes from the my projects page #1889

Open NilakshiS opened 5 days ago

NilakshiS commented 5 days ago

Overview

Admin needs the ability to view, add and edit notes to a project from the "My Projects Page". Create design mockups for possible solutions.

Details

Dev has implemented a basic view, add and edit notes functionality on the "My Projects Page" but it is not very user friendly. One suggested solution is to use Modals. Create different mock-ups using modals as well as any other possible solutions to help visualize ideas and get feedback.

(Expand to see screenshots from dev site below)

Image of admin notes column currently ![image](https://github.com/user-attachments/assets/9165fd63-bd5c-4db2-9999-9175627fc4fc)
Notes which have already been created show a pencil icon to edit them, while a plus icon indicates adding a new note ![image](https://github.com/user-attachments/assets/3c549b63-d4f6-423e-a292-5362224198ee)
Editing a note changes the note to an editable text box with save and cancel buttons ![image](https://github.com/user-attachments/assets/862347cb-1cc6-4597-8be6-1d8715f54441)
Adding a new note also opens an editable text box with save and cancel buttons ![image](https://github.com/user-attachments/assets/16434bf6-fa55-44b7-9e17-d89646471746)

Action Items

Resources/Instructions

namigoeku commented 1 day ago

I took the suggestion in using a modal.

The user would press the plus icon to add a note 1



That would open a modal with a text box and a save and cancel button.
Question 1: Is there a character limit in the notes? We can notate a character limit at the top. Question 2: Do we need a scrollbar or textarea resize icon to account for a large amount of characters? pajamas_resize 2



Once the note is saved, the note preview would indicate a limited number of characters to indicate there is a note attached. The user can press the expand icon to edit or view the comment.
Question: Would it be an issue if the user accidentally edits the modal while viewing? 3

ExperimentsInHonesty commented 13 hours ago

Column should have two icons (no text). Icons represent

  • add a new note
    Add new note modal image

  • read/edit a note
    • Modal option 1 (it takes you to a modal that looks like the add a new note modal)
    • Modal option 2 (it takes you to a modal that has the text, and you have to click on pencil, which would then take you to modal 1)

The edit section should be large enough to actually read and edit.