Skip to content
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

refactor: cleanup dead code and some bug fixes #167

Merged
merged 15 commits into from
Mar 5, 2024
Merged

refactor: cleanup dead code and some bug fixes #167

merged 15 commits into from
Mar 5, 2024

Conversation

G3root
Copy link
Collaborator

@G3root G3root commented Mar 4, 2024

No description provided.

Copy link

github-actions bot commented Mar 4, 2024

Thank you for following the naming conventions for pull request titles! 🙏

import { type Metadata } from "next";

export const metadata: Metadata = {
title: "OpenCap - Sign Up",
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we don't need a signup page now

@@ -6,7 +6,7 @@ type ProviderProps = {
children: React.ReactNode;
};

const ProgressBarProvider = ({ children }: ProviderProps) => {
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

refactored inside providers folder

async redirects() {
return [
{
source: "/",
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove double redirect. now the redirection is handle inside the home page

@G3root G3root changed the title reafctor: cleanup waitlist and some other refactors refactor: cleanup waitlist and some other refactors Mar 4, 2024
@G3root G3root marked this pull request as draft March 4, 2024 09:00
@G3root G3root marked this pull request as ready for review March 4, 2024 09:38
/usr/bin/mc config host add myminio http://minio:9002 opencap password;
/usr/bin/mc mb myminio/opencap;
/usr/bin/mc mb myminio/opencap-public;
/usr/bin/mc anonymous set public myminio/opencap-public;
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

creates private bucket and public bucket


const s3BaseURL = `https://${env.PUBLIC_UPLOAD_BUCKET}.s3.amazonaws.com`;
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixes hard coding of aws url and accessing env variables in client side error.

@G3root G3root changed the title refactor: cleanup waitlist and some other refactors refactor: cleanup dead code and some bug fixes Mar 4, 2024
@G3root G3root requested a review from dahal March 4, 2024 09:41
import { Button } from "@/components/ui/button";
import { Input } from "@/components/ui/input";
import { zodResolver } from "@hookform/resolvers/zod";
import { RiArrowRightLine } from "@remixicon/react";
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

dead code

Copy link
Contributor

@dahal dahal left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💜

@dahal dahal merged commit 9072af8 into main Mar 5, 2024
2 checks passed
@dahal dahal deleted the cleanup branch March 5, 2024 04:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants