Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
21_22-J 38
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
21_22-J 38
21_22-J 38
Commits
ea4bb282
Commit
ea4bb282
authored
May 03, 2022
by
Muthumal S.A.D.M.
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'it18227314' into 'master'
It18227314 See merge request
!193
parents
a7a9d5d3
9f852c39
Changes
9
Show whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
84 additions
and
9 deletions
+84
-9
frontend/package-lock.json
frontend/package-lock.json
+22
-0
frontend/package.json
frontend/package.json
+1
-0
frontend/src/assets/color/progress.png
frontend/src/assets/color/progress.png
+0
-0
frontend/src/router/router.js
frontend/src/router/router.js
+5
-1
frontend/src/screen/Home.js
frontend/src/screen/Home.js
+1
-1
frontend/src/screen/Progress.js
frontend/src/screen/Progress.js
+55
-7
frontend/src/screen/progress/ColorAccuracy.js
frontend/src/screen/progress/ColorAccuracy.js
+0
-0
frontend/src/screen/progress/ColorSpeed.js
frontend/src/screen/progress/ColorSpeed.js
+0
-0
frontend/src/screen/progress/ColorTime.js
frontend/src/screen/progress/ColorTime.js
+0
-0
No files found.
frontend/package-lock.json
View file @
ea4bb282
...
...
@@ -10,6 +10,7 @@
"dependencies": {
"@react-native-async-storage/async-storage": "^1.17.3",
"@react-native-community/netinfo": "^7.1.7",
"@react-native-picker/picker": "^2.4.1",
"@react-native-voice/voice": "^3.2.3",
"@react-navigation/drawer": "^6.1.8",
"@react-navigation/native": "^6.0.6",
...
...
@@ -3967,6 +3968,18 @@
"peerDependencies": {
"react-native": ">=0.59"
}
<<<<<<< HEAD
},
"node_modules/@react-native-picker/picker": {
"version": "2.4.1",
"resolved": "https://registry.npmjs.org/@react-native-picker/picker/-/picker-2.4.1.tgz",
"integrity": "sha512-1XWy3IQgwr7MWd30KdY1iUh2gQZD+JiotN1ifj/ptFUYKon/0UFwngKQaWCO/CP/FdLl20/huSSLwKedYrdMMA==",
"peerDependencies": {
"react": "16 || 17",
"react-native": ">=0.57"
}
=======
>>>>>>> a7a9d5d3add78ba5f3c20db3f2d330f56f73a488
},
"node_modules/@react-native-voice/voice": {
"version": "3.2.3",
...
...
@@ -18342,6 +18355,15 @@
"resolved": "https://registry.npmjs.org/@react-native-community/netinfo/-/netinfo-7.1.12.tgz",
"integrity": "sha512-fkCRkOgzfdD0sr8JTasDgm716l8bJPkCNjXIyllG8K+UyixVa68lroQmgW9pewE5G5p43I9MWPtGZR/kVowBzg==",
"requires": {}
<<<<<<< HEAD
},
"@react-native-picker/picker": {
"version": "2.4.1",
"resolved": "https://registry.npmjs.org/@react-native-picker/picker/-/picker-2.4.1.tgz",
"integrity": "sha512-1XWy3IQgwr7MWd30KdY1iUh2gQZD+JiotN1ifj/ptFUYKon/0UFwngKQaWCO/CP/FdLl20/huSSLwKedYrdMMA==",
"requires": {}
=======
>>>>>>> a7a9d5d3add78ba5f3c20db3f2d330f56f73a488
},
"@react-native-voice/voice": {
"version": "3.2.3",
frontend/package.json
View file @
ea4bb282
...
...
@@ -12,6 +12,7 @@
"dependencies"
:
{
"@react-native-async-storage/async-storage"
:
"^1.17.3"
,
"@react-native-community/netinfo"
:
"^7.1.7"
,
"@react-native-picker/picker"
:
"^2.4.1"
,
"@react-native-voice/voice"
:
"^3.2.3"
,
"@react-navigation/drawer"
:
"^6.1.8"
,
"@react-navigation/native"
:
"^6.0.6"
,
...
...
frontend/src/assets/color/progress.png
0 → 100644
View file @
ea4bb282
108 KB
frontend/src/router/router.js
View file @
ea4bb282
...
...
@@ -469,7 +469,11 @@ const AppRouter = () => {
component
=
{
Sam
}
/
>
<
Stack
.
Screen
options
=
{{
headerShown
:
false
}}
options
=
{{
headerShown
:
true
,
headerTintColor
:
'
white
'
,
headerStyle
:
{
backgroundColor
:
Colors
.
secondary
},
}}
name
=
"
Progress
"
component
=
{
Progress
}
/
>
...
...
frontend/src/screen/Home.js
View file @
ea4bb282
...
...
@@ -51,7 +51,7 @@ export default function Home({ navigation }){
<
View
style
=
{
styles
.
imageView
}
>
<
Image
style
=
{
styles
.
image
}
source
=
{
require
(
'
../assets/color/
background
.png
'
)}
source
=
{
require
(
'
../assets/color/
progress
.png
'
)}
resizeMode
=
"
contain
"
><
/Image
>
<
ImageButton
path
=
"
Progress
"
title
=
"
Progress
"
/>
<
/View
>
...
...
frontend/src/screen/Progress.js
View file @
ea4bb282
import
React
,
{
Component
}
from
'
react
'
import
{
StyleSheet
,
TouchableOpacity
,
View
,
Text
,
Pressable
,
SafeAreaView
,
ScrollView
,
Image
,
ImageBackground
,
Dimensions
,
Animated
,
Easing
,
NativeModules
}
from
'
react-native
'
;
import
React
,
{
Component
}
from
'
react
'
;
import
{
StyleSheet
,
TouchableOpacity
,
View
,
Text
,
Pressable
,
SafeAreaView
,
ScrollView
,
Image
,
ImageBackground
,
Dimensions
,
Animated
,
Easing
,
NativeModules
,
Button
,
}
from
'
react-native
'
;
import
{
useNavigation
}
from
'
@react-navigation/native
'
;
export
default
function
Progress
(){
export
default
function
Progress
()
{
const
Separator
=
()
=>
<
View
style
=
{
styles
.
separator
}
/>
;
const
navigation
=
useNavigation
();
return
(
<
View
><
Text
>
ddddddd
<
/Text></
View
>
)
}
<
SafeAreaView
style
=
{
styles
.
container
}
>
<
View
>
<
Button
title
=
"
Color Activity
"
onPress
=
{()
=>
navigation
.
navigate
(
'
PrimaryType
'
,
{
title
:
'
Primary Activities
'
,
id
:
1
,
})
}
><
/Button
>
<
/View
>
<
Separator
/>
<
View
>
<
Button
title
=
"
Reading Activity
"
><
/Button
>
<
/View
>
<
Separator
/>
<
View
>
<
Button
title
=
"
Memory Activity
"
><
/Button
>
<
/View
>
<
/SafeAreaView
>
);
}
const
styles
=
StyleSheet
.
create
({
container
:
{
flex
:
1
,
marginVertical
:
20
,
marginHorizontal
:
15
,
},
separator
:
{
marginVertical
:
10
,
},
});
frontend/src/screen/progress/ColorAccuracy.js
0 → 100644
View file @
ea4bb282
frontend/src/screen/progress/ColorSpeed.js
0 → 100644
View file @
ea4bb282
frontend/src/screen/progress/ColorTime.js
0 → 100644
View file @
ea4bb282
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment