clicks-frontend merge requestshttps://gitlab.cs.ui.ac.id/ppl-fasilkom-ui/ppl-ki-ganjil-2021-2022/clicks/clicks-frontend/-/merge_requests2021-10-09T15:51:21+07:00https://gitlab.cs.ui.ac.id/ppl-fasilkom-ui/ppl-ki-ganjil-2021-2022/clicks/clicks-frontend/-/merge_requests/75[Refactor] move getCategories function2021-10-09T15:51:21+07:00Ahmad Izzudin Alifyandra[Refactor] move getCategories function### Background:
Move getCategories function which wasn't following service/firestore convention.
### Tested on:
- [ ] iOS
- [ ] Android### Background:
Move getCategories function which wasn't following service/firestore convention.
### Tested on:
- [ ] iOS
- [ ] Androidhttps://gitlab.cs.ui.ac.id/ppl-fasilkom-ui/ppl-ki-ganjil-2021-2022/clicks/clicks-frontend/-/merge_requests/74Add get env helper2021-10-09T15:19:35+07:00Ahmad Izzudin AlifyandraAdd get env helper### Background:
Add helper to differentiate firestore fetches between dev, staging, and prod environment.
Example:
If in env var `env="dev"` then `firestore().collection('ecosystems_'+getEnv()).get()` will fetch from ecosystems_dev fi...### Background:
Add helper to differentiate firestore fetches between dev, staging, and prod environment.
Example:
If in env var `env="dev"` then `firestore().collection('ecosystems_'+getEnv()).get()` will fetch from ecosystems_dev firestore collection.
### Tested on:
- [ ] iOS
- [ ] Androidhttps://gitlab.cs.ui.ac.id/ppl-fasilkom-ui/ppl-ki-ganjil-2021-2022/clicks/clicks-frontend/-/merge_requests/71Vertical Card Component2021-10-09T14:59:55+07:00Abraham Rudolf BrahmanaVertical Card Component### Background:
This MR create the vertical card component used for ecosystem screens.
Props:
- imageSource:string
Pass in the image uri. If none given, then it will display grey background
- members:number
Pass in how many members in...### Background:
This MR create the vertical card component used for ecosystem screens.
Props:
- imageSource:string
Pass in the image uri. If none given, then it will display grey background
- members:number
Pass in how many members in an ecosystem
- title:string
Pass in the title to be shown
- onPressFunction:function
Pass in the function that want to be run when the component is pressed.
![IMG_1946](/uploads/cb79c7d1ba18d8139acfef7c43bb499a/IMG_1946.jpeg)
![IMG_1948](/uploads/acd422cfe0e673ba24375ac8aa9ba0f2/IMG_1948.jpeg)
### Added packages:
- none
### How to test:
Add the component to a screen and then run it
### Tested on:
- [x] iOS
- [ ] AndroidSprint 2Abraham Rudolf BrahmanaAbraham Rudolf Brahmanahttps://gitlab.cs.ui.ac.id/ppl-fasilkom-ui/ppl-ki-ganjil-2021-2022/clicks/clicks-frontend/-/merge_requests/68create Ecosystem list screen and Category Ecosystem List (minus integration)2021-10-09T14:59:06+07:00Mohammad Faraz Abisha Mirzacreate Ecosystem list screen and Category Ecosystem List (minus integration)### Background:
This MR contains Ecosystem List Screen using FlatList (terbaru, bergabung, populer Page)
![522545](/uploads/613aa213d8c3d796bc452de69aab7eb6/522545.jpg)
Ecosystem in Category List Screen using FlatList + search bar
![i...### Background:
This MR contains Ecosystem List Screen using FlatList (terbaru, bergabung, populer Page)
![522545](/uploads/613aa213d8c3d796bc452de69aab7eb6/522545.jpg)
Ecosystem in Category List Screen using FlatList + search bar
![image](/uploads/100ed1fe7b351dad5ac5a0a59e983975/image.png)
### Added packages:
-
### How to test:
### Tested on:
- [ ] iOS
- [x] AndroidSprint 2Mohammad Faraz Abisha MirzaMohammad Faraz Abisha Mirzahttps://gitlab.cs.ui.ac.id/ppl-fasilkom-ui/ppl-ki-ganjil-2021-2022/clicks/clicks-frontend/-/merge_requests/72Refactor: Eslint Configuration Fix2021-10-09T14:54:30+07:00Bagus PrabowoRefactor: Eslint Configuration Fix### Background:
Added new Eslint rules
### Added packages:
### How to test:
### Tested on:
- [ ] iOS
- [ ] Android### Background:
Added new Eslint rules
### Added packages:
### How to test:
### Tested on:
- [ ] iOS
- [ ] AndroidSprint 2https://gitlab.cs.ui.ac.id/ppl-fasilkom-ui/ppl-ki-ganjil-2021-2022/clicks/clicks-frontend/-/merge_requests/73Add new types for new firestore schemas2021-10-09T14:36:04+07:00Ahmad Izzudin AlifyandraAdd new types for new firestore schemas### Background:
Define type schema's for new firestore collections related to ecosystems.
### Tested on:
- [ ] iOS
- [ ] Android### Background:
Define type schema's for new firestore collections related to ecosystems.
### Tested on:
- [ ] iOS
- [ ] Androidhttps://gitlab.cs.ui.ac.id/ppl-fasilkom-ui/ppl-ki-ganjil-2021-2022/clicks/clicks-frontend/-/merge_requests/67Feature: Arrowless Plain button2021-10-06T18:21:45+07:00Bagus PrabowoFeature: Arrowless Plain button### Background:
An arrowless plain button that is going to be used on the Ecosystem page
### Added packages:
-
### How to test:
-
### Tested on:
- [x] iOS
- [ ] Android### Background:
An arrowless plain button that is going to be used on the Ecosystem page
### Added packages:
-
### How to test:
-
### Tested on:
- [x] iOS
- [ ] AndroidSprint 2Bagus PrabowoBagus Prabowohttps://gitlab.cs.ui.ac.id/ppl-fasilkom-ui/ppl-ki-ganjil-2021-2022/clicks/clicks-frontend/-/merge_requests/66Alphabet group list2021-10-05T19:57:12+07:00Muhammad Zahran Agung DewantoroAlphabet group list### Background:
- Create Alphabet Group List Component
- Create Ecosystem Category Business Screen
- Add Alphabet Group List Type
![Category_Screen_1](/uploads/3f304f2e018c412c3ddd4d1b2de949f6/Category_Screen_1.jpg)
![Category_Scree...### Background:
- Create Alphabet Group List Component
- Create Ecosystem Category Business Screen
- Add Alphabet Group List Type
![Category_Screen_1](/uploads/3f304f2e018c412c3ddd4d1b2de949f6/Category_Screen_1.jpg)
![Category_Screen_2](/uploads/bbd569718243ea9712528605520ba828/Category_Screen_2.jpg)
### Added packages:
- react-native-section-alphabet-list
### How to test:
- To test component:
1. Import AlphabetGroupList from component
2. Insert props data as a list
- To test screen:
1. Open the ecosystem tab
2. Click on "Kategori Bisnis"
### Tested on:
- [ ] iOS
- [x] AndroidSprint 2https://gitlab.cs.ui.ac.id/ppl-fasilkom-ui/ppl-ki-ganjil-2021-2022/clicks/clicks-frontend/-/merge_requests/63feat: create Ecosystem Detail Screen2021-10-05T18:31:41+07:00Muhammad Zahran Agung Dewantorofeat: create Ecosystem Detail Screen### Background:
- Create Ecosystem Detail Screen
![Detail_Ecosystem_Screen](/uploads/85660fd63b26edc3a05e8935d1eccfb0/Detail_Ecosystem_Screen.jpg)
### Added packages:
- None
### How to test:
- Open the ecosystem tab
- Click on "Sudah...### Background:
- Create Ecosystem Detail Screen
![Detail_Ecosystem_Screen](/uploads/85660fd63b26edc3a05e8935d1eccfb0/Detail_Ecosystem_Screen.jpg)
### Added packages:
- None
### How to test:
- Open the ecosystem tab
- Click on "Sudah Bergabung"
### Tested on:
- [ ] iOS
- [x] AndroidSprint 2https://gitlab.cs.ui.ac.id/ppl-fasilkom-ui/ppl-ki-ganjil-2021-2022/clicks/clicks-frontend/-/merge_requests/64feat: create Ecosystem Map Screen2021-10-05T18:31:00+07:00Muhammad Zahran Agung Dewantorofeat: create Ecosystem Map Screen### Background:
- Create Ecosystem Map Screen
![Peta_Ecosystem_Screen](/uploads/302591233985d9eae7d2f97ec081450d/Peta_Ecosystem_Screen.jpg)
### Added packages:
- None
### How to test:
- Open the ecosystem tab
- Click on "Peta Ekosist...### Background:
- Create Ecosystem Map Screen
![Peta_Ecosystem_Screen](/uploads/302591233985d9eae7d2f97ec081450d/Peta_Ecosystem_Screen.jpg)
### Added packages:
- None
### How to test:
- Open the ecosystem tab
- Click on "Peta Ekosistem"
### Tested on:
- [ ] iOS
- [x] AndroidSprint 2https://gitlab.cs.ui.ac.id/ppl-fasilkom-ui/ppl-ki-ganjil-2021-2022/clicks/clicks-frontend/-/merge_requests/61Add some redux handling & image upload bugfix2021-10-04T21:57:54+07:00Ahmad Izzudin AlifyandraAdd some redux handling & image upload bugfix### Background:
Added handling for redux actions to respond to success or failures, also fixed a user pic url dispatch bug.
### Added packages:
-
### How to test:
Fail a login and fail a change password (doesn't give you success resp...### Background:
Added handling for redux actions to respond to success or failures, also fixed a user pic url dispatch bug.
### Added packages:
-
### How to test:
Fail a login and fail a change password (doesn't give you success response anymore)
### Tested on:
- [x] iOS
- [ ] Androidhttps://gitlab.cs.ui.ac.id/ppl-fasilkom-ui/ppl-ki-ganjil-2021-2022/clicks/clicks-frontend/-/merge_requests/65Setup SonarQube w/ Gitlab CI2021-10-04T17:16:57+07:00Ahmad Izzudin AlifyandraSetup SonarQube w/ Gitlab CI### Background:
Adds sonarqube and gitlab CI config files to enable scanning.
### Added packages:
-
### How to test:
- Watch the pipeline
### Tested on:
- [ ] iOS
- [ ] Android### Background:
Adds sonarqube and gitlab CI config files to enable scanning.
### Added packages:
-
### How to test:
- Watch the pipeline
### Tested on:
- [ ] iOS
- [ ] Androidhttps://gitlab.cs.ui.ac.id/ppl-fasilkom-ui/ppl-ki-ganjil-2021-2022/clicks/clicks-frontend/-/merge_requests/62Setup Jest files and Enable Coverage2021-10-04T15:50:31+07:00Ahmad Izzudin AlifyandraSetup Jest files and Enable Coverage### Background:
Fix failing test on RegisterScreen and add setupfile to easily add mocks. Enables code coverage too in ./jest/coverage/*
### Added packages:
- redux-mock-store (dev)
- jest-expo (dev)
### How to test:
Run yarn test and...### Background:
Fix failing test on RegisterScreen and add setupfile to easily add mocks. Enables code coverage too in ./jest/coverage/*
### Added packages:
- redux-mock-store (dev)
- jest-expo (dev)
### How to test:
Run yarn test and see coverage folder in ./jest. Testing components that have a redux hook and navigation useNavigation() hook also works now.
### Tested on:
- [ ] iOS
- [ ] Androidhttps://gitlab.cs.ui.ac.id/ppl-fasilkom-ui/ppl-ki-ganjil-2021-2022/clicks/clicks-frontend/-/merge_requests/60feat: Ecosystem screens navigation2021-10-04T13:05:34+07:00Abraham Rudolf Brahmanafeat: Ecosystem screens navigation### Background:
This MR provides the navigation for ecosystem screens.
Navigation screens created:
- Ecosystem business
- Joined ecosystem
- Popular ecosystem
- Latest ecosystem
- My ecosystem
- Business category
- Ecosystem list
- Eco...### Background:
This MR provides the navigation for ecosystem screens.
Navigation screens created:
- Ecosystem business
- Joined ecosystem
- Popular ecosystem
- Latest ecosystem
- My ecosystem
- Business category
- Ecosystem list
- Ecosystem detail
- Ecosystem map
- Business list
- Create business ecosystem
This MR also allows dynamic header title for ecosystem list, ecosystem details, and business list screens.
### Added packages:
- none
### How to test:
1. Run the project
2. Navigate to ecosystem screen from the bottom tab
3. Try pressing the navigation link
### Tested on:
- [x] iOS
- [ ] AndroidSprint 2Abraham Rudolf BrahmanaAbraham Rudolf Brahmanahttps://gitlab.cs.ui.ac.id/ppl-fasilkom-ui/ppl-ki-ganjil-2021-2022/clicks/clicks-frontend/-/merge_requests/58feat: add ecosystem horizontal card components2021-10-04T13:00:30+07:00Muhammad Zahran Agung Dewantorofeat: add ecosystem horizontal card components### Background:
- create ecosystem horizontal card components
![horizontal_card](/uploads/7393568e9b0fb189e39863541c0d4e37/horizontal_card.jpg)
### Added packages:
### How to test:
- call file horizontal card from folder components
...### Background:
- create ecosystem horizontal card components
![horizontal_card](/uploads/7393568e9b0fb189e39863541c0d4e37/horizontal_card.jpg)
### Added packages:
### How to test:
- call file horizontal card from folder components
- insert the props
### Tested on:
- [ ] iOS
- [x] Androidhttps://gitlab.cs.ui.ac.id/ppl-fasilkom-ui/ppl-ki-ganjil-2021-2022/clicks/clicks-frontend/-/merge_requests/51Bug Fixing and design optimization for Register Screens2021-10-03T10:21:24+07:00Mohammad Faraz Abisha MirzaBug Fixing and design optimization for Register Screens### Background:
Another change for Register Screens, especially dropdown forms and scroll views
### How to test:
Just Run and check for errors!
### Tested on:
- [ ] iOS
- [ ] Android### Background:
Another change for Register Screens, especially dropdown forms and scroll views
### How to test:
Just Run and check for errors!
### Tested on:
- [ ] iOS
- [ ] Androidhttps://gitlab.cs.ui.ac.id/ppl-fasilkom-ui/ppl-ki-ganjil-2021-2022/clicks/clicks-frontend/-/merge_requests/59feat: add description in Plain button2021-10-02T14:49:03+07:00angelin depthiosfeat: add description in Plain button### Background:
// What is this MR about? What are you adding or modifying?
// Add images too if possible
### Added packages:
- list added node packages if any
### How to test:
// Steps on how to test your feature manually
### Tested...### Background:
// What is this MR about? What are you adding or modifying?
// Add images too if possible
### Added packages:
- list added node packages if any
### How to test:
// Steps on how to test your feature manually
### Tested on:
- [ ] iOS
- [ ] Android
![183928](/uploads/d7979b77f4b9c728a96e3ca22086043c/183928.jpg)https://gitlab.cs.ui.ac.id/ppl-fasilkom-ui/ppl-ki-ganjil-2021-2022/clicks/clicks-frontend/-/merge_requests/56Dropdown fix2021-09-30T14:32:24+07:00Bagus PrabowoDropdown fix### Background:
- Fixed the bug where the dropdown form won't click
### Added packages:
-
### How to test:
-
### Tested on:
- [x] iOS
- [ ] Android### Background:
- Fixed the bug where the dropdown form won't click
### Added packages:
-
### How to test:
-
### Tested on:
- [x] iOS
- [ ] AndroidBagus PrabowoBagus Prabowohttps://gitlab.cs.ui.ac.id/ppl-fasilkom-ui/ppl-ki-ganjil-2021-2022/clicks/clicks-frontend/-/merge_requests/57FEAT: create Plain button component2021-09-30T14:30:25+07:00angelin depthiosFEAT: create Plain button component### Background:
// What is this MR about? What are you adding or modifying?
// Add images too if possible
![180308](/uploads/2a9573633b7ae87e4e0e33f32c80a99c/180308.jpg)
![180340](/uploads/95e5aac599821e59c11bf53f7f7ba1c0/180340.jpg)
...### Background:
// What is this MR about? What are you adding or modifying?
// Add images too if possible
![180308](/uploads/2a9573633b7ae87e4e0e33f32c80a99c/180308.jpg)
![180340](/uploads/95e5aac599821e59c11bf53f7f7ba1c0/180340.jpg)
### Added packages:
- list added node packages if any
### How to test:
// Steps on how to test your feature manually
### Tested on:
- [ ] iOS
- [ ] Android![180340](/uploads/355bbd55c2ffb399f31fa91f55808e9d/180340.jpg)https://gitlab.cs.ui.ac.id/ppl-fasilkom-ui/ppl-ki-ganjil-2021-2022/clicks/clicks-frontend/-/merge_requests/55Forgot Password Error Handling2021-09-29T23:02:42+07:00Bagus PrabowoForgot Password Error Handling### Background:
- Put forgot password function in service and implement it
- Error handling for invalid email input
### Added packages:
-
### How to test:
-
### Tested on:
- [x] iOS
- [ ] Android### Background:
- Put forgot password function in service and implement it
- Error handling for invalid email input
### Added packages:
-
### How to test:
-
### Tested on:
- [x] iOS
- [ ] AndroidBagus PrabowoBagus Prabowo