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

Refactored header spacing down to one section of code in Application, plus better iPad support #1798

Merged
merged 8 commits into from
Nov 7, 2018

Conversation

SailingSteve
Copy link
Member

@SailingSteve SailingSteve commented Nov 5, 2018

Refactored header spacing down to one section of code for Application, plus better iPad support.
I moved header size calculation to cordovaUtils.appBaseClass() for web app and the 12
variants of Cordova iOS and Android devices.

Cleared all the open csslint issues, and most of the js lint issues.
In FacebookActions, in the facebookApi call to ":/me?fields=picture..."
I found that sending in "GET" as a parameter was causing a nasty uncaught
exception in the c++ code that was messing up the stack, which forced the
(illogical) requirement that we send in class= instead of className= in
ItemPositionActionBar and AddressBox to stop a c++ level app crash when
clicking in a text entry field. Changed the class= to className= in
both files. Resolves wevote/WeVoteCordova/issues/89

In a couple of files added in getDerrivedStateFromError and
componentDidCatch React 16 state handlers -- they provide an
error-boundary which catches otherwise uncaught errors - solved a few
problems already with these!
end ballot to my friends, needs to send links to the webapp, not to the mobile device. Fixes recent addition to /wevote/WeVoteCordova/issues/11

Load the vip.html static page from the webapp instead of from AWS, works on my local, but the Nginx rules might need adjustment to make this work in production. Resolves wevote/WeVoteCordova/issues/83

(appBaseClass) for web app and 12 variants of Cordova iOS and Android
devices.  Cleared some exceptions
src/js/Application.jsx Outdated Show resolved Hide resolved
(appBaseClass) for web app and 12 variants of Cordova iOS and Android
devices.  Cleared some exceptions
Reworked appBaseClass as requested.
src/js/Application.jsx Outdated Show resolved Hide resolved
src/sass/base/_base.scss Outdated Show resolved Hide resolved
that I moved to cordovaUtils.appBaseClass() for web app and the 12
variants of Cordova iOS and Androiddevices.  Cleared all the open css
lint issues, and most of the js lint issues.
In FacebookActions, in the facebookApi call to ":/me?fields=picture..."
I found that sending in "GET" as a parameter was causing a nasty uncaught
exception in the c++ code that was messing up the stack, which forced the
(illogical) requirement that we send in class= instead of className= in
ItemPositionActionBar and AddressBox to stop a c++ level app crash when
clicking in a text entry field.  Changed the class= to className= in
both files.
In a couple of files added in getDerrivedStateFromError and
componentDidCatch React 16 state handlers -- they provide an
error-boundary which catches otherwise uncaught errors - solved a few
problems already with these!
the mobile device.
Fixes recent addition to /wevote/WeVoteCordova/issues/11
Load the vip.html static page from the webapp instead of from AWS,
works on my local, but the Nginx rules might need adjustment to make
this work in production.  Resolves wevote/WeVoteCordova/issues/83
@DaleMcGrew
Copy link
Member

👍

@DaleMcGrew DaleMcGrew merged commit fc79d5b into wevote:develop Nov 7, 2018
@SailingSteve SailingSteve deleted the steveWebAppNov4 branch March 4, 2019 21:53
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