Skip to content

Add a more functional error view #5516 - #5861

Merged
ckamm merged 6 commits into
masterfrom
errorstab
Jul 4, 2017
Merged

ckamm merged 6 commits into
masterfrom
errorstab

Conversation

@ckamm

@ckamm ckamm commented Jun 27, 2017

Copy link
Copy Markdown
Contributor
  • Allow filtering of ignores and warnings to see only important bits.
  • Navigate from the folder view to the error view by clicking on the
    error list with the red background.
  • Move the error list into its own ui file to allow easier extension.
  • Fix issue around tab id handling in ActivitySettings.
  • Rename "Action" column to "Issue".

Not done:

  • Protocol and Issue view probably want to share the same underlying
    model.
  • Blacklisting of errors currently moves them into the 'ignored file'
    category; that should change because then they don't appear as errors
    and are easily filtered away.
  • How should non-file errors be displayed? (e.g. "not enough disk space
    to start the sync!")

* Allow filtering of ignores and warnings to see only important bits.
* Navigate from the folder view to the error view by clicking on the
  error list with the red background.
* Move the error list into its own ui file to allow easier extension.
* Fix issue around tab id handling in ActivitySettings.
* Rename "Action" column to "Issue".

Not done:
* Protocol and Issue view probably want to share the same underlying
  model.
* Blacklisting of errors currently moves them into the 'ignored file'
  category; that should change because then they don't appear as errors
  and are easily filtered away.
* How should non-file errors be displayed? (e.g. "not enough disk space
  to start the sync!")
@ckamm ckamm added this to the 2.4.0 milestone Jun 27, 2017
@ckamm ckamm self-assigned this Jun 27, 2017
@ckamm
ckamm requested a review from guruz June 27, 2017 09:45
@ckamm

ckamm commented Jun 27, 2017 •

Copy link
Copy Markdown
Contributor Author

Can now navigate to the errors view from the folder settings page, automatically setting up filters, hiding ignores/warnings:
shot1

The look of the errors view:

shot2

@SamuAlfageme

Copy link
Copy Markdown
Contributor

@ckamm this looks great!! 😍

@guruz

guruz commented Jul 3, 2017

Copy link
Copy Markdown
Contributor

Protocol and Issue view probably want to share the same underlying
model.

Is that necessary? If it works already now it's fine?

Blacklisting of errors currently moves them into the 'ignored file'
category; that should change because then they don't appear as errors
and are easily filtered away.

Done #5865 ?

How should non-file errors be displayed? (e.g. "not enough disk space
to start the sync!")

Maybe it's enough to keep them on account tab?

@guruz

guruz commented Jul 3, 2017 •

Copy link
Copy Markdown
Contributor

Could you make the margin(?) higher on both bottom and top? The 'p' is cut off..

errordisplay

Would it be possible to remove the "Click for error list"? It looks a bit out of place and not like something clickable. Maybe just have the whole read area clickable? (possiblye with hand-cursor?)

(Also interesting the INVALID characters error is anyway not file-specific so clicking won't bring you to anything useful)

@guruz

guruz commented Jul 3, 2017

Copy link
Copy Markdown
Contributor
  • Make ActivitySettings::slotShowIssuesTab work on macOS (where we use different tab logic..) @guruz

@guruz

guruz commented Jul 3, 2017

Copy link
Copy Markdown
Contributor

Except for my comments the code looks good :)

I'm not super happy about the UX but we can iterate on that

@ckamm

ckamm commented Jul 3, 2017

Copy link
Copy Markdown
Contributor Author

@guruz

Unified model

Yes, not strictly necessary. There's a bit of code duplication/long range interaction between the issues and the protocol view, but it's not horrible.

Blacklisting

Yes #5865 addresses that.

"Click for error list"

I added that to make it discoverable that the red box is clickable (it's the whole box). Maybe a cursor and tooltip message would also do it. We should definitely say something whenever we elide errors from that view, in my opinion.

The obvious thing would be a button, but I couldn't make that look good. Further iterations on making this pretty are definitely appreciated.

My main goal here was to have a dedicated per-account error view.

@ckamm
ckamm merged commit ce8341c into master Jul 4, 2017
@dragotin

dragotin commented Jul 6, 2017

Copy link
Copy Markdown
Contributor

Nice! However, in case a user only has one account, could you hide the Account-Combo? And similar for the folders: If someone does not have folders defined, or only one, it would be good to hide that combo.

That will unclutter the UI for inexperienced users :-)

@ckamm

ckamm commented Jul 6, 2017

Copy link
Copy Markdown
Contributor Author

@dragotin Nice idea, I'll do that!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants