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 web build by changing literal to string #3109

Merged
merged 1 commit into from
Mar 13, 2020

Conversation

cmcewen
Copy link
Contributor

@cmcewen cmcewen commented Mar 13, 2020

Description

Fix web build - TS doesn't like string literals in enums apparently

Tested

Build works

@cmcewen cmcewen requested a review from aaronmgdr as a code owner March 13, 2020 21:46
@@ -9,7 +9,7 @@ export enum colors {
placeholderDarkMode = '#838486',
secondary = '#81868B',
dark = '#2E3338',
darkTransparent = `rgba(46, 51, 56, 0.5)`,
darkTransparent = 'rgba(46, 51, 56, 0.5)',
Copy link
Member

Choose a reason for hiding this comment

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

oh

@codecov
Copy link

codecov bot commented Mar 13, 2020

Codecov Report

Merging #3109 into master will decrease coverage by 0.8%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #3109      +/-   ##
==========================================
- Coverage   75.66%   74.85%   -0.81%     
==========================================
  Files         298      591     +293     
  Lines        6348    14797    +8449     
  Branches      704     1552     +848     
==========================================
+ Hits         4803    11076    +6273     
- Misses       1326     3395    +2069     
- Partials      219      326     +107
Flag Coverage Δ
#mobile 74.24% <ø> (?)
#web 75.66% <100%> (ø) ⬆️
Impacted Files Coverage Δ
packages/web/src/styles.ts 100% <100%> (ø) ⬆️
packages/web/src/utils/utils.ts 79.24% <0%> (ø) ⬆️
packages/web/src/utils/abortableFetch.ts 71.42% <0%> (ø) ⬆️
packages/mobile/src/account/Invite.tsx 80.3% <0%> (ø)
packages/mobile/src/images/sms-icon.png 100% <0%> (ø)
packages/mobile/src/backup/BackupComplete.tsx 80.64% <0%> (ø)
packages/mobile/src/alert/AlertBanner.tsx 93.75% <0%> (ø)
packages/mobile/src/home/CeloDollarsOverview.tsx 88.46% <0%> (ø)
packages/mobile/src/components/AvatarSelf.tsx 91.66% <0%> (ø)
packages/mobile/src/app/actions.ts 86.66% <0%> (ø)
... and 286 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update eba4626...71a09e6. Read the comment docs.

@cmcewen cmcewen added the automerge Have PR merge automatically when checks pass label Mar 13, 2020
@celo-ci-bot-user celo-ci-bot-user merged commit 4f760e9 into master Mar 13, 2020
@celo-ci-bot-user celo-ci-bot-user deleted the cmcewen/web-build branch March 13, 2020 22:07
lucasege pushed a commit that referenced this pull request Mar 19, 2020
* Start of releasegold cli

* Info cli command

* Wip adding many more fns

* Set max distribution fn

* Unifying style and adding set-beneficiary

* Addign withdraw and addressing various bugs introduced in cli deps

* Adding more commands - gold, revoke, and refund

* Adding final commands, still need to verify authorize and address todos. Also adding start_gold to script

* Fxing ts weird bug

* fixing type bug

* Lint

* Switching src to lib

* Fixing cli bugs

* Docs

* Contractkit docs

* WIP

* Adding test framework for releasegold cli commands

* Fixing flaky tests

* Adding transfer

* Fixing tests

* Fixing jest timeout

* lint

* Lint and comments

* wip

* Small adjustments to migrations config (#2972)

* Small adjustments to migrations config

* More adjustments

* updated based on comments

* Fixed migration and testing around frozenGold and initialBalance, added addresses for governance approver, reserve spender, and whitelisted for transfers, changed frozenDays value to be in days rather than seconds

* remove frozenGold since it requires reserve to have a balance greater than it, will require a governance proposal to initialize after the transfer of gold to reserve

* bumped double signing slashing penalty to 9k

* updates based on feedback

* add more gas for e2e transfer tests that delete whitelist array

* few more tweeks to migration config

* fixed variable name MINUTE in config

Co-authored-by: Amy Slawson <[email protected]>
Co-authored-by: Amy Slawson <[email protected]>

* [Wallet] Fix splash screen green gap (#3105)

* Fix web build by changing literal to string (#3109)

* Experience Brand kit updates (#3090)

* Reducing boilerplate finished and adding better checks

* Reverting cleanup

* WIP on review

* WIP review

* Updating scripts to add functionality

* Updating script

* Addressign review, still flaky tests

* Lint

* Flaky

* [Wallet] iOS multi env support + fastlane deployments (#3140)

* Support multiple env file in Xcode

Idea is one env file per scheme
Addresses #1156

* Fix run_app script choking with env vars containing spaces

* Add fastlane lanes for iOS alfajores and pilot

* Fix incorrect link

* Remove unused tvOS scheme

* Fix e2e test

* Rename generated config tmp.xcconfig -> env.xcconfig

* Fix missing google service plist for CI build

* Adding one more improvement

* Removing unnecessary changes

* lint

Co-authored-by: Asa Oines <[email protected]>
Co-authored-by: Amy Slawson <[email protected]>
Co-authored-by: Amy Slawson <[email protected]>
Co-authored-by: Jean Regisser <[email protected]>
Co-authored-by: Connor McEwen <[email protected]>
Co-authored-by: Aaron DeRuvo <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
automerge Have PR merge automatically when checks pass
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants