Skip to content
Merged

Rev2 #16

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
6febb17
initial commit of rev2
CropWatchDevelopment Apr 16, 2024
f21213c
getting a pwa started!
CropWatchDevelopment Apr 16, 2024
5a9d1aa
it is a PWA now!
CropWatchDevelopment Apr 17, 2024
abe425d
close to perfect starting point
CropWatchDevelopment Apr 17, 2024
c5f06ac
trying to figure out the best way to query data
CropWatchDevelopment Apr 17, 2024
3b5e602
adding sample .env
CropWatchDevelopment Apr 17, 2024
62ade3d
added store for FAST data display :D
CropWatchDevelopment Apr 17, 2024
28111a9
moving
CropWatchDevelopment Apr 18, 2024
72429c6
devices api working
CropWatchDevelopment Apr 21, 2024
2a51d1a
added HIGHCHARTS
CropWatchDevelopment Apr 21, 2024
90e7a64
removed useless base url stuff
CropWatchDevelopment Apr 21, 2024
aae971b
wip
CropWatchDevelopment Apr 21, 2024
e1caf92
working temp/humidity chart!!!
CropWatchDevelopment Apr 21, 2024
7601fbe
got highcharts displaying date and time correctly!
CropWatchDevelopment Apr 21, 2024
7f2b341
code fix
CropWatchDevelopment Apr 21, 2024
7ab6c28
sleeping
CropWatchDevelopment Apr 21, 2024
acb99fb
updaing original graph for better vis
CropWatchDevelopment Apr 22, 2024
63cf152
moving, this checkin may not work
CropWatchDevelopment Apr 23, 2024
4bf9f2f
rules wip
CropWatchDevelopment Apr 24, 2024
6337585
added a device-location endpoint
CropWatchDevelopment Apr 25, 2024
86a61c0
added dahsboard mega pull at /api/v1/dashboard
CropWatchDevelopment Apr 25, 2024
89b6465
update of rules now works
CropWatchDevelopment Apr 27, 2024
28d75f7
rules insertion and update working
CropWatchDevelopment Apr 27, 2024
9011bf9
rule Create, Edit, Delete working!
CropWatchDevelopment Apr 27, 2024
3f95a48
Merge remote-tracking branch 'origin/develop' into rev2
CropWatchDevelopment Apr 28, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .env_SAMPLE
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
PUBLIC_SUPABASE_URL=
PUBLIC_SUPABASE_ANON_KEY=
PUBLIC_SITE_BASE=http://localhost:5173
57 changes: 29 additions & 28 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
@@ -1,30 +1,31 @@
/** @type { import("eslint").Linter.Config } */
module.exports = {
root: true,
extends: [
'eslint:recommended',
'plugin:@typescript-eslint/recommended',
'plugin:svelte/recommended',
'prettier',
],
parser: '@typescript-eslint/parser',
plugins: ['@typescript-eslint'],
parserOptions: {
sourceType: 'module',
ecmaVersion: 2020,
extraFileExtensions: ['.svelte'],
},
env: {
browser: true,
es2017: true,
node: true,
},
overrides: [
{
files: ['*.svelte'],
parser: 'svelte-eslint-parser',
parserOptions: {
parser: '@typescript-eslint/parser',
},
},
],
root: true,
extends: [
'eslint:recommended',
'plugin:@typescript-eslint/recommended',
'plugin:svelte/recommended',
'prettier'
],
parser: '@typescript-eslint/parser',
plugins: ['@typescript-eslint'],
parserOptions: {
sourceType: 'module',
ecmaVersion: 2020,
extraFileExtensions: ['.svelte']
},
env: {
browser: true,
es2017: true,
node: true
},
overrides: [
{
files: ['*.svelte'],
parser: 'svelte-eslint-parser',
parserOptions: {
parser: '@typescript-eslint/parser'
}
}
]
};
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@ node_modules
/.svelte-kit
/package
.env
.env.*
!.env.example
.vercel
.output
vite.config.js.timestamp-*
vite.config.ts.timestamp-*
/.vercel
1 change: 1 addition & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
engine-strict=true
9 changes: 0 additions & 9 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -1,12 +1,3 @@
.DS_Store
node_modules
/build
/.svelte-kit
/package
.env
.env.*
!.env.example

# Ignore files for PNPM, NPM and YARN
pnpm-lock.yaml
package-lock.json
Expand Down
13 changes: 6 additions & 7 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
{
"useTabs": true,
"singleQuote": true,
"trailingComma": "none",
"printWidth": 100,
"plugins": ["prettier-plugin-svelte"],
"pluginSearchDirs": ["."],
"overrides": [{ "files": "*.svelte", "options": { "parser": "svelte" } }]
"useTabs": true,
"singleQuote": true,
"trailingComma": "none",
"printWidth": 100,
"plugins": ["prettier-plugin-svelte"],
"overrides": [{ "files": "*.svelte", "options": { "parser": "svelte" } }]
}
28 changes: 0 additions & 28 deletions .vscode/launch.json

This file was deleted.

4 changes: 1 addition & 3 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,5 @@
"i18n-ally.localesPaths": [
"src/lib/i18n",
"src/lib/i18n/locales"
],
"i18n-ally.keystyle": "nested",
"i18n-ally.sourceLanguage": "en"
]
}
Loading