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

Magic link workflow improvements #79

Open
winged opened this issue Sep 5, 2023 · 3 comments
Open

Magic link workflow improvements #79

winged opened this issue Sep 5, 2023 · 3 comments
Labels
feature This issue or pull request discusses a feature frontend This issue or pull request is frontend related

Comments

@winged
Copy link
Member

winged commented Sep 5, 2023

The magic links (#1022) are indeed magic! However, I wish for some changes that would massively improve the feature's usability and effectiveness.

Similar to adfinis/timed-frontend#685, I'd like to have the possibility to have a magic link anywhere (At minimum in activities and timesheet, possibly other places).

I kinda imagine it to work as follows:

  • Clicking "new magic link" opens the dialog in an empty state (as it is now)
  • Clicking "new magic link" on a timesheet/activity entry opens the dialog with already-populated values from corresponding entry
  • The dialog is used both when receiving a link and when sending a link: Receiving a link opens the dialog just as if it was opened via button
  • The dialog gets two additional buttons: "Start Tracking", and "Create timesheet entry".
  • Add a date field as well, so we can create entries for past (or even future) days

Here's how I imagine it to look (roughly):

image

This would enable the following use cases:

  • Invite someone to work on a task that I've already worked on (timesheet) or am tracking via activity
  • When receiving a magic link decide whether to start tracking or create a timesheet entry directly
  • The "resume" button on the activity could be entirely replaced with the magic link dialog as well
@winged winged added the feature This issue or pull request discusses a feature label Sep 5, 2023
@StephanH90
Copy link
Contributor

nice.

@anehx
Copy link
Member

anehx commented Feb 26, 2024

I thought about something like this as well. However, I think that adding a button to each row in the timesheet is too much so this would be my proposal:

  • Clicking the existing "new magic link" gives you some kind of alternative cursor (in my head that would be a wand or something)
  • With that cursor:
    • Clicking on an existing timesheet entry opens the dialog prefilled with the content currently in that row
    • Clicking on the empty row in the timesheet gives you the same dialog as we have now

@winged
Copy link
Member Author

winged commented Feb 26, 2024

[...]

  • Clicking the existing "new magic link" gives you some kind of alternative cursor (in my head that would be a wand or something)

  • With that cursor:
    * Clicking on an existing timesheet entry opens the dialog prefilled with the content currently in that row
    * Clicking on the empty row in the timesheet gives you the same dialog as we have now

I think this "magic mode" would be rather tricky to understand or be discoverable, unless massive visual aids help pointing the user in the right direction after clicking (highlighting clickable rows). It would also introduce some additional state management complexity.

I'd rather stay with my proposal, I but absolutely accept your objection regarding over-cluttering of the timesheet row.

In the activities tab, we could entirely replay the "play" button, as my proposal would also allow users to "start tracking". It would add one click if you wanted to resume an activity, but that's acceptable IMO.

In the timesheet tab, the magic link button could be hidden unless the row is moused over, to avoid visual clutter. Or maybe we could move some rarely-used parts of the row into an edit mode (similar to the form that pops when clicking on a row in the activities tab) where we would hide the delete button, possibly the remaining-effort input and the "magic" link

@c0rydoras c0rydoras transferred this issue from adfinis/timed-frontend May 13, 2024
@c0rydoras c0rydoras added frontend This issue or pull request is frontend related labels May 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature This issue or pull request discusses a feature frontend This issue or pull request is frontend related
Projects
Status: 📋 Backlog
Development

No branches or pull requests

4 participants