mathesar-foundation / mathesar

Web application providing an intuitive user experience to databases.
https://mathesar.org/
GNU General Public License v3.0
2.33k stars 321 forks source link

Client-side aggregations from cell selection #2383

Open seancolsen opened 1 year ago

seancolsen commented 1 year ago

Problem

UX Design goals

Possible solutions

Considerations

Next steps

seancolsen commented 8 months ago

The maintainers team met today to discuss this issue. We decided to approve the feature at the product level, with the recognition that it still requires UX design before implementation.

@mathemancer expressed some concern that this feature would not be useful enough to justify its inclusion in Mathesar. He worries that giving user too many ways to compute aggregates will become confusing.

I and @ghislaineguerin both made a case for this because we rely on this feature regularly when using spreadsheets.

To help address @mathemancer's concern, we'd like to note that the UX design should take care to contain this feature to a small part of the app where users are unlikely to confuse its purpose with our other grouping and summarizing features.

seancolsen commented 8 months ago

Towards the UX design process, here's a quick mockup of what I have in mind:

image

I'd want to improve aesthetics, but I think the "Cell" tab of the table inspector would be a logical place to put this UI.