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

fix: Scoreboard select all boxes, dropdown styles and text spacing #1277

Merged
merged 2 commits into from
Jan 4, 2022

Conversation

faucomte97
Copy link
Contributor

@faucomte97 faucomte97 commented Jan 4, 2022

Fixes bugs rows 39, 40 and 41 in bugs spreadsheet and also part of bug row 32


This change is Reviewable

@faucomte97 faucomte97 self-assigned this Jan 4, 2022
Copy link
Contributor

@dionizh dionizh left a comment

Choose a reason for hiding this comment

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

Reviewed 3 of 3 files at r1, all commit messages.
Reviewable status: all files reviewed, 2 unresolved discussions (waiting on @faucomte97)


game/static/game/css/scoreboard.css, line 93 at r1 (raw file):

a.next {
  padding-left: 10px;
}

Minor, but I think this is better as margin. (So say if there's a background colour it would look right.)


game/templates/game/scoreboard.html, line 62 at r1 (raw file):

        <div class="col-sm-4">
            <div class="dropdown">
                <button class="button--secondary button--secondary--dark button--dropdown" type="button" data-toggle="dropdown" aria-expanded="false">

What does this fix?

Copy link
Contributor Author

@faucomte97 faucomte97 left a comment

Choose a reason for hiding this comment

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

Reviewable status: 2 of 3 files reviewed, 2 unresolved discussions (waiting on @dionizh)


game/static/game/css/scoreboard.css, line 93 at r1 (raw file):

Previously, dionizh (Dioni Zhong) wrote…

Minor, but I think this is better as margin. (So say if there's a background colour it would look right.)

Done.


game/templates/game/scoreboard.html, line 62 at r1 (raw file):

Previously, dionizh (Dioni Zhong) wrote…

What does this fix?

It fixes the bug where the dropdown gets opened if the user presses enter in the search box.
https://stackoverflow.com/questions/23668996/bootstrap-dropdown-always-get-focused-when-pressing-enter-key-in-form/39902207

Copy link
Contributor

@dionizh dionizh left a comment

Choose a reason for hiding this comment

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

Reviewed 1 of 1 files at r2, all commit messages.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved (waiting on @faucomte97)

@codecov
Copy link

codecov bot commented Jan 4, 2022

Codecov Report

Merging #1277 (ccc9893) into master (5c32eff) will decrease coverage by 0.01%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1277      +/-   ##
==========================================
- Coverage   90.63%   90.61%   -0.02%     
==========================================
  Files          98       98              
  Lines        5318     5318              
==========================================
- Hits         4820     4819       -1     
- Misses        498      499       +1     
Impacted Files Coverage Δ
game/random_road.py 90.64% <0.00%> (-0.36%) ⬇️

@faucomte97 faucomte97 merged commit 89c1a10 into master Jan 4, 2022
@faucomte97 faucomte97 deleted the scoreboard_fixes_2 branch January 4, 2022 17:58
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.

2 participants