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

fix: workspace view redirection fix, style: spreadsheet view shadow scroll fix #2314

Merged
merged 2 commits into from
Sep 29, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
Original file line number Diff line number Diff line change
Expand Up @@ -500,9 +500,10 @@ export const SpreadsheetView: React.FC<Props> = ({
<>
<div className="sticky left-0 w-[28rem] z-[2]">
<div
className={`relative flex flex-col h-max w-full bg-custom-background-100 z-[2] ${
isScrolled ? "shadow-r shadow-custom-shadow-xs" : ""
}`}
className="relative flex flex-col h-max w-full bg-custom-background-100 z-[2]"
style={{
boxShadow: isScrolled ? "8px -9px 12px rgba(0, 0, 0, 0.15)" : "",
}}
>
<div className="flex items-center text-sm font-medium z-[2] h-11 w-full sticky top-0 bg-custom-background-90 border border-l-0 border-custom-border-100">
{currentViewProperties.key && (
Expand Down
2 changes: 1 addition & 1 deletion web/components/workspace/views/modal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ export const CreateUpdateWorkspaceViewModal: React.FC<Props> = ({
mutate(WORKSPACE_VIEWS_LIST(workspaceSlug as string));
handleClose();

router.replace(`/${workspaceSlug}/workspace-views/issues?viewId=${res.id}`);
router.replace(`/${workspaceSlug}/workspace-views/issues?globalViewId=${res.id}`);

setToastAlert({
type: "success",
Expand Down
Loading