Open ivan1px opened 1 year ago
@turabiapex
Display timer near the task inside the project: At the current state of the app, it is possible to create multiple active timers for the same task. Is this expected behaviour? If that is the case, then how do we decide which timer to show inside the task card in the project page? @turabiapex
@ajil-apx as we have a sort button on the figma at the bottom right corner of the page, I think we should stick to the default sorting behavior unless the user doesn't change that. plus, we will enable drag & drop very soon on this ticket here https://github.com/djangoflow/flutter-odoo-timesheets/issues/56
@ivan1px please feel free to comment on this argument. I would love to get your input.
Design
Logo
Look/Feel
Interactions
Ideas of what can be added if not too complicated:
Login
Design
Timesheets
Design screens
[x] When the tab is not empty screen display Sorting button
[x] Clicking on the Sorting button should open the drop down with two options: Recent/Oldest
[x] Recent should be selected by default
[x] Selecting on of this options should sort the timers by their last time of execution
[ ] #55
[x] Clicking on Plus button should open the Create timer screen
[x] Star icon indicates if the task if favorited, you can click on it in order to favorite
[x] Favorite logic should be applied to the timesheet, noty the task (it will make all timesheets inside favorite as well)
[x] Do not display the deadline in case it's not set
Timer creation
Opened the Timer
Design link
[x] There are should be two tabs: Timesheets and Details
[x] On the Timesheets display Current running/last timer information (day of the week, date, Start time, Time, description)
[ ] User should be able to click on the pencil button to edit the description
[x] Below there will be a list of completed records, by default they are collapsed and displaying like this:
[x] Clicling on the record will expand it and display Description with edit button
[x] In case there is more than 2 lines of text we need to cut it with "Read more" and ... after the last symbol
[x] Clicking Read more should display all text
[x] On the Details tab display task details (Project, Deadline (if exist), Assigned to, Task descruption)
[x] Clicking on the three dots button should display a drop-up menu with two options for local task: delete/favorite and one option for synced task: favorite
Favorites
Odoo
Local
Projects
[x] Clicking on the "Get started" on Empty odoo projects screen will open odoo log-in screen
[x] Clicking on the "Get started" on Empty local projects screen will open create project screen
[x] Clicking on the "Get started" on Empty fav projects screen will open create project screen with favorited checkbox on
[x] User should be able to click on the plus button to create a new project
Create project
Inside the project
Settings
Design screens
Edge cases and other
[ ] When syncing with odoo https:// should not be editable as without it the url will be incorrect
[x] Improve dropdown visuals, it should not display so much empty space
[x] I belive that Timer should start if you click on the area with time on the card, not only start/pause
[x] Update package name to com.apexive.timesheet
[x] When syncing an already sycned timesheet from odoo, the odoo task can be deleted, in this case we need to show user a pop up to choose if they want to delete the local timesheet entry as well, or want to keep it
[x] If an online Task or Project was deleted then the user will need to sync Task from odoo to select a Odoo project and Odoo Task. This will also update the onlineIds for local Task and Project
[ ] If a timesheets online project id and task id was change from odoo then we will need to create a new Task or Project or both on local db and update the onlineIds there and update the local timesheet to refer to the new projectId and TaskId. Basically transfer the timesheet to the new Task.
[ ] when user logs out then then local db should be saved, after he log-in back it should sync with online db and not create duplicates
[x] If task is deleted in the odoo we need to display a question oppon the sync if we should delete it as well or keep locally
[ ] If there is a issue with task id we need to display a question what we need to do with it (merge, create new, ignore)
Bugs fixes
[ ] Inside the task I can see list of around 20 timers (not timesheets)
[ ] new created task, timer started, cannot stop
[ ] Cannot sync after timer stop