From a85d218346fb4e943aa36860331a407d979e1ecf Mon Sep 17 00:00:00 2001 From: shamsmosowi Date: Wed, 2 Oct 2019 15:26:37 +1000 Subject: [PATCH 1/5] Update _redirects --- public/_redirects | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/public/_redirects b/public/_redirects index f8243379..11cf5ed6 100644 --- a/public/_redirects +++ b/public/_redirects @@ -1 +1,2 @@ -/* /index.html 200 \ No newline at end of file +# Rewrite a path +/* /index.html 200 From 00d95161bd6a89353242140b1f2166db505d7ef5 Mon Sep 17 00:00:00 2001 From: shamsmosowi Date: Thu, 3 Oct 2019 12:46:56 +1000 Subject: [PATCH 2/5] Update issue templates --- .github/ISSUE_TEMPLATE/bug_report.md | 38 +++++++++++++++++++++++ .github/ISSUE_TEMPLATE/feature_request.md | 20 ++++++++++++ 2 files changed, 58 insertions(+) create mode 100644 .github/ISSUE_TEMPLATE/bug_report.md create mode 100644 .github/ISSUE_TEMPLATE/feature_request.md diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md new file mode 100644 index 00000000..dd84ea78 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -0,0 +1,38 @@ +--- +name: Bug report +about: Create a report to help us improve +title: '' +labels: '' +assignees: '' + +--- + +**Describe the bug** +A clear and concise description of what the bug is. + +**To Reproduce** +Steps to reproduce the behavior: +1. Go to '...' +2. Click on '....' +3. Scroll down to '....' +4. See error + +**Expected behavior** +A clear and concise description of what you expected to happen. + +**Screenshots** +If applicable, add screenshots to help explain your problem. + +**Desktop (please complete the following information):** + - OS: [e.g. iOS] + - Browser [e.g. chrome, safari] + - Version [e.g. 22] + +**Smartphone (please complete the following information):** + - Device: [e.g. iPhone6] + - OS: [e.g. iOS8.1] + - Browser [e.g. stock browser, safari] + - Version [e.g. 22] + +**Additional context** +Add any other context about the problem here. diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md new file mode 100644 index 00000000..bbcbbe7d --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature_request.md @@ -0,0 +1,20 @@ +--- +name: Feature request +about: Suggest an idea for this project +title: '' +labels: '' +assignees: '' + +--- + +**Is your feature request related to a problem? Please describe.** +A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] + +**Describe the solution you'd like** +A clear and concise description of what you want to happen. + +**Describe alternatives you've considered** +A clear and concise description of any alternative solutions or features you've considered. + +**Additional context** +Add any other context or screenshots about the feature request here. From 916aa9fce338613f9a82c97fc3bd88f2c79725f7 Mon Sep 17 00:00:00 2001 From: shamsmosowi Date: Thu, 3 Oct 2019 12:48:19 +1000 Subject: [PATCH 3/5] Update feature_request.md --- .github/ISSUE_TEMPLATE/feature_request.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md index bbcbbe7d..e245ee25 100644 --- a/.github/ISSUE_TEMPLATE/feature_request.md +++ b/.github/ISSUE_TEMPLATE/feature_request.md @@ -1,6 +1,6 @@ --- name: Feature request -about: Suggest an idea for this project +about: Suggest an idea for Firetable title: '' labels: '' assignees: '' From bbaefcfa71bb82031780d4d09f4b48e148de0610 Mon Sep 17 00:00:00 2001 From: itsermin <44114383+itsermin@users.noreply.github.com> Date: Mon, 21 Oct 2019 17:29:07 +1100 Subject: [PATCH 4/5] Update package.json Changing react-scripts to 3.1.2 resolves this error. https://github.com/facebook/react/issues/16845 --- www/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/package.json b/www/package.json index 7800b6b7..11d66b05 100644 --- a/www/package.json +++ b/www/package.json @@ -35,7 +35,7 @@ "react-dom": "^16.9.0", "react-dropzone": "^10.1.8", "react-router-dom": "^5.0.1", - "react-scripts": "3.1.1", + "react-scripts": "3.1.2", "start": "^5.1.0", "typescript": "3.6.2", "yarn": "^1.19.0", From 949514167118361fb36c747f25717a6aaba8774e Mon Sep 17 00:00:00 2001 From: shamsmosowi Date: Tue, 22 Oct 2019 12:52:00 +1100 Subject: [PATCH 5/5] Update README.md --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 774587cc..94437b92 100644 --- a/README.md +++ b/README.md @@ -7,6 +7,7 @@ Firetable an Excel view for Firestore. #### 1) Create a firebase project - enable firestore +- enable firstore rules - enable firebase billing - enable google auth @@ -36,7 +37,7 @@ Deploy the cloud functions to your firebase project #### 5) Set environment variables -Add .env file to the wwww directory +create a .env file in the www directory ``` REACT_APP_FIREBASE_PROJECT_NAME =