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

[UI]: implemented app management view #2092

Merged
merged 28 commits into from
Oct 21, 2024
Merged
Show file tree
Hide file tree
Changes from 12 commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
7b7a871
ui(frontend): implemented new app selection ui
ashrafchowdury Sep 27, 2024
d623c10
ui(frontend): improved app layout
ashrafchowdury Sep 29, 2024
b8d6a18
ui(frontend): improved welcome card ui
ashrafchowdury Sep 29, 2024
4445386
test(frontend): fixed cypress test
ashrafchowdury Sep 29, 2024
7a5374e
fix(frorntend): sdk update errors
ashrafchowdury Sep 29, 2024
2758668
fix(frontend): divider width issue
ashrafchowdury Sep 29, 2024
1ef7055
fix(frontend): code structure
ashrafchowdury Sep 29, 2024
5b77ebb
resolved merge confilt
ashrafchowdury Sep 30, 2024
95cacc7
fix(frontend): lint error
ashrafchowdury Sep 30, 2024
7598f71
fix(frontend): small ui issues
ashrafchowdury Sep 30, 2024
37bd1d5
ui(frontend): added apps search fallback
ashrafchowdury Oct 1, 2024
7e7edf8
fix(frontend): app viewport
ashrafchowdury Oct 2, 2024
23e50f0
fix(frontend): improved styles and made variable name more descriptive
bekossy Oct 7, 2024
424f08d
fix(frontend): app rename issue
ashrafchowdury Oct 7, 2024
c7d09ca
styles(frontend)
bekossy Oct 7, 2024
9262d7d
Merge branch 'AGE-914/implement-app-management-view' of https://githu…
bekossy Oct 7, 2024
c1aa74d
minor change(frontend)
bekossy Oct 7, 2024
cbf34bd
fix(frontend): improved app loading condition
ashrafchowdury Oct 10, 2024
470b006
Merge branch 'main' of https://github.com/Agenta-AI/agenta into AGE-9…
ashrafchowdury Oct 10, 2024
80154b1
refactor(frontend): no result found codes
ashrafchowdury Oct 10, 2024
94bd330
Merge branch 'main' of https://github.com/Agenta-AI/agenta into AGE-9…
ashrafchowdury Oct 15, 2024
64cce13
fix(frontend): improved the apps rendering logic
ashrafchowdury Oct 15, 2024
50c567d
Merge branch 'main' of https://github.com/Agenta-AI/agenta into AGE-9…
ashrafchowdury Oct 21, 2024
817e008
Update AppTemplateCard.tsx
mmabrouk Oct 21, 2024
68350c0
Merge branch 'main' into AGE-914/implement-app-management-view
mmabrouk Oct 21, 2024
0a244d3
Merge branch 'main' of https://github.com/Agenta-AI/agenta into AGE-9…
ashrafchowdury Oct 21, 2024
f894b8e
Update CreateAppStatusModal.tsx
mmabrouk Oct 21, 2024
8754fd0
Merge branch 'main' into AGE-914/implement-app-management-view
mmabrouk Oct 21, 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
18 changes: 5 additions & 13 deletions agenta-web/cypress/support/commands/evaluations.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,26 +24,18 @@ Cypress.Commands.add("createVariant", () => {
cy.get('[data-cy="create-new-app-button"]').click()
cy.get('[data-cy="create-from-template"]').click()
} else {
cy.get('[data-cy="create-from-template__no-app"]').click()
cy.get('[data-cy="create-from-template"]').click()
}
})

cy.contains("Single Prompt OpenAI")
.parentsUntil('[data-cy^="app-template-card"]')
.last()
.contains("create app", {matchCase: false})
.click()

const appName = randString(5)
cy.task("log", `App name: ${appName}`)

cy.get('[data-cy="enter-app-name-modal"]')
.should("exist")
.within(() => {
cy.get("input").type(appName)
})
cy.get('[data-cy^="enter-app-name-input"]').type(appName)

cy.get('[data-cy="app-template-card"]').contains("Single Prompt OpenAI").click()

cy.get('[data-cy="enter-app-name-modal-button"]').click()
cy.get('[data-cy="create-app-from-template-button"]').click()

cy.url().should("include", "/playground")
cy.url().then((url) => {
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added agenta-web/public/assets/not-found.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 5 additions & 3 deletions agenta-web/src/components/AppSelector/AppCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,17 @@ const {Text} = Typography

const useStyles = createUseStyles((theme: JSSTheme) => ({
card: {
width: 300,
display: "flex",
flexDirection: "column",
transition: "all 0.025s ease-in",
cursor: "pointer",
boxShadow:
"0px 2px 4px 0px #00000005, 0px 1px 6px -1px #00000005, 0px 1px 2px 0px #00000008",
"& > .ant-card-head": {
minHeight: 0,
padding: theme.paddingSM,

paddingInline: theme.paddingSM,
paddingTop: theme.paddingXS,
paddingBottom: theme.paddingXS,
"& .ant-card-head-title": {
fontSize: theme.fontSizeLG,
fontWeight: theme.fontWeightMedium,
Expand Down
Loading