mirror of
https://github.com/makeplane/plane
synced 2024-06-14 14:31:34 +00:00
fix: global view filters dropdown overflow issue (#2469)
* fix: global view filters dropdown overflow issue * chore: rename View to Display * fix: gap between dropdowns in header
This commit is contained in:
parent
baa2621fe2
commit
f54a9502f8
@ -115,7 +115,7 @@ export const CycleIssuesHeader: React.FC = observer(() => {
|
|||||||
states={projectStore.states?.[projectId?.toString() ?? ""] ?? undefined}
|
states={projectStore.states?.[projectId?.toString() ?? ""] ?? undefined}
|
||||||
/>
|
/>
|
||||||
</FiltersDropdown>
|
</FiltersDropdown>
|
||||||
<FiltersDropdown title="View">
|
<FiltersDropdown title="Display">
|
||||||
<DisplayFiltersSelection
|
<DisplayFiltersSelection
|
||||||
displayFilters={issueFilterStore.userDisplayFilters}
|
displayFilters={issueFilterStore.userDisplayFilters}
|
||||||
displayProperties={issueFilterStore.userDisplayProperties}
|
displayProperties={issueFilterStore.userDisplayProperties}
|
||||||
|
@ -98,7 +98,7 @@ export const GlobalIssuesHeader: React.FC<Props> = observer((props) => {
|
|||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
<CreateUpdateWorkspaceViewModal isOpen={createViewModal} onClose={() => setCreateViewModal(false)} />
|
<CreateUpdateWorkspaceViewModal isOpen={createViewModal} onClose={() => setCreateViewModal(false)} />
|
||||||
<div className="relative w-full flex items-center justify-between gap-x-2 gap-y-4 border-b border-custom-border-200 bg-custom-sidebar-background-100 p-4">
|
<div className="relative w-full flex items-center z-10 justify-between gap-x-2 gap-y-4 border-b border-custom-border-200 bg-custom-sidebar-background-100 p-4">
|
||||||
<div className="flex gap-2 items-center">
|
<div className="flex gap-2 items-center">
|
||||||
{activeLayout === "spreadsheet" && <CheckCircle size={16} strokeWidth={2} />}
|
{activeLayout === "spreadsheet" && <CheckCircle size={16} strokeWidth={2} />}
|
||||||
<span className="text-sm font-medium">Workspace {activeLayout === "spreadsheet" ? "Issues" : "Views"}</span>
|
<span className="text-sm font-medium">Workspace {activeLayout === "spreadsheet" ? "Issues" : "Views"}</span>
|
||||||
@ -139,7 +139,7 @@ export const GlobalIssuesHeader: React.FC<Props> = observer((props) => {
|
|||||||
</FiltersDropdown>
|
</FiltersDropdown>
|
||||||
)}
|
)}
|
||||||
|
|
||||||
<FiltersDropdown title="View">
|
<FiltersDropdown title="Display">
|
||||||
<DisplayFiltersSelection
|
<DisplayFiltersSelection
|
||||||
displayFilters={workspaceFilterStore.workspaceDisplayFilters}
|
displayFilters={workspaceFilterStore.workspaceDisplayFilters}
|
||||||
displayProperties={workspaceFilterStore.workspaceDisplayProperties}
|
displayProperties={workspaceFilterStore.workspaceDisplayProperties}
|
||||||
|
@ -115,7 +115,7 @@ export const ModuleIssuesHeader: React.FC = observer(() => {
|
|||||||
states={projectStore.states?.[projectId?.toString() ?? ""] ?? undefined}
|
states={projectStore.states?.[projectId?.toString() ?? ""] ?? undefined}
|
||||||
/>
|
/>
|
||||||
</FiltersDropdown>
|
</FiltersDropdown>
|
||||||
<FiltersDropdown title="View">
|
<FiltersDropdown title="Display">
|
||||||
<DisplayFiltersSelection
|
<DisplayFiltersSelection
|
||||||
displayFilters={issueFilterStore.userDisplayFilters}
|
displayFilters={issueFilterStore.userDisplayFilters}
|
||||||
displayProperties={issueFilterStore.userDisplayProperties}
|
displayProperties={issueFilterStore.userDisplayProperties}
|
||||||
|
@ -100,9 +100,7 @@ export const ProjectIssuesHeader: FC = observer(() => {
|
|||||||
onClose={() => setAnalyticsModal(false)}
|
onClose={() => setAnalyticsModal(false)}
|
||||||
projectDetails={projectDetails ?? undefined}
|
projectDetails={projectDetails ?? undefined}
|
||||||
/>
|
/>
|
||||||
<div
|
<div className="relative flex w-full flex-shrink-0 flex-row z-10 items-center justify-between gap-x-2 gap-y-4 border-b border-custom-border-200 bg-custom-sidebar-background-100 p-4">
|
||||||
className={`relative flex w-full flex-shrink-0 flex-row z-10 items-center justify-between gap-x-2 gap-y-4 border-b border-custom-border-200 bg-custom-sidebar-background-100 p-4`}
|
|
||||||
>
|
|
||||||
<div className="flex items-center gap-2 flex-grow w-full whitespace-nowrap overflow-ellipsis">
|
<div className="flex items-center gap-2 flex-grow w-full whitespace-nowrap overflow-ellipsis">
|
||||||
<div className="block md:hidden">
|
<div className="block md:hidden">
|
||||||
<button
|
<button
|
||||||
@ -128,7 +126,7 @@ export const ProjectIssuesHeader: FC = observer(() => {
|
|||||||
</Breadcrumbs>
|
</Breadcrumbs>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div className="flex items-center gap-3">
|
<div className="flex items-center gap-2">
|
||||||
<LayoutSelection
|
<LayoutSelection
|
||||||
layouts={["list", "kanban", "calendar", "spreadsheet", "gantt_chart"]}
|
layouts={["list", "kanban", "calendar", "spreadsheet", "gantt_chart"]}
|
||||||
onChange={(layout) => handleLayoutChange(layout)}
|
onChange={(layout) => handleLayoutChange(layout)}
|
||||||
@ -146,7 +144,7 @@ export const ProjectIssuesHeader: FC = observer(() => {
|
|||||||
states={projectStore.states?.[projectId?.toString() ?? ""] ?? undefined}
|
states={projectStore.states?.[projectId?.toString() ?? ""] ?? undefined}
|
||||||
/>
|
/>
|
||||||
</FiltersDropdown>
|
</FiltersDropdown>
|
||||||
<FiltersDropdown title="View">
|
<FiltersDropdown title="Display">
|
||||||
<DisplayFiltersSelection
|
<DisplayFiltersSelection
|
||||||
displayFilters={issueFilterStore.userDisplayFilters}
|
displayFilters={issueFilterStore.userDisplayFilters}
|
||||||
displayProperties={issueFilterStore.userDisplayProperties}
|
displayProperties={issueFilterStore.userDisplayProperties}
|
||||||
|
@ -99,7 +99,7 @@ export const ProjectViewIssuesHeader: React.FC = observer(() => {
|
|||||||
states={projectStore.states?.[projectId?.toString() ?? ""] ?? undefined}
|
states={projectStore.states?.[projectId?.toString() ?? ""] ?? undefined}
|
||||||
/>
|
/>
|
||||||
</FiltersDropdown>
|
</FiltersDropdown>
|
||||||
<FiltersDropdown title="View">
|
<FiltersDropdown title="Display">
|
||||||
<DisplayFiltersSelection
|
<DisplayFiltersSelection
|
||||||
displayFilters={issueFilterStore.userDisplayFilters}
|
displayFilters={issueFilterStore.userDisplayFilters}
|
||||||
displayProperties={issueFilterStore.userDisplayProperties}
|
displayProperties={issueFilterStore.userDisplayProperties}
|
||||||
|
@ -54,7 +54,7 @@ export const ProfileIssuesFilter = observer(() => {
|
|||||||
/>
|
/>
|
||||||
</FiltersDropdown>
|
</FiltersDropdown>
|
||||||
|
|
||||||
<FiltersDropdown title="View">
|
<FiltersDropdown title="Display">
|
||||||
<DisplayFiltersSelection
|
<DisplayFiltersSelection
|
||||||
displayFilters={profileIssueFiltersStore.userDisplayFilters}
|
displayFilters={profileIssueFiltersStore.userDisplayFilters}
|
||||||
displayProperties={profileIssueFiltersStore.userDisplayProperties}
|
displayProperties={profileIssueFiltersStore.userDisplayProperties}
|
||||||
|
Loading…
Reference in New Issue
Block a user