dgdavid / dose-calculator Goto Github PK
View Code? Open in Web Editor NEW:warning: **INACTIVE** :warning: Simple application to perform calculations related to the activity of radiopharmaceuticals.
License: MIT License
:warning: **INACTIVE** :warning: Simple application to perform calculations related to the activity of radiopharmaceuticals.
License: MIT License
There is some kind of issue when changing the focus to edit the data in the app:
It works normal / as expected if the data is inserted in order: First the initial activity, then the initial volume, and last the desired activity.
When it's added initial activity
and the focus is on initial volume
, it's not possible to go back and edit the initial activity
field because the focus changes back to initial volume
. Same thing happens if the focus is on initial activity
and you try to change it to desired activity
, the focus goes to initial volume
.
Steps to reproduce:
1.- Put the focus on initial activity
.
2.- Change the focus to initial volume
3.- Try to put again the focus on initial activity
or:
1.- Put the focus on initial activity
2.- Change the focus to desired activity
As is stated in the README, to build the application is being used an "updated" version of https://github.com/MaximeD/docker-react-native.
For reference, below is the Dockerfile's diff
diff --git a/Dockerfile b/Dockerfile
index 0b26c64..6bd8575 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,6 +1,6 @@
# Docker image for react native.
-FROM node:4.1.1
+FROM timbru31/java-node
MAINTAINER Maxime Demolin <[email protected]>
@@ -8,11 +8,14 @@ MAINTAINER Maxime Demolin <[email protected]>
# Setup environment variables
ENV PATH $PATH:node_modules/.bin
+RUN apt-get update -q && \
+ apt-get install -qy git
-# Install Java
RUN apt-get update -q && \
- apt-get install -qy --no-install-recommends python-dev default-jdk
+ apt-get install -qy openjdk-8-jdk
+# RUN apt-get update -q && \
+ # apt-get install -qy --no-install-recommends autoconf automake libtool python-dev
# Install Android SDK
@@ -47,18 +50,18 @@ RUN (while true ; do sleep 5; echo y; done) | android update sdk --no-ui --force
RUN npm install -g yarn
## Install react native
-RUN npm install -g [email protected]
+RUN npm i -g react-native-cli
## Clean up when done
RUN apt-get clean && \
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* && \
- npm cache clear
+ npm cache clear --force
# Install watchman
-RUN git clone https://github.com/facebook/watchman.git
-RUN cd watchman && git checkout v4.7.0 && ./autogen.sh && ./configure && make && make install
-RUN rm -rf watchman
+# RUN git clone https://github.com/facebook/watchman.git
+# RUN cd watchman && git checkout v4.7.0 && ./autogen.sh && ./configure && make && make install
+# RUN rm -rf watchman
# Default react-native web server port
EXPOSE 8081
@@ -71,7 +74,7 @@ RUN adduser --disabled-password --gecos '' $USERNAME
# Add Tini
-ENV TINI_VERSION v0.10.0
+ENV TINI_VERSION v0.16.1
ADD https://github.com/krallin/tini/releases/download/${TINI_VERSION}/tini /tini
RUN chmod +x /tini
@@ -85,4 +88,6 @@ WORKDIR /home/$USERNAME/app
# this persists the dependencies between builds
ENV GRADLE_USER_HOME /home/$USERNAME/app/android/gradle_deps
+RUN mkdir /home/$USERNAME/.android && chown -R dev:dev /home/$USERNAME/.android
+
ENTRYPOINT ["/tini", "--"]
and attached the Dockerfile.zip itself in a zip
file.
🚨 You need to enable Continuous Integration on all branches of this repository. 🚨
To enable Greenkeeper, you need to make sure that a commit status is reported on all branches. This is required by Greenkeeper because it uses your CI build statuses to figure out when to notify you about breaking changes.
Since we didn’t receive a CI status on the greenkeeper/initial
branch, it’s possible that you don’t have CI set up yet. We recommend using Travis CI, but Greenkeeper will work with every other CI service as well.
If you have already set up a CI for this repository, you might need to check how it’s configured. Make sure it is set to run on all new branches. If you don’t want it to run on absolutely every branch, you can whitelist branches starting with greenkeeper/
.
Once you have installed and configured CI on this repository correctly, you’ll need to re-trigger Greenkeeper’s initial pull request. To do this, please delete the greenkeeper/initial
branch in this repository, and then remove and re-add this repository to the Greenkeeper App’s white list on Github. You'll find this list on your repo or organization’s settings page, under Installed GitHub Apps.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.