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

Better non-production-banner #3611

Merged
merged 2 commits into from
Mar 24, 2022
Merged

Better non-production-banner #3611

merged 2 commits into from
Mar 24, 2022

Conversation

zcolleyz
Copy link
Contributor

@zcolleyz zcolleyz commented Mar 23, 2022

The banner on staging/dev/local makes it hard to compare between those and production.
These changes make the non-production-banner simpler and float. It also makes the close button bigger so it's easier to close.

Also this deletes lots of dead code around those files.

Before

Screenshot 2022-03-23 at 14 06 59

After

Screenshot 2022-03-23 at 14 06 35

@zcolleyz zcolleyz requested a review from a team as a code owner March 23, 2022 14:05
@zcolleyz zcolleyz requested review from mozgzh and removed request for a team March 23, 2022 14:05
@zcolleyz zcolleyz force-pushed the better-non-production-banner branch from f51ed48 to c861507 Compare March 24, 2022 11:21
@github-actions
Copy link

github-actions bot commented Mar 24, 2022

Size Change: -203 B (0%)

Total Size: 4.78 MB

Filename Size Change
web/dist/main.****************.js 49.9 kB -251 B (-1%)
ℹ️ View Unchanged
Filename Size Change
web/dist/_1.****************.svg 1.19 kB 0 B
web/dist/_2.****************.svg 1.33 kB 0 B
web/dist/_3.****************.svg 1.34 kB 0 B
web/dist/1-1.****************.png 8.57 kB 0 B
web/dist/1-2.****************.png 7.66 kB 0 B
web/dist/1-3.****************.png 14.1 kB 0 B
web/dist/1-4.****************.png 24.4 kB 0 B
web/dist/1-5.****************.png 15.8 kB 0 B
web/dist/1-6.****************.png 12.3 kB 0 B
web/dist/1-red-copy.****************.svg 9.27 kB 0 B
web/dist/15.****************.css 920 B 0 B
web/dist/15.****************.js 1.07 kB 0 B
web/dist/2-1.****************.png 7.09 kB 0 B
web/dist/2-2.****************.png 14.1 kB 0 B
web/dist/2-3.****************.png 10.3 kB 0 B
web/dist/2-4.****************.png 8.65 kB 0 B
web/dist/2-5.****************.png 8.42 kB 0 B
web/dist/207.****************.js 711 B 0 B
web/dist/207.****************.css 797 B 0 B
web/dist/352.****************.js 3.96 kB 0 B
web/dist/424.****************.js 15.9 kB 0 B
web/dist/424.****************.css 9.69 kB 0 B
web/dist/529.****************.css 1.32 kB 0 B
web/dist/529.****************.js 933 B 0 B
web/dist/561.****************.css 3.33 kB 0 B
web/dist/561.****************.js 5.25 kB 0 B
web/dist/662.****************.js 5.11 kB 0 B
web/dist/662.****************.css 2.91 kB 0 B
web/dist/79.****************.css 1.97 kB 0 B
web/dist/79.****************.js 2.53 kB 0 B
web/dist/814.****************.css 3.44 kB 0 B
web/dist/814.****************.js 11.9 kB 0 B
web/dist/830.****************.js 12.8 kB 0 B
web/dist/830.****************.css 3.21 kB 0 B
web/dist/956.****************.js 783 B 0 B
web/dist/956.****************.css 777 B 0 B
web/dist/background-wave-error.****************.svg 403 B 0 B
web/dist/challenge-mtn-post.****************.svg 3.35 kB 0 B
web/dist/challenge-mtn-pre.****************.svg 3.41 kB 0 B
web/dist/chevron-left.****************.svg 291 B 0 B
web/dist/chevron-right.****************.svg 293 B 0 B
web/dist/chrome-color.****************.svg 1.97 kB 0 B
web/dist/close-black.****************.svg 820 B 0 B
web/dist/close.****************.svg 819 B 0 B
web/dist/contact.****************.svg 975 B 0 B
web/dist/contribute.****************.png 599 kB 0 B
web/dist/cv-logo-bw.****************.svg 2.36 kB 0 B
web/dist/cv-logo-one-color-white.****************.svg 2.9 kB 0 B
web/dist/dashboard.****************.png 954 kB 0 B
web/dist/datasets-intro-background-triangle.****************.svg 444 B 0 B
web/dist/datasets-intro-background.****************.svg 502 B 0 B
web/dist/deepspeech.****************.png 10.7 kB 0 B
web/dist/deepspeech@2x.****************.png 31.6 kB 0 B
web/dist/deepspeech@3x.****************.png 63.2 kB 0 B
web/dist/discourse.****************.png 16.4 kB 0 B
web/dist/discourse.****************.svg 479 B 0 B
web/dist/discourse@2x.****************.png 44.7 kB 0 B
web/dist/discourse@3x.****************.png 73.9 kB 0 B
web/dist/down-arrow.****************.svg 394 B 0 B
web/dist/email-bg-light.****************.png 12.5 kB 0 B
web/dist/email-bg-md-light.****************.svg 912 B 0 B
web/dist/email-bg-md.****************.svg 1.1 kB 0 B
web/dist/email-bg.****************.png 4.22 kB 0 B
web/dist/Eq.****************.svg 16.9 kB 0 B
web/dist/exclamation.****************.svg 524 B 0 B
web/dist/fading.****************.svg 632 B 0 B
web/dist/feedback.****************.png 26.4 kB 0 B
web/dist/feedback@2x.****************.png 82.6 kB 0 B
web/dist/feedback@3x.****************.png 269 kB 0 B
web/dist/ff-color.****************.svg 4.3 kB 0 B
web/dist/github.****************.svg 848 B 0 B
web/dist/globe_black.****************.svg 948 B 0 B
web/dist/globe.****************.svg 947 B 0 B
web/dist/grid.****************.svg 387 B 0 B
web/dist/hex-done.****************.svg 335 B 0 B
web/dist/hex.****************.svg 301 B 0 B
web/dist/home.****************.svg 505 B 0 B
web/dist/ibm.****************.svg 498 B 0 B
web/dist/keyboard.****************.svg 356 B 0 B
web/dist/lenovo.****************.svg 926 B 0 B
web/dist/librispeech.****************.png 155 B 0 B
web/dist/light-waves.****************.svg 1.7 kB 0 B
web/dist/listen-bg.****************.svg 1.98 kB 0 B
web/dist/listen.****************.svg 1.8 kB 0 B
web/dist/mail.****************.svg 1 kB 0 B
web/dist/main.****************.css 14.9 kB +47 B (0%)
web/dist/mars-avatar.****************.svg 1.36 kB 0 B
web/dist/mars-blue.****************.svg 3.48 kB 0 B
web/dist/mars-sad.****************.svg 6.24 kB 0 B
web/dist/mars.****************.svg 2.7 kB 0 B
web/dist/mesh.****************.svg 484 B 0 B
web/dist/mic.****************.svg 432 B 0 B
web/dist/mozilla.****************.svg 465 B 0 B
web/dist/play.****************.svg 2.15 kB 0 B
web/dist/plus.****************.svg 330 B 0 B
web/dist/red-robot.****************.svg 1.1 MB 0 B
web/dist/releases/cv-corpus-1.json 2.92 kB 0 B
web/dist/releases/cv-corpus-2.json 4.35 kB 0 B
web/dist/releases/cv-corpus-3.json 4.45 kB 0 B
web/dist/releases/cv-corpus-4-2019-12-10.json 5.52 kB 0 B
web/dist/releases/cv-corpus-5-2020-06-22.json 9.96 kB 0 B
web/dist/releases/cv-corpus-5-singleword.json 2.53 kB 0 B
web/dist/releases/cv-corpus-5.1-2020-06-22.json 9.97 kB 0 B
web/dist/releases/cv-corpus-5.1-singleword.json 2.52 kB 0 B
web/dist/releases/cv-corpus-6.0-2020-12-11.json 10.7 kB 0 B
web/dist/releases/cv-corpus-6.0-singleword.json 3.43 kB 0 B
web/dist/releases/cv-corpus-6.1-2020-12-11.json 10.9 kB 0 B
web/dist/releases/cv-corpus-6.1-singleword.json 3.52 kB 0 B
web/dist/releases/cv-corpus-7.0-2021-07-21.json 13.4 kB 0 B
web/dist/releases/cv-corpus-7.0-singleword.json 3.63 kB 0 B
web/dist/releases/cv-corpus-8.0-2022-01-19.json 13.6 kB 0 B
web/dist/robot.****************.png 52.1 kB 0 B
web/dist/runtime.****************.js 2.37 kB +1 B (0%)
web/dist/safari-color.****************.svg 8.71 kB 0 B
web/dist/sap.****************.svg 849 B 0 B
web/dist/search.****************.svg 428 B 0 B
web/dist/segment-dots.****************.svg 471 B 0 B
web/dist/sodedif.****************.png 1.95 kB 0 B
web/dist/speak-bg.****************.svg 1.98 kB 0 B
web/dist/speak.****************.svg 1.69 kB 0 B
web/dist/star.****************.svg 557 B 0 B
web/dist/stars-disabled.****************.svg 2.09 kB 0 B
web/dist/stars.****************.svg 2.13 kB 0 B
web/dist/success.****************.svg 1.47 kB 0 B
web/dist/support.****************.svg 1.94 kB 0 B
web/dist/tatoeba.****************.png 21 kB 0 B
web/dist/ted.****************.png 172 B 0 B
web/dist/upload.****************.svg 551 B 0 B
web/dist/vendors.****************.js 331 kB 0 B
web/dist/voxforge.****************.png 10.5 kB 0 B
web/dist/wave-2.****************.svg 816 B 0 B
web/dist/wave-blue.****************.svg 4.32 kB 0 B
web/dist/wave-grey.****************.svg 1.9 kB 0 B
web/dist/wave-top.****************.png 5.28 kB 0 B
web/dist/wave.****************.png 196 kB 0 B
web/dist/wave.****************.svg 1.07 kB 0 B
web/dist/waves-md.****************.svg 1.66 kB 0 B
web/dist/waves.****************.svg 1.11 kB 0 B
web/dist/waves.****************.png 21.2 kB 0 B
web/dist/waves@2x.****************.png 113 kB 0 B
web/dist/waves@3x.****************.png 227 kB 0 B

compressed-size-action

@zcolleyz zcolleyz force-pushed the better-non-production-banner branch from c861507 to 59ad8f6 Compare March 24, 2022 12:22
@zcolleyz zcolleyz merged commit 96c11a0 into main Mar 24, 2022
@zcolleyz zcolleyz deleted the better-non-production-banner branch March 24, 2022 13:20
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.

None yet

2 participants