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

Made calculation options hidden when empty: #1076

Merged
merged 15 commits into from
Aug 30, 2021

Conversation

harshilsharma63
Copy link
Member

Summary

Displaying table calculation options only when not empty and on hover.

Ticket Link

Fixes #960

@harshilsharma63 harshilsharma63 requested a review from a team as a code owner August 24, 2021 06:12
@harshilsharma63 harshilsharma63 requested review from wiggin77, sbishel, hahmadia, a team and asaadmahmood and removed request for a team, wiggin77 and sbishel August 24, 2021 06:12
@harshilsharma63
Copy link
Member Author

@asaadmahmood can you run this and verify the UX?

@asaadmahmood
Copy link
Contributor

@harshilsharma63 For this one, we want to show all the calculate dropdowns if a person is hovering over the row.

Copy link
Contributor

@asaadmahmood asaadmahmood left a comment

Choose a reason for hiding this comment

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

See comment. Also we can make the Calculate option by default a bit greyed (opacity .6) but if it has a value, we bump up the opacity to default (1).

@harshilsharma63
Copy link
Member Author

@asaadmahmood can you take a look at this again? I've made the required changes.

Copy link
Contributor

@asaadmahmood asaadmahmood left a comment

Choose a reason for hiding this comment

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

The hover doesn't work on the plugin.

@harshilsharma63
Copy link
Member Author

@asaadmahmood please take a look again. I've fixed the issue with plugin mode with Mattermost v5.38 and the latest master.

Copy link
Contributor

@asaadmahmood asaadmahmood left a comment

Choose a reason for hiding this comment

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

LGTM

@harshilsharma63 harshilsharma63 merged commit 7f8dc81 into main Aug 30, 2021
@harshilsharma63 harshilsharma63 deleted the table-calculation-defaults branch August 30, 2021 06:13
harshilsharma63 added a commit that referenced this pull request Aug 30, 2021
* Made calculation options hidden when empty:

* WIP

* Made calculation row visible on hover

* Updated tests

* Fixed issue with plugin mode

* Fixed a bug where options didn't hide after selecting an option

* Updating opacity

Co-authored-by: Asaad Mahmood <asaadmahmood@users.noreply.github.com>
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.

Only show table calculate controls on hover
2 participants