Skip to content

Conversation

norbye
Copy link
Member

@norbye norbye commented Feb 22, 2024

Shame to see updated components go to waste because of inactivity, so I have started scavenging what I could from #2707 and updating it ever so slightly to merge it to master:)

With this update, no poll options are displayed until it is triggered, so the issue of showing all options while the component loads is no longer an issue.

Result

If you've made visual changes, please check the boxes below and include images showing the changes. Descriptions are appreciated.

  • Changes look good on both light and dark theme.
  • Changes look good with different viewports (mobile, tablet, etc.).
  • Changes look good with slower Internet connections.

Caution

Make sure your images do not contain any real user information.

Before - smol

Skjermopptak.2024-02-25.kl.12.37.39.mov

After - smol

Skjermopptak.2024-02-25.kl.12.25.39.mov

Before - chunky

Skjermopptak.2024-02-25.kl.12.36.52.mov

After - chunky

Skjermopptak.2024-02-25.kl.12.35.34.mov

Testing

  • I have thoroughly tested my changes.

Please describe what and how the changes have been tested, and provide instructions to reproduce if necessary.


Resolves ABA-849, ABA-537, ABA-769

@github-actions github-actions bot added the review-needed Pull requests that need review label Feb 22, 2024
@norbye norbye removed the review-needed Pull requests that need review label Feb 22, 2024
Copy link
Member

@ivarnakken ivarnakken left a comment

Choose a reason for hiding this comment

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

I acknowledge that this is still a draft, but I welcome you with some comments

It's awesome that you're tackling this component!!

background-color: var(--lego-red-color);
color: var(--lego-card-color);
padding: 0 0.5rem 0.5rem;
box-shadow: 0 2px 2px rgba(0, 0, 0, 20%);
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
box-shadow: 0 2px 2px rgba(0, 0, 0, 20%);
box-shadow: var(--shadow-sm);

Not sure which you want

Copy link
Member Author

Choose a reason for hiding this comment

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

Not too sure about this one - all the shadows in variables have either very low opacity or are very spread out, so might have to define some new ones

color: var(--success-color);
.arrowIcon {
color: var(--lego-card-color);
text-shadow: 0 2px 2px rgba(0, 0, 0, 20%);
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
text-shadow: 0 2px 2px rgba(0, 0, 0, 20%);
text-shadow: var(--shadow-md);

Or a different one (most likely)

@github-actions github-actions bot added the review-needed Pull requests that need review label Feb 22, 2024
@norbye norbye force-pushed the poll-redesign branch 3 times, most recently from 2be2dc8 to ceb9056 Compare February 22, 2024 22:16
Base automatically changed from overview-redone to master February 23, 2024 23:15
@norbye norbye force-pushed the poll-redesign branch 2 times, most recently from 1c7a7a6 to 83b731a Compare February 24, 2024 00:07
@linear
Copy link

linear bot commented Feb 24, 2024

@linear
Copy link

linear bot commented Feb 24, 2024

@norbye norbye marked this pull request as ready for review February 24, 2024 23:52
@norbye norbye added enhancement Pull requests that make enhancements, instead of just purely new features bug-fix Pull requests that fix a bug labels Feb 24, 2024
@norbye norbye requested review from a team and ivarnakken February 24, 2024 23:52
Copy link
Member

@ivarnakken ivarnakken left a comment

Choose a reason for hiding this comment

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

Awesome :shipit:

@norbye norbye merged commit 18ca702 into master Mar 4, 2024
@norbye norbye deleted the poll-redesign branch March 4, 2024 09:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug-fix Pull requests that fix a bug enhancement Pull requests that make enhancements, instead of just purely new features review-needed Pull requests that need review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants