Skip to content

UI - Remove delete button from status pages #2150

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
ajhollid opened this issue Apr 26, 2025 · 20 comments
Open

UI - Remove delete button from status pages #2150

ajhollid opened this issue Apr 26, 2025 · 20 comments
Assignees
Labels
good first issue Good for newcomers

Comments

@ajhollid
Copy link
Collaborator

Similar to monitor details page, delete button shoud be moved from status page to the config page

Image

@Br0wnHammer Br0wnHammer added the good first issue Good for newcomers label Apr 28, 2025
@HYDRO2070
Copy link

@ajhollid Is this issue still open. can you assign it to me?

@gorkem-bwl
Copy link
Contributor

@HYDRO2070 go ahead please. Make sure you read the Contributing section first.

@gorkem-bwl
Copy link
Contributor

@HYDRO2070 hello - what is the latest status here? Should be pretty quick to get this done I assume - can you complete by EoD tomorrow?

@HYDRO2070
Copy link

@HYDRO2070 hello - what is the latest status here? Should be pretty quick to get this done I assume - can you complete by EoD tomorrow?

will have it done by EoD tomorrow.

@gorkem-bwl
Copy link
Contributor

Great!

@HYDRO2070
Copy link

I'm trying to set up the frontend, but it's throwing an error saying the server isn't working properly. I also tried setting up the backend, but it's giving a Redis installation error. I'm not able to get it running properly—could you guide me on how to resolve this?

@gorkem-bwl
Copy link
Contributor

What is the error? If you can paste here we can help.

@HYDRO2070
Copy link

throw new Error("Failed to connect to Redis");
^

Error: Failed to connect to Redis
at Object.retryStrategy (file:///C:/Users/Prompt/Desktop/Open%20Source/Checkmate/server/service/redisService.js:24:12)
at Socket. (C:\Users\Prompt\Desktop\Open Source\Checkmate\server\node_modules\ioredis\built\redis\event_handler.js:162:41)
at Object.onceWrapper (node:events:633:26)
at Socket.emit (node:events:518:28)
at TCP. (node:net:343:12)
Node.js **v22.11.0

@gorkem-bwl
Copy link
Contributor

Redis is apparently not running, are there any logs there?

@HYDRO2070
Copy link

Nope. I am only seeing that redis connection failed. Do I have to run it using docker?

@gorkem-bwl
Copy link
Contributor

Yes. Did you go over the installation documents?

@Br0wnHammer
Copy link
Member

@HYDRO2070, please let us know if you still go over any issue in installation.

@HYDRO2070
Copy link

HYDRO2070 commented May 8, 2025

@Br0wnHammer @gorkem-bwl
Firstly it said to navigate to server/docker/dev in Docs (Navigate to the docker/dev directory in step 3 of Quickstart for developers (Windows)). but the server folder don't have any docker folder.
and after I traverse to docker folder which is at the root folder and run this command

docker run -d -p 6379:6379 -v $PWD/redis/data:/data --name uptime_redis uptime_redis
docker run -d -p 27017:27017 -v $PWD/mongo/data:/data/db --name uptime_database_mongo uptime_database_mongo

it's showing this error

C:\Users\Prompt\Desktop\Open Source\Checkmate\docker\dev>docker run -d -p 6379:6379 -v $PWD/redis/data:/data --name uptime_redis uptime_redis
docker: Error response from daemon: create $PWD/redis/data: "$PWD/redis/data" includes invalid characters for a local volume name, only "[a-zA-Z0-9][a-zA-Z0-9_.-]" are allowed. If you intended to pass a host directory, use absolute path.
See 'docker run --help'.

Now what should I Do?

@Br0wnHammer
Copy link
Member

Br0wnHammer commented May 8, 2025

@Br0wnHammer @gorkem-bwl Firstly it said to navigate to server/docker/dev in Docs (Navigate to the docker/dev directory in step 3 of Quickstart for developers (Windows)). but the server folder don't have any docker folder. and after I traverse to docker folder which is at the root folder and run this command

docker run -d -p 6379:6379 -v $PWD/redis/data:/data --name uptime_redis uptime_redis
docker run -d -p 27017:27017 -v $PWD/mongo/data:/data/db --name uptime_database_mongo uptime_database_mongo

it's showing this error

C:\Users\Prompt\Desktop\Open Source\Checkmate\docker\dev>docker run -d -p 6379:6379 -v $PWD/redis/data:/data --name uptime_redis uptime_redis
docker: Error response from daemon: create $PWD/redis/data: "$PWD/redis/data" includes invalid characters for a local volume name, only "[a-zA-Z0-9][a-zA-Z0-9_.-]" are allowed. If you intended to pass a host directory, use absolute path.
See 'docker run --help'.

Now what should I Do?

Did you build the docker images? As stated in step 3?
Ah, forgot I had server/docker as the path. It should be docker/dev where we need to run the docker commands

@HYDRO2070
Copy link

Yes. I have build the docker image using these command

docker build -f ./docker/dev/mongoDB.Dockerfile -t uptime_database_mongo .
docker build -f ./docker/dev/redis.Dockerfile -t uptime_redis .

@HYDRO2070
Copy link

HYDRO2070 commented May 9, 2025

@Br0wnHammer @gorkem-bwl What should I do?

(Edit)
by using StackOverFlow and Chatgpt i did setup the docker and run the frontend and backend.
but it said to login at starting and when i created the account. it saying

Server Connection Error

We're unable to connect to the server. Please check your internet connection or verify your deployment configuration if the problem persists.

(Edit) Now its Working. Setup Done.

@gorkem-bwl
Copy link
Contributor

@Br0wnHammer @gorkem-bwl What should I do?

(Edit)
by using StackOverFlow and Chatgpt i did setup the docker and run the frontend and backend.
but it said to login at starting and when i created the account. it saying

Server Connection Error

We're unable to connect to the server. Please check your internet connection or verify your deployment configuration if the problem persists.

(Edit) Now its Working. Setup Done.

Glad to hear it's working. Can you give an ETA for the PR ?

@HYDRO2070
Copy link

@Br0wnHammer @gorkem-bwl What should I do?
(Edit)
by using StackOverFlow and Chatgpt i did setup the docker and run the frontend and backend.
but it said to login at starting and when i created the account. it saying

Server Connection Error

We're unable to connect to the server. Please check your internet connection or verify your deployment configuration if the problem persists.

(Edit) Now its Working. Setup Done.

Glad to hear it's working. Can you give an ETA for the PR ?

EOD

@gorkem-bwl
Copy link
Contributor

Great, look forward to it!

@HYDRO2070
Copy link

@gorkem-bwl
I've created the PR for moving the Delete button to the Configure page as per the task. Please review it and let me know if anything needs to be changed. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

4 participants