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

feat: project UI rework, move edit and delete buttons deeper #4195

Merged
merged 7 commits into from
Jul 11, 2023

Conversation

sjaanus
Copy link
Contributor

@sjaanus sjaanus commented Jul 10, 2023

  1. Move edit and delete buttons deeper
  2. Remove delete button from project list view
  3. Add feature counter and text indication to delete button, so it is more clear when and why project can be deleted

image

@vercel
Copy link

vercel bot commented Jul 10, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
unleash-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 11, 2023 6:37am
unleash-monorepo-frontend ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 11, 2023 6:37am

Copy link
Contributor Author

Choose a reason for hiding this comment

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

This file was leftover from past.

projectId: string,
newProjectPath: boolean
) => {
return newProjectPath
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Edit will be on new path

@@ -1 +1 @@
export const formTemplateSidebarWidth = '27.5rem';
export const formTemplateSidebarWidth = '36%';
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Together with @nicolaesocaciu we came up with new width for API sidebar.

featureCount: number;
}

export const DeleteProject = ({
Copy link
Contributor Author

Choose a reason for hiding this comment

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

New component for project deletion

import PermissionButton from 'component/common/PermissionButton/PermissionButton';
import ProjectForm from '../../ProjectForm/ProjectForm';

const EditProject = () => {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This is refactored component out of old EditProject, but in future old EditProject will be deleted

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

None yet

2 participants