Skip to content

Commit

Permalink
feat: remove supabase & cloud related actions
Browse files Browse the repository at this point in the history
  • Loading branch information
AykutSarac committed Oct 2, 2024
1 parent 99f4ad3 commit 38a9287
Show file tree
Hide file tree
Showing 31 changed files with 52 additions and 1,343 deletions.
2 changes: 0 additions & 2 deletions .env
Original file line number Diff line number Diff line change
@@ -1,3 +1 @@
NEXT_PUBLIC_GA_MEASUREMENT_ID=G-JKZEHMJBMH
NEXT_PUBLIC_SUPABASE_URL=https://bxkgqurwqjmvrqekcbws.supabase.co
NEXT_PUBLIC_SUPABASE_KEY=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZSIsInJlZiI6ImJ4a2dxdXJ3cWptdnJxZWtjYndzIiwicm9sZSI6ImFub24iLCJpYXQiOjE2OTA2NDU0MjUsImV4cCI6MjAwNjIyMTQyNX0.3nZ0yhuFjnI3yHbAL8S9UtK-Ny-6F5AylNHgo1tymTU
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Read our [Code of Conduct](./CODE_OF_CONDUCT.md) to keep our community approacha
In this guide you will get an overview of the contribution workflow from opening an issue, creating a PR, reviewing, and merging the PR.

## Getting Started
JSON Crack is built with React, Reaflow for visualization, Mantine UI for components, Zustand for state management, and Supabase for backend integration. If you are not familiar with these technologies, we recommend you to read their documentation to get started. You can find the links to the respective documentations below:
JSON Crack is built with React, Reaflow for visualization, Mantine UI for components, Zustand for state management. If you are not familiar with these technologies, we recommend you to read their documentation to get started. You can find the links to the respective documentations below:

* [React](https://reactjs.org/docs/getting-started.html)
* [Reaflow](https://github.com/reaviz/reaflow)
Expand Down
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,6 @@ JSON Crack is a free, open-source data visualization app capable of visualizing

- [Next.js](https://nextjs.org/?ref=jsoncrack.com)
- [React.js](https://reactjs.org/?ref=jsoncrack.com)
- [Supabase](https://supabase.com/?ref=jsoncrack.com)
- [Reaflow](https://reaflow.dev/?ref=jsoncrack.com)
- [Monaco Editor](https://github.com/suren-atoyan/monaco-react)

Expand Down
8 changes: 0 additions & 8 deletions default.conf
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,4 @@ server {
location /docs {
try_files $uri /docs.html;
}

location /forgot-password {
try_files $uri /forgot-password.html;
}

location /sign-in {
try_files $uri /sign-in.html;
}
}
5 changes: 2 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
},
"homepage": "https://jsoncrack.com",
"bugs": {
"url": "https://github.com/AykutSarac/jsoncrack.com/issues"
},
"url": "https://github.com/AykutSarac/jsoncrack.com/issues"
},
"scripts": {
"dev": "next dev",
"build": "next build",
Expand All @@ -25,7 +25,6 @@
"@mantine/hooks": "^7.11.2",
"@monaco-editor/react": "^4.6.0",
"@sentry/nextjs": "^7.118.0",
"@supabase/supabase-js": "^2.44.4",
"@tanstack/react-query": "^4.36.1",
"allotment": "^1.20.2",
"axios": "^1.7.2",
Expand Down
93 changes: 0 additions & 93 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion public/robots.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ User-agent: *
Allow: /

User-agent: *
Disallow: /forgot-password
Disallow: /widget

Sitemap: https://jsoncrack.com/sitemap.txt
2 changes: 0 additions & 2 deletions public/sitemap.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
https://jsoncrack.com
https://jsoncrack.com/sign-in
https://jsoncrack.com/sign-up
https://jsoncrack.com/editor
https://jsoncrack.com/docs
https://jsoncrack.com/widget
Expand Down
11 changes: 0 additions & 11 deletions src/containers/Editor/components/BottomBar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,12 @@ import {
VscError,
VscFeedback,
VscRunAll,
VscSourceControl,
VscSync,
VscSyncIgnored,
} from "react-icons/vsc";
import useGraph from "src/containers/Editor/components/views/GraphView/stores/useGraph";
import useConfig from "src/store/useConfig";
import useFile from "src/store/useFile";
import useModal from "src/store/useModal";

const StyledBottomBar = styled.div`
position: relative;
Expand Down Expand Up @@ -88,12 +86,9 @@ export const BottomBar = () => {
const error = useFile(state => state.error);
const setContents = useFile(state => state.setContents);
const nodeCount = useGraph(state => state.nodes.length);
const fileName = useFile(state => state.fileData?.name);
const toggleFullscreen = useGraph(state => state.toggleFullscreen);
const fullscreen = useGraph(state => state.fullscreen);

const setVisible = useModal(state => state.setVisible);

const toggleEditor = () => {
toggleFullscreen(!fullscreen);
gaEvent("toggle_fullscreen");
Expand All @@ -109,12 +104,6 @@ export const BottomBar = () => {
<StyledBottomBarItem onClick={toggleEditor}>
<BiSolidDockLeft />
</StyledBottomBarItem>
{fileName && (
<StyledBottomBarItem onClick={() => setVisible("cloud")(true)}>
<VscSourceControl />
{fileName}
</StyledBottomBarItem>
)}
<StyledBottomBarItem>
{error ? (
<Popover width="auto" shadow="md" position="top" withArrow>
Expand Down
68 changes: 0 additions & 68 deletions src/containers/Modals/AccountModal/index.tsx

This file was deleted.

35 changes: 0 additions & 35 deletions src/containers/Modals/ClearModal/index.tsx

This file was deleted.

Loading

0 comments on commit 38a9287

Please sign in to comment.