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

Allow setting defaults for view options in settings #1809

Open
MetRonnie opened this issue May 23, 2024 · 1 comment
Open

Allow setting defaults for view options in settings #1809

MetRonnie opened this issue May 23, 2024 · 1 comment
Labels
good first issue Good for newcomers small UX/UI User experience and interface improvements
Milestone

Comments

@MetRonnie
Copy link
Member

Problem

Users may want to set defaults for:

  • Log view:
    • Line wrapping
  • Graph view:
    • Cycle point grouping
    • Transpose option

Proposed Solution

Add checkbox settings for these in the user profile/settings view

@MetRonnie MetRonnie added small UX/UI User experience and interface improvements labels May 23, 2024
@MetRonnie MetRonnie added this to the 2.6.0 milestone May 23, 2024
@MetRonnie MetRonnie added the good first issue Good for newcomers label May 23, 2024
@oliver-sanders
Copy link
Member

oliver-sanders commented May 23, 2024

Checkboxes are a simple solution, however, worth noting there is a more advanced solution that would scale better with view requirements in the long run.

The Graph and Log views make use of the same Toolbar component. The idea was that we would get all views using the same toolbar component. This will give the UI a more consistent interface and facilitate sharing common widgets (e.g. task filtering). This toolbar could then be used as an interface for users to set their preferences, both within the view and on the settings page.

I.E., take the Graph View toolbar, strip out any actions that use callbacks (fire and forget) rather than actions (save / modify settings), then display this on the settings page.

This way the settings pages are auto-generated from the toolbar configuration and users can review/change their default preferences using the same interface they use to modify them within the view.

Another way to achieve the same thing is to have a save button within the view toolbar to allow saving the current view configuration as the default.

Some related comments on #662

@wxtim wxtim assigned wxtim and unassigned wxtim Jun 4, 2024
@oliver-sanders oliver-sanders modified the milestones: 2.6.0, 2.7.0 Oct 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers small UX/UI User experience and interface improvements
Projects
None yet
Development

No branches or pull requests

3 participants