-
Notifications
You must be signed in to change notification settings - Fork 974
Converts UpdateBar into redux component #9516
Conversation
6589e9a
to
d3a6796
Compare
app/common/lib/updateUtil.js
Outdated
@@ -0,0 +1,44 @@ | |||
/* This Source Code Form is subject to the terms of the Mozilla Public |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this one owns appStore.updates
so it would make sense as a state helper.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Moved to state
app/common/lib/updateUtil.js
Outdated
* You can obtain one at http://mozilla.org/MPL/2.0/. */ | ||
|
||
const Immutable = require('immutable') | ||
const updateStatus = require('../../../js/constants/updateStatus') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we should probably merge updateStatus into this file and make it updateState
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
updateStatus + updateUtil -> updateState ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would leave updateStatus
in constants
folder, because that's what we have there. What we can do is rename this file and move it into state
folder. What do you think?
f1a862a
to
bbd0f38
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
++
just waiting on ci to merge |
Resolves brave#9450 Auditors: @bsclifton @bridiver Test Plan:
bbd0f38
to
5ed19e4
Compare
Submitter Checklist:
git rebase -i
to squash commits (if needed).Resolves #9450
Auditors: @bsclifton @bridiver
Test Plan:
Reviewer Checklist:
Tests