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
24f3927e
Commit
24f3927e
authored
May 03, 2022
by
Muthumal S.A.D.M.
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Progress Chats 1
parent
da5d5264
Changes
9
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
77 additions
and
9 deletions
+77
-9
frontend/package-lock.json
frontend/package-lock.json
+16
-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
+4
-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 @
24f3927e
...
@@ -10,6 +10,7 @@
...
@@ -10,6 +10,7 @@
"dependencies": {
"dependencies": {
"@react-native-async-storage/async-storage": "^1.17.3",
"@react-native-async-storage/async-storage": "^1.17.3",
"@react-native-community/netinfo": "^7.1.7",
"@react-native-community/netinfo": "^7.1.7",
"@react-native-picker/picker": "^2.4.1",
"@react-native-voice/voice": "^3.2.3",
"@react-native-voice/voice": "^3.2.3",
"@react-navigation/drawer": "^6.1.8",
"@react-navigation/drawer": "^6.1.8",
"@react-navigation/native": "^6.0.6",
"@react-navigation/native": "^6.0.6",
...
@@ -3967,6 +3968,15 @@
...
@@ -3967,6 +3968,15 @@
"react-native": ">=0.59"
"react-native": ">=0.59"
}
}
},
},
"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"
}
},
"node_modules/@react-native-voice/voice": {
"node_modules/@react-native-voice/voice": {
"version": "3.2.3",
"version": "3.2.3",
"resolved": "https://registry.npmjs.org/@react-native-voice/voice/-/voice-3.2.3.tgz",
"resolved": "https://registry.npmjs.org/@react-native-voice/voice/-/voice-3.2.3.tgz",
...
@@ -18482,6 +18492,12 @@
...
@@ -18482,6 +18492,12 @@
"integrity": "sha512-fkCRkOgzfdD0sr8JTasDgm716l8bJPkCNjXIyllG8K+UyixVa68lroQmgW9pewE5G5p43I9MWPtGZR/kVowBzg==",
"integrity": "sha512-fkCRkOgzfdD0sr8JTasDgm716l8bJPkCNjXIyllG8K+UyixVa68lroQmgW9pewE5G5p43I9MWPtGZR/kVowBzg==",
"requires": {}
"requires": {}
},
},
"@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": {}
},
"@react-native-voice/voice": {
"@react-native-voice/voice": {
"version": "3.2.3",
"version": "3.2.3",
"resolved": "https://registry.npmjs.org/@react-native-voice/voice/-/voice-3.2.3.tgz",
"resolved": "https://registry.npmjs.org/@react-native-voice/voice/-/voice-3.2.3.tgz",
frontend/package.json
View file @
24f3927e
...
@@ -12,6 +12,7 @@
...
@@ -12,6 +12,7 @@
"dependencies"
:
{
"dependencies"
:
{
"@react-native-async-storage/async-storage"
:
"^1.17.3"
,
"@react-native-async-storage/async-storage"
:
"^1.17.3"
,
"@react-native-community/netinfo"
:
"^7.1.7"
,
"@react-native-community/netinfo"
:
"^7.1.7"
,
"@react-native-picker/picker"
:
"^2.4.1"
,
"@react-native-voice/voice"
:
"^3.2.3"
,
"@react-native-voice/voice"
:
"^3.2.3"
,
"@react-navigation/drawer"
:
"^6.1.8"
,
"@react-navigation/drawer"
:
"^6.1.8"
,
"@react-navigation/native"
:
"^6.0.6"
,
"@react-navigation/native"
:
"^6.0.6"
,
...
...
frontend/src/assets/color/progress.png
0 → 100644
View file @
24f3927e
108 KB
frontend/src/router/router.js
View file @
24f3927e
...
@@ -263,7 +263,10 @@ const AppRouter = () => {
...
@@ -263,7 +263,10 @@ const AppRouter = () => {
component
=
{
Sam
}
component
=
{
Sam
}
/
>
/
>
<
Stack
.
Screen
<
Stack
.
Screen
options
=
{{
headerShown
:
false
}}
options
=
{{
headerShown
:
true
,
headerTintColor
:
'
white
'
,
headerStyle
:
{
backgroundColor
:
Colors
.
secondary
}
}}
name
=
"
Progress
"
name
=
"
Progress
"
component
=
{
Progress
}
component
=
{
Progress
}
/
>
/
>
...
...
frontend/src/screen/Home.js
View file @
24f3927e
...
@@ -51,7 +51,7 @@ export default function Home({ navigation }){
...
@@ -51,7 +51,7 @@ export default function Home({ navigation }){
<
View
style
=
{
styles
.
imageView
}
>
<
View
style
=
{
styles
.
imageView
}
>
<
Image
<
Image
style
=
{
styles
.
image
}
style
=
{
styles
.
image
}
source
=
{
require
(
'
../assets/color/
background
.png
'
)}
source
=
{
require
(
'
../assets/color/
progress
.png
'
)}
resizeMode
=
"
contain
"
><
/Image
>
resizeMode
=
"
contain
"
><
/Image
>
<
ImageButton
path
=
"
Progress
"
title
=
"
Progress
"
/>
<
ImageButton
path
=
"
Progress
"
title
=
"
Progress
"
/>
<
/View
>
<
/View
>
...
...
frontend/src/screen/Progress.js
View file @
24f3927e
import
React
,
{
Component
}
from
'
react
'
import
React
,
{
Component
}
from
'
react
'
;
import
{
StyleSheet
,
TouchableOpacity
,
View
,
Text
,
Pressable
,
SafeAreaView
,
ScrollView
,
Image
,
ImageBackground
,
Dimensions
,
Animated
,
Easing
,
NativeModules
}
from
'
react-native
'
;
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
()
{
return
(
const
Separator
=
()
=>
<
View
style
=
{
styles
.
separator
}
/>
;
<
View
><
Text
>
ddddddd
<
/Text></
View
>
const
navigation
=
useNavigation
();
)
return
(
}
<
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 @
24f3927e
frontend/src/screen/progress/ColorSpeed.js
0 → 100644
View file @
24f3927e
frontend/src/screen/progress/ColorTime.js
0 → 100644
View file @
24f3927e
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