Skip to content

Commit

Permalink
v0.0.1-beta
Browse files Browse the repository at this point in the history
  • Loading branch information
hzeyuan committed Jan 22, 2024
1 parent b13e5cc commit cbb4739
Show file tree
Hide file tree
Showing 29 changed files with 8 additions and 73 deletions.
3 changes: 1 addition & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -36,5 +36,4 @@ yarn-error.log*

.next
node_modules/
/apps/web/.next/
apps/web/.next/*

2 changes: 1 addition & 1 deletion apps/extension/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "OpenGPTS",
"displayName": "OpenGPTs",
"version": "0.0.1",
"description": "OpenGPTs",
"description": "OpenGPTs- Powerful GPTs Colipot | 强大的gpts管理器",
"author": " hzeyuan.github.com <[email protected]>",
"scripts": {
"start": "next start",
Expand Down
67 changes: 0 additions & 67 deletions apps/extension/src/components/GptsList.tsx

This file was deleted.

Binary file modified apps/web/.next/cache/webpack/client-development/1.pack.gz
Binary file not shown.
Binary file modified apps/web/.next/cache/webpack/client-development/10.pack.gz
Binary file not shown.
Binary file modified apps/web/.next/cache/webpack/client-development/2.pack.gz
Binary file not shown.
Binary file modified apps/web/.next/cache/webpack/client-development/3.pack.gz
Binary file not shown.
Binary file modified apps/web/.next/cache/webpack/client-development/4.pack.gz
Binary file not shown.
Binary file modified apps/web/.next/cache/webpack/client-development/5.pack.gz
Binary file not shown.
Binary file modified apps/web/.next/cache/webpack/client-development/6.pack.gz
Binary file not shown.
Binary file modified apps/web/.next/cache/webpack/client-development/7.pack.gz
Binary file not shown.
Binary file modified apps/web/.next/cache/webpack/client-development/8.pack.gz
Binary file not shown.
Binary file modified apps/web/.next/cache/webpack/client-development/9.pack.gz
Binary file not shown.
Binary file modified apps/web/.next/cache/webpack/client-development/index.pack.gz
Binary file not shown.
Binary file not shown.
Binary file modified apps/web/.next/cache/webpack/server-development/0.pack.gz
Binary file not shown.
Binary file modified apps/web/.next/cache/webpack/server-development/1.pack.gz
Binary file not shown.
Binary file modified apps/web/.next/cache/webpack/server-development/2.pack.gz
Binary file not shown.
Binary file modified apps/web/.next/cache/webpack/server-development/3.pack.gz
Binary file not shown.
Binary file modified apps/web/.next/cache/webpack/server-development/5.pack.gz
Binary file not shown.
Binary file modified apps/web/.next/cache/webpack/server-development/6.pack.gz
Binary file not shown.
Binary file modified apps/web/.next/cache/webpack/server-development/7.pack.gz
Binary file not shown.
Binary file modified apps/web/.next/cache/webpack/server-development/8.pack.gz
Binary file not shown.
Binary file modified apps/web/.next/cache/webpack/server-development/index.pack.gz
Binary file not shown.
Binary file not shown.
1 change: 1 addition & 0 deletions apps/web/public/star.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 3 additions & 3 deletions apps/web/src/app/components/GptsList/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -36,17 +36,17 @@ export default ({ gpts, loading }: Props) => {
<p className="mb-4 text-sm text-[#636262]">
{item.description}
</p>

<div className="flex items-center">
{item.rating &&
{item.is_recommended?
Array.from({ length: 5 }).map((_, idx: number) => (
<img
key={idx}
src="/star.svg"
alt=""
className="mr-1.5 inline-block w-4 flex-none"
/>
))}
))
: null}
<div className="flex-1"></div>

<p className="text-sm text-slate-500">
Expand Down
1 change: 1 addition & 0 deletions apps/web/src/app/models/gpts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,7 @@ function formatGpts(row: QueryResultRow): Gpts | undefined {
updated_at: row.updated_at,
visit_url: "https://chat.openai.com/g/" + row.uuid,
rating: row.rating,
is_recommended: row.is_recommended,
};

try {
Expand Down
1 change: 1 addition & 0 deletions apps/web/src/app/types/gpts.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,5 @@ export interface Gpts {
detail?: any;
visit_url?: string;
rating?: number;
is_recommended?: boolean;
}

0 comments on commit cbb4739

Please sign in to comment.