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

[feature]: new onboarding UI #2082

Merged
merged 33 commits into from
Sep 28, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
c1acdd3
feat(frontend): updated sdks
ashrafchowdury Sep 20, 2024
8571e3d
feat(frontend): new app selector ui
ashrafchowdury Sep 20, 2024
3a04adf
fix(frontend): api key missing message issue
ashrafchowdury Sep 22, 2024
86fad19
fix(lint): fixed lint and cypress test failure
ashrafchowdury Sep 22, 2024
03dd59d
fix(lint): fixed lint fails
ashrafchowdury Sep 22, 2024
5c431de
fix(frontend): fixed the auth layout
ashrafchowdury Sep 23, 2024
467ccab
Merge branch 'main' of github.com:agenta-ai/agenta into AGE-691/imple…
ashrafchowdury Sep 23, 2024
4b85af6
fix(frontend): added conditional fetch in useSWR to prevent request w…
bekossy Sep 24, 2024
f39c5c8
fix(forntend): removed 'Create new app' from app launch
ashrafchowdury Sep 24, 2024
830d8ee
test(frontend): fixed app creation issue
ashrafchowdury Sep 24, 2024
79309d0
test(frontend): increased test time
ashrafchowdury Sep 25, 2024
05e0e7b
enhance(frontend) changed auth image
ashrafchowdury Sep 26, 2024
6261586
Merge branch 'main' of github.com:agenta-ai/agenta into AGE-691/imple…
ashrafchowdury Sep 26, 2024
ba5cfe4
test(frontend): increased timeout from 3 to 6 minutes
ashrafchowdury Sep 26, 2024
c95d5e1
test(frotnend) increased timeout from 6 to 8 minutes
ashrafchowdury Sep 26, 2024
74f79db
test(frontend): upgraded cypress sdk
ashrafchowdury Sep 26, 2024
5fc59b3
modified cypress test(frontend)
bekossy Sep 26, 2024
9c88657
fix(frontend): changed timeout back to 2mins
bekossy Sep 26, 2024
06df361
test(frontend): removed disabled attr
bekossy Sep 26, 2024
a7f39b1
revert changes(frontend)
bekossy Sep 26, 2024
6c76a84
ui(frontend): reverted the app luanch ui to its older version
ashrafchowdury Sep 26, 2024
1ea72ec
fix(frontend): revert changes
bekossy Sep 26, 2024
6ccf5b8
test(frontend): added 3secs wait
bekossy Sep 26, 2024
d526bbb
test(frontend): bug fix
bekossy Sep 26, 2024
3138b3b
test(frontend)
bekossy Sep 27, 2024
c1cfd19
test(frontend)
bekossy Sep 27, 2024
1468e17
test(frontend)
bekossy Sep 27, 2024
d989de3
test(frontend)
bekossy Sep 27, 2024
026d5c0
test(frontend)
bekossy Sep 27, 2024
ba0e9ce
test(frontend)
bekossy Sep 27, 2024
0d80a27
test(frontend)
bekossy Sep 27, 2024
84c2c71
improved ui(frontend)
bekossy Sep 27, 2024
e869ae9
Merge branch 'main' into AGE-691/implement-onboarding-pages
aakrem Sep 28, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
241 changes: 126 additions & 115 deletions agenta-backend/poetry.lock

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion agenta-backend/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ python-multipart = "^0.0.7"
backoff = "^2.2.1"
redis = "^4.6.0"
aiodocker = "^0.21.0"
supertokens-python = "^0.15.1"
sendgrid = "^6.10.0"
restrictedpython = { version = "^6.2", python = ">=3.9,<3.12" }
pytest-mock = "^3.11.1"
Expand All @@ -42,6 +41,7 @@ tqdm = "^4.66.4"
alembic = "^1.13.2"
numpy = "1.26.3"
autoevals = "^0.0.83"
supertokens-python = "^0.24.2"

[tool.poetry.group.dev.dependencies]
pytest = "^7.3.1"
Expand Down
780 changes: 434 additions & 346 deletions agenta-web/package-lock.json

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions agenta-web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
"@types/uuid": "^9.0.7",
"ag-grid-community": "^31.2.0",
"ag-grid-react": "^31.2.0",
"antd": "^5.4.7",
"antd": "^5.20.6",
"autoprefixer": "10.4.14",
"axios": "^1.4.0",
"classnames": "^2.3.2",
Expand Down Expand Up @@ -80,8 +80,8 @@
"react-resizable": "^3.0.5",
"react-syntax-highlighter": "^15.5.0",
"react-youtube": "^10.1.0",
"supertokens-auth-react": "^0.34.0",
"supertokens-node": "^15.0.4",
"supertokens-auth-react": "^0.47.0",
"supertokens-node": "^20.1.2",
"swr": "^2.1.5",
"tailwindcss": "^3.4.4",
"typescript": "5.0.4",
Expand All @@ -92,7 +92,7 @@
"@swc/cli": "^0.3.12",
"@swc/core": "^1.4.15",
"@types/node": "^20.8.10",
"cypress": "^13.4.0",
"cypress": "^13.15.0",
"node-mocks-http": "^1.12.2",
"prettier": "^3.2.5"
}
Expand Down
Binary file added agenta-web/public/assets/On-boarding.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
81 changes: 81 additions & 0 deletions agenta-web/public/assets/onboard-page-grids.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
32 changes: 19 additions & 13 deletions agenta-web/src/components/AppSelector/AppSelector.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -279,19 +279,12 @@ const AppSelector: React.FC = () => {
}}
>
<div className={classes.container}>
{isLoading ? (
<div>
<ResultComponent status={"info"} title="Loading..." spinner={true} />
</div>
) : error ? (
<div>
<ResultComponent status={"error"} title="Failed to load" />
</div>
) : Array.isArray(apps) && apps.length ? (
<div className="flex flex-col gap-6">
<div className="flex items-center justify-between">
<h1 className={classes.title}>Applications</h1>
{!isLoading && !error && (
<div className="flex items-center justify-between mb-5">
<h1 className={classes.title}>App Management</h1>
{Array.isArray(apps) && apps.length ? (
<Button
type="primary"
data-cy="create-new-app-button"
icon={<PlusOutlined />}
onClick={() => {
Expand All @@ -308,7 +301,20 @@ const AppSelector: React.FC = () => {
>
Create new app
</Button>
</div>
) : null}
</div>
)}

{isLoading ? (
<div>
<ResultComponent status={"info"} title="Loading..." spinner={true} />
</div>
) : error ? (
<div>
<ResultComponent status={"error"} title="Failed to load" />
</div>
) : Array.isArray(apps) && apps.length ? (
<div className="flex flex-col gap-6">
<div className={classes.cardsList}>
{Array.isArray(apps) && (
<>
Expand Down
Loading
Loading