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

Implement a high-accessibility canvastable alternative #863

Open
wants to merge 25 commits into
base: master
Choose a base branch
from

Conversation

tadzik
Copy link
Contributor

@tadzik tadzik commented Dec 23, 2020

This loosens the coupling between AppComponent and CanvasTable, allowing us to switch between alternative canvastable implementations (which currently requires a page reload, given how interconnected everything still is). It also ships an optional simplified messagelist, using native HTML widgets which should mitigate canvas's inherent problems described in #857.

native-table

The alternative messagelist is not fully functional (yet), but the basic functionality and styling are open to testing, criticism and patches.

@tadzik tadzik added the a11y label Dec 23, 2020
@tadzik tadzik force-pushed the tadzik/decouple-canvastable branch 3 times, most recently from adbd270 to b416f55 Compare December 23, 2020 17:34
@gtandersen
Copy link
Contributor

Good initiative @tadzik!

@tadzik tadzik force-pushed the tadzik/decouple-canvastable branch 4 times, most recently from c617875 to a4d0bf6 Compare December 29, 2020 18:16
@tadzik tadzik changed the title Decouple canvastable Implement a high-accessibility canvastable alternative Dec 29, 2020
@tadzik tadzik marked this pull request as ready for review December 29, 2020 18:20
[ngClass]="{ 'messageButton': true, 'selectedFolder': rows.openedRowIndex == row.rowid }"
(click)="openMessage(row.rowid)"
>
<div class="firstRow">
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like this hard codes the set of columns displayed - which won't quite DWIM when showing search results, or the "Sent" folder.. could it use the canvastablecolumns stuff somehow?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It does, though it cheats a little by hardcoding the header column to be either From or Sent. Not very future-proof, but that's the best we've got right now I think.

@castaway
Copy link
Contributor

castaway commented Jan 4, 2021

Any particular reason the new view isnt an HTML table? its a little confusing as a list, especially when clicking "threaded" .. cant tell what that does at all - view just jumps/redraws

@castaway
Copy link
Contributor

castaway commented Jan 4, 2021

Couldnt see the "Next N messages" button at first - it disappears when the horizontal view pane is displayed

@castaway
Copy link
Contributor

castaway commented Jan 4, 2021

Up/down pages the messages (by 10) on the non-canvas list.. this is quite confusing/different to the canvastable.. Maybe that should be pageup/down instead?

@tadzik tadzik force-pushed the tadzik/decouple-canvastable branch from f702279 to 2f38f60 Compare April 20, 2021 11:43
@tadzik tadzik force-pushed the tadzik/decouple-canvastable branch from 2f38f60 to 63ef200 Compare April 20, 2021 15:52
@castaway
Copy link
Contributor

castaway commented Jun 29, 2021

image

Changing folders does not set the current page, so if I vist Sent, page forward a few pages, then visit Templates (or something with less pages), I get this view. I think the default should be to jump to page 1, when changing folders.

@castaway
Copy link
Contributor

I could be missing something, or you lost it in a shuffle - when an email is open, there doesn't seem to be an indication of which one it is, in the mail list - row hightlight or similar

image

@castaway
Copy link
Contributor

The Attachment / Flag columns are missing - I would think they'd be possible to do?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants