Skip to content

[FEATURE] Update the appearance of event list items in the list page #5

@NicksPatties

Description

@NicksPatties

Is your feature request related to a problem? Please describe.
The list page contains some information about an event that has been recorded. However, there isn't enough information that is considered useful.

Describe the solution you'd like
The following is a text version of the proposed solution:

Closed list item--------------------------------------

Name of task				2 hrs 23 mins

Open list item----------------------------------------

Name of Task

Total Time
00:00:00

Start Time				End Time
1:23 AM					1:30 AM

					Delete
------------------------------------------------------

Some things to note:

  • Task list items should open and close when clicking on the list item itself. No need to use the cancel button
  • Pressing the delete button should prompt the user to make sure they want to make that change, or show a bottom bar that asks if you want to undo the deletion (can be a separate task, though)

Describe alternatives you've considered
Some alternatives include

  • Different ways to decorate time (00:00:00, Xhrs Xmins)
  • How to display the open details of a component (either through a modal, bottom page modal, or something else)
    • I like opening the list item itself, since it looks cool, and it doesn't keep the user from scrolling down the page if they'd like to look at something else instead

Additional context
N/A

Developer Notes

  • Need to rethink how the measurement of the open version of this component works, since I'm currently using a magic number to determine the height of the component
  • Perhaps in the future I can support showing different variations string decoration through an option, but that can come later. Consider passing in some string formatter as a parameter to whatever function you're using

Task Breakdown

  • Update appearance of closed List item component
  • Allow component to be closed when clicked on again without Cancel button
  • Update appearance of open list item component
  • Update measurement of open component

Metadata

Metadata

Assignees

Labels

Priority 2Medium high priority: Work on this soonenhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions