Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
31 changes: 0 additions & 31 deletions .github/workflows/codecov.yml

This file was deleted.

23 changes: 23 additions & 0 deletions .github/workflows/ninja_i18n.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@

name: Ninja i18n action

on: pull_request_target

# explicitly configure permissions, in case your GITHUB_TOKEN workflow permissions are set to read-only in repository settings
permissions:
pull-requests: write # Necessary to comment on PRs
issues: read # Necessary to read issue comments
contents: read # Necessary to access the repo content

jobs:
ninja-i18n:
name: Ninja i18n - GitHub Lint Action
runs-on: ubuntu-latest

steps:
- name: Run Ninja i18n
# @main ensures that the latest version of the action is used
uses: opral/ninja-i18n-action@main
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

6 changes: 1 addition & 5 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
test-results
node_modules

# Output
Expand All @@ -19,8 +20,3 @@ Thumbs.db
# Vite
vite.config.js.timestamp-*
vite.config.ts.timestamp-*

# Tests
/coverage
coverage
coverage/*
1 change: 0 additions & 1 deletion .npmrc

This file was deleted.

5 changes: 5 additions & 0 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"recommendations": [
"inlang.vs-code-extension"
]
}
9 changes: 4 additions & 5 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
{
"i18n-ally.localesPaths": [
"src/lib/i18n",
"src/lib/i18n/locales"
],
"i18n-ally.keystyle": "nested",
"i18n-ally.sourceLanguage": "en"
"messages",
"src/paraglide/messages",
"src/lib/paraglide/messages"
]
}
89 changes: 25 additions & 64 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,80 +1,41 @@
<h1 align="center">CropWatch Web UI</h1>
<p align="center"><i>Our PWA Web Application for viewing and controlling your farm from anywhere and everywhere.</i></p>
<div style="display:flex; flex-direction: row; gap: 5px;" align="center">

[![CodeQL - Master](https://github.com/CropWatchDevelopment/CropWatch/actions/workflows/github-code-scanning/codeql/badge.svg?branch=master)](https://github.com/CropWatchDevelopment/CropWatch/actions/workflows/github-code-scanning/codeql)
[![CodeQL - Develop](https://github.com/CropWatchDevelopment/CropWatch/actions/workflows/github-code-scanning/codeql/badge.svg?branch=develop)](https://github.com/CropWatchDevelopment/CropWatch/actions/workflows/github-code-scanning/codeql)
[![codecov](https://codecov.io/gh/CropWatchDevelopment/CropWatch/graph/badge.svg?token=H0LAIQ38KG)](https://codecov.io/gh/CropWatchDevelopment/CropWatch)
# sv

</div>
<br>
<p align="center"><i>Loved the project? Please visit our <a href="https://CropWatch.io">Website</a></i></p>
<br>
This repo aims to host a UI that everyone can update and add to so that we can make farming as easy as possible through the use of technology.
Everything you need to build a Svelte project, powered by [`sv`](https://github.com/sveltejs/cli).

If you are interested, please create a PR to add your `README` profile here.
## Creating a project

If you like this Repo, please click the :star:
If you're seeing this, you've probably already done this step. Congrats!

List of `CropWatch UI` categories mentioned below
```bash
# create a new project in the current directory
npx sv create

## Contents
- [Contribute](#contribute)
# create a new project in my-app
npx sv create my-app
```

## Website
## Developing

Link : https://app.CropWatch.io
Once you've created a project and installed dependencies with `npm install` (or `pnpm install` or `yarn`), start a development server:

<a href="https://app.CropWatch.io">Current Production UI</a>
```bash
npm run dev

# Environments
- [UAT](https://crop-watch-i2xiyd6mo-crop-watch-team.vercel.app/)
- [PROD](https://app.cropwatch.io)
- [QA](https://app-qa.cropwatch.io)
- [DEV](http://localhost:5173)
# or start the server and open the app in a new browser tab
npm run dev -- --open
```

## Github README PROFILE CATEGORY
## Building

- [x] [Dashboard]()
- [x] [Locations]()
- [x] [Location Details]()
- [ ] [Sensor Details]()
- [ ] [Sensor Rules]()
- [ ] [Sensor Settings]()
- [ ] [Sensor Compare]()
- [ ] [Many Many Sensor Pages...]()
- [ ] [Settings Page with notations]()
- [ ] [Push Notifications]()
- [ ] [Real-Time Updates]()
To create a production version of your app:

# List of Tools & Packages Used:
- [Svelte-UX](https://github.com/techniq/svelte-ux)
- [LayerChart](https://github.com/techniq/layerchart)
- [Supabase](https://github.com/supabase/supabase)
```bash
npm run build
```

# Chat, collaberate, and learn at our `community pages` Here:
- <a href="https://kb.CropWatch.io">CropWatch WIKI</a>
- <a href="https://forum.CropWatch.io">CropWatch Forum</a>
- <a href="https://discord.gg/fXHUpx6G">Join our Discord Server</a>
You can preview the production build with `npm run preview`.

# Contribute
> To deploy your app, you may need to install an [adapter](https://svelte.dev/docs/kit/adapters) for your target environment.

Contributions are always welcome! Please create a PR to add your GitHub profile.

# Debugging Server Side code using VSCode:
- Press: Ctrl + Shift + P, Then choose "Debug: JavaScript Debug terminal" from the prompt.
- In the terminal box that opens, type: pnpm dev
- Set your breakpoint and run the code!

# Issues

I love knowing when something is wrong, that way I can fix it ASAP! However, please take care when submitting an issue, be clear about what is wrong, what you did to make it happen, and if possible include your device and browser where it happened.

## :pencil: License

This project is licensed under [MIT](https://opensource.org/licenses/MIT) license.

## :man_astronaut: Show your support

Give a ⭐️ if this project helped you!

Drag and Drop: https://github.com/thisuxhq/SvelteDnD?tab=readme-ov-file
File renamed without changes.
10 changes: 5 additions & 5 deletions eslint.config.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
import prettier from 'eslint-config-prettier';
import js from '@eslint/js';
import ts from 'typescript-eslint';
import svelte from 'eslint-plugin-svelte';
import prettier from 'eslint-config-prettier';
import globals from 'globals';
import ts from 'typescript-eslint';

/** @type {import('eslint').Linter.Config[]} */
export default [
export default ts.config(
js.configs.recommended,
...ts.configs.recommended,
...svelte.configs['flat/recommended'],
Expand All @@ -21,6 +20,7 @@ export default [
},
{
files: ['**/*.svelte'],

languageOptions: {
parserOptions: {
parser: ts.parser
Expand All @@ -30,4 +30,4 @@ export default [
{
ignores: ['build/', '.svelte-kit/', 'dist/']
}
];
);
Loading