Skip to content

Commit

Permalink
Merge pull request #104 from symptomatic/development
Browse files Browse the repository at this point in the history
Android Build Pipeline Validation
  • Loading branch information
awatson1978 authored Jun 10, 2021
2 parents 5f7225e + 7d64cf1 commit 45c674b
Show file tree
Hide file tree
Showing 9 changed files with 43 additions and 56 deletions.
2 changes: 2 additions & 0 deletions .meteor/platforms
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
android
browser
ios
server
13 changes: 0 additions & 13 deletions .meteor/versions
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,12 @@ accounts-base@1.9.0
alanning:roles@3.2.3
aldeed:collection2@3.0.6
allow-deny@1.1.0
autoupdate@1.7.0
babel-compiler@7.6.1
babel-runtime@1.5.0
base64@1.0.12
binary-heap@1.0.11
blaze-tools@1.1.1
boilerplate-generator@1.7.1
browser-policy@1.1.0
browser-policy-common@1.0.11
browser-policy-content@1.1.1
browser-policy-framing@1.1.0
caching-compiler@1.2.2
caching-html-compiler@1.2.0
callback-hook@1.3.0
Expand All @@ -21,7 +16,6 @@ clinical:extended-api@2.5.2
clinical:fonts@1.2.0
clinical:hl7-fhir-data-infrastructure@6.14.3
clinical:hl7-resource-datatypes@4.0.7
datarobot:waters@0.6.0
ddp@1.4.0
ddp-client@2.4.1
ddp-common@1.4.0
Expand All @@ -38,7 +32,6 @@ es5-shim@4.8.0
fetch@0.1.1
fourseven:scss@4.12.0
geojson-utils@1.0.10
hot-code-push@1.0.4
html-tools@1.1.1
htmljs@1.1.0
http@1.4.3
Expand All @@ -50,8 +43,6 @@ localstorage@1.2.0
logging@1.2.0
matb33:collection-hooks@1.0.1
meteor@1.9.3
meteor-base@1.4.0
meteorhacks:async@1.0.0
minifier-css@1.5.4
minifier-js@2.6.0
minimongo@1.6.2
Expand Down Expand Up @@ -89,10 +80,6 @@ spacebars-compiler@1.2.1
standard-minifier-css@1.7.2
standard-minifier-js@2.6.0
static-html@1.2.2
symptomatic:covid19-geomapping@0.4.10
symptomatic:data-management@0.9.4
symptomatic:saner@0.6.3
symptomatic:vault-server@6.2.1
templating-tools@1.2.0
tmeasday:check-npm-versions@0.3.2
tracker@1.2.0
Expand Down
5 changes: 3 additions & 2 deletions app/core/AppLoadingPage.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,9 @@ function AppLoadingPage(props) {
// Social Media Registration

let helmet;
let initialScale = (get(Meteor, 'settings.public.defaults.initialScale', "0.7")).toString();
let viewportString = "initial-scale=" + initialScale + ", minimal-ui, minimum-scale=" + initialScale + ", maximum-scale=" + initialScale + ", width=device-width, height=device-height, user-scalable=no";
let initialScale = (get(Meteor, 'settings.public.defaults.initialScale', 1.0)).toString();
// let viewportString = "initial-scale=" + initialScale + ", minimal-ui, minimum-scale=" + initialScale + ", maximum-scale=" + initialScale + ", width=device-width, height=device-height, user-scalable=no";
let viewportString = "initial-scale=" + initialScale + ", minimal-ui, minimum-scale=" + initialScale + ", maximum-scale=" + initialScale + ", width=device-width, height=device-height";

if(get(Meteor, 'settings.public.socialmedia')){
let socialmedia = get(Meteor, 'settings.public.socialmedia');
Expand Down
5 changes: 3 additions & 2 deletions app/layout/App.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -480,11 +480,12 @@ export function App(props) {
themeColor = rawColor;
}

let initialScale = 0.8;
let initialScale = 1.0;

headerTags.push(<meta key='theme' name="theme-color" content={themeColor} />)
headerTags.push(<meta key='utf-8' charSet="utf-8" />);
headerTags.push(<meta name="viewport" key='viewport' property="viewport" content={"initial-scale=" + initialScale + ", minimal-ui, minimum-scale=" + initialScale + ", maximum-scale=" + initialScale + ", width=device-width, height=device-height, user-scalable=no"} />);
// headerTags.push(<meta name="viewport" key='viewport' property="viewport" content={"initial-scale=" + initialScale + ", minimal-ui, minimum-scale=" + initialScale + ", maximum-scale=" + initialScale + ", width=device-width, height=device-height, user-scalable=no"} />);
headerTags.push(<meta name="viewport" key='viewport' property="viewport" content={"initial-scale=" + initialScale + ", minimal-ui, minimum-scale=" + initialScale + ", maximum-scale=" + initialScale + ", width=device-width, height=device-height"} />);
headerTags.push(<meta name="description" key='description' property="description" content={get(Meteor, 'settings.public.title', "Node on FHIR")} />);
headerTags.push(<title key='title'>{get(Meteor, 'settings.public.title', "Node on FHIR")}</title>);

Expand Down
67 changes: 30 additions & 37 deletions app/layout/MainPage.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -109,20 +109,7 @@ function MainPage(props){
let code = " # download meteorjs \n curl https://install.meteor.com/ | sh \n\n # clone the repository \n git clone https://github.com/symptomatic/node-on-fhir \n\n # change into the directory \n cd node-on-fhir \n\n # install the dependencies \n meteor npm install \n\n # run the app (with settings) \n meteor run --settings configs/settings.nodeonfhir.localhost.json --extra-packages symptomatic:example-plugin ";


//----------------------------------------------------------------------
// Page Styling

let headerHeight = 64;
if(get(Meteor, 'settings.public.defaults.prominantHeader')){
headerHeight = 128;
}

let pageStyle = {
paddingLeft: '100px',
paddingRight: '100px',
position: 'absolute',
top: '0px'
}


//----------------------------------------------------------------------
Expand Down Expand Up @@ -152,10 +139,26 @@ function MainPage(props){
window.open(url);
// props.history.replace(url)
}

//----------------------------------------------------------------------
// Page Styling

let headerHeight = 64;
if(get(Meteor, 'settings.public.defaults.prominantHeader')){
headerHeight = 128;
}

let pageStyle = {
paddingLeft: '100px',
paddingRight: '100px',
position: 'absolute',
top: '0px'
}

//----------------------------------------------------------------------
// Main Render Method

let carouselImages = get(Meteor, 'settings.public.projectPage.carouselImages', [])
let carouselImages = get(Meteor, 'settings.public.projectPage.carouselImages', []);

let imageItems = [];
carouselImages.forEach(function(url, index){
Expand All @@ -178,11 +181,21 @@ function MainPage(props){
height: '52px'
}

if(Meteor.isCordova){
pageStyle.width = window.innerWidth + "px";
pageStyle.padding = 20;
pageStyle.marginLeft = '0px';
pageStyle.marginRight = '0px';
}



return (
<PageCanvas id='MainPage' style={pageStyle} headerHeight={headerHeight}>
<Container maxWidth="lg" style={{paddingBottom: '80px'}}>
<PageCanvas id='MainPage' style={pageStyle} headerHeight={headerHeight} paddingLeft={pageStyle.padding} paddingRight={pageStyle.padding}>
<Grid container justify="center" style={{paddingBottom: '80px'}}>
<Grid item xs={4}>

</Grid>

<Button variant="contained" color="secondary" className={classes.fallout_button} href="https://github.com/symptomatic/covid19-on-fhir" >
<Icon icon={warning} size={24} /><CardHeader title="Announcement" subheader="Due to pandemic, we have discontinued the old example plugin, and will now be offering Covid19-on-FHIR as the example." />
Expand Down Expand Up @@ -262,26 +275,6 @@ function MainPage(props){
</Carousel>
</Card>




{/* <StyledCard margin={20} >
<CardHeader title="Getting Started" />
<CardContent>
<pre>
- install meteor
- download github repo
- install dependencies
- run app
</pre>
</CardContent>
</StyledCard> */}






<StyledCard margin={20} >
<CardHeader title="Features - Everything You Need; Kitchen Sink Included" />
<CardContent>
Expand Down Expand Up @@ -558,7 +551,7 @@ function MainPage(props){
</CardActionArea>
</StyledCard>

</Container>
</Grid>
</PageCanvas>
);
}
Expand Down
2 changes: 1 addition & 1 deletion client/main.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

<link rel="apple-touch-icon" sizes="120x120" href="/images/node-on-fhir-logo-square-120.png">

<meta name="viewport" content="viewport-fit=cover, initial-scale=0.6, minimal-ui, minimum-scale=0.6, maximum-scale=0.6, width=device-width, height=device-height, user-scalable=no" />
<meta name="viewport" content="viewport-fit=cover, initial-scale=1.0, minimal-ui, minimum-scale=1.0, maximum-scale=1.0, width=device-width, height=device-height" />
</head>

<body>
Expand Down
2 changes: 2 additions & 0 deletions configs/settings.nodeonfhir.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,8 @@
"displayNavbars": true,
"disableHeader": false,
"disableFooter": false,
"initialScale": 1.0,

"paginationLimit": 100,
"subscriptionLimit": 1000,
"sidebar": {
Expand Down
1 change: 1 addition & 0 deletions configs/settings.nodeonfhir.localhost.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@
"displayNavbars": true,
"disableHeader": false,
"disableFooter": false,
"initialScale": 1.0,
"paginationLimit": 100,
"subscriptionLimit": 1000,
"sidebar": {
Expand Down
2 changes: 1 addition & 1 deletion packages/covid19-on-fhir
Submodule covid19-on-fhir updated from f88e4f to fa2fe1

0 comments on commit 45c674b

Please sign in to comment.