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

SS-606, SS-534 - adjust default flavor, make two project templates #77

Merged
merged 54 commits into from
Oct 11, 2023

Conversation

akochari
Copy link
Collaborator

@akochari akochari commented Oct 4, 2023

Description

Added two project templates as per SS-534 + hidden the cards to create ML-related apps from the project dashboard. Adjusted the default flavor name, assigned resources, made that Hardware in UI - SS-606. Logged in users now see the projects index unless they explicitly ask for homepage - SS-595. Additionally, fixes failing e2e tests from previous PR, adjusts e2e tests. A few small changes. I also noticed that now it takes a bit longer to create a project so added waiting time for this step in the tests.

There is a corresponding PR in the serve-charts repo.

Checklist

If you're unsure about any of the items below, don't hesitate to ask. We're here to help!
This is simply a reminder of what we are going to look for before merging your code.

  • This pull request is against develop branch (not applicable for hotfixes)
  • I have included a link to the issue on GitHub or JIRA (if any)
  • I have included migration files (if there are changes to the model classes)
  • I have included, reviewed and executed tests (unit and end2end) to complement my changes
  • I have updated the related documentation (if necessary)
  • I have updated the release notes (releasenotes.md)
  • I have added a reviewer for this pull request
  • I have added myself as an author for this pull request
  • In the case I have modified settings.py, then I have also updated the studio-settings-configmap.yaml file in serve-charts

Further comments

Anything else you think we should know before merging your code!

sandstromviktor and others added 30 commits September 28, 2023 08:25
@akochari akochari marked this pull request as ready for review October 5, 2023 15:41
@akochari akochari added enhancement Improvement of existing feature or request new feature A new feature labels Oct 10, 2023
Copy link
Contributor

@sandstromviktor sandstromviktor left a comment

Choose a reason for hiding this comment

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

Really good and important fixes! Great job!

Comment on lines +101 to +123

})

Cypress.Commands.add('deleteBlankProject', (project_name) => {

cy.visit("/projects/")

cy.get('h5.card-title').contains(project_name).siblings('div').find('a.confirm-delete').click()
.then((href) => {
cy.get('div#modalConfirmDelete').should('have.css', 'display', 'block')

cy.get("h1#modalConfirmDeleteLabel").then(function($elem) {
cy.log($elem.text())

cy.get('div#modalConfirmDeleteFooter').find('button').contains('Delete').click()

// Assert that the project has been deleted
cy.contains(project_name).should('not.exist')
})
})

})
Copy link
Contributor

Choose a reason for hiding this comment

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

I like this. We should do more functions like this and reuse throughout tests.

Comment on lines +134 to 136
<label class="form-label">Hardware</label>
<span class="bi bi-question-circle" style="color: #989da0" data-bs-toggle="tooltip" title="" data-bs-placement="right" data-bs-original-title="Hardware allocation for your app. Only one option is available by default. If your app requires more hardware resources, get in touch with us ([email protected]) with a request.">
</span>
Copy link
Contributor

Choose a reason for hiding this comment

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

Great!

@sandstromviktor sandstromviktor merged commit 4171c73 into develop Oct 11, 2023
2 checks passed
@sandstromviktor sandstromviktor deleted the SS-606-flavor branch October 11, 2023 08:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Improvement of existing feature or request new feature A new feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants