Skip to content

Replace with sorting icon #11815

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

Merged
merged 1 commit into from
Aug 3, 2022
Merged

Conversation

laushinka
Copy link
Contributor

@laushinka laushinka commented Aug 2, 2022

Description

Uses the correct arrow icon.

Screenshot 2022-08-03 at 18 33 14

Related Issue(s)

Fixes #11783

How to test

  1. Join this team.
  2. I will set you as owner.
  3. Go to the usage tab.

Release Notes

NONE

Documentation

Werft options:

  • /werft with-preview

@werft-gitpod-dev-com
Copy link

started the job as gitpod-build-laushinka-replace-column-sorting-11783.1 because the annotations in the pull request description changed
(with .werft/ from main)

@laushinka laushinka force-pushed the laushinka/replace-column-sorting-11783 branch 2 times, most recently from 22f1baa to 37eb94d Compare August 2, 2022 16:51
@roboquat roboquat added size/XS and removed size/S labels Aug 3, 2022
@laushinka laushinka force-pushed the laushinka/replace-column-sorting-11783 branch from da1eacf to 4e46af5 Compare August 3, 2022 07:33
@laushinka
Copy link
Contributor Author

laushinka commented Aug 3, 2022

@gtsiolis How do I rotate the SVG? 🤣 I tried using rotate-180 on the class but that didn't work..

@@ -204,7 +204,9 @@ function TeamUsage() {
<ItemField className="my-auto cursor-pointer">
<span onClick={() => setIsStartedTimeDescending(!isStartedTimeDescending)}>
Started
<Arrow direction={isStartedTimeDescending ? "down" : "up"} />
<SortArrow
className={`h-4 w-4 ${isStartedTimeDescending ? "" : "rotate-180"}`}
Copy link
Contributor

Choose a reason for hiding this comment

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

@laushinka Regarding the question about rotation in #11815 (comment), you'll need to add the transform class here for this to work, right? See relevant docs for 2.x v. 3.x.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

LOL thank you as always @gtsiolis!

@gtsiolis gtsiolis mentioned this pull request Aug 3, 2022
@laushinka laushinka force-pushed the laushinka/replace-column-sorting-11783 branch from 4e46af5 to a19f7a5 Compare August 3, 2022 16:16
@roboquat roboquat added size/S and removed size/XS labels Aug 3, 2022
@laushinka laushinka marked this pull request as ready for review August 3, 2022 16:35
@laushinka laushinka requested a review from a team August 3, 2022 16:35
@github-actions github-actions bot added the team: webapp Issue belongs to the WebApp team label Aug 3, 2022
@laushinka laushinka requested a review from gtsiolis August 3, 2022 16:40
@roboquat roboquat merged commit 3783204 into main Aug 3, 2022
@roboquat roboquat deleted the laushinka/replace-column-sorting-11783 branch August 3, 2022 18:06
@roboquat roboquat added deployed: webapp Meta team change is running in production deployed Change is completely running in production labels Aug 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
deployed: webapp Meta team change is running in production deployed Change is completely running in production release-note-none size/S team: webapp Issue belongs to the WebApp team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Replace column sorting icon in usage page
4 participants