-
-
Notifications
You must be signed in to change notification settings - Fork 658
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
Conversation
sjaanus
commented
Jul 10, 2023
- Move edit and delete buttons deeper
- Remove delete button from project list view
- Add feature counter and text indication to delete button, so it is more clear when and why project can be deleted
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
There was a problem hiding this comment.
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 |
There was a problem hiding this comment.
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%'; |
There was a problem hiding this comment.
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 = ({ |
There was a problem hiding this comment.
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 = () => { |
There was a problem hiding this comment.
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