Skip to content

Conversation

aaryan610
Copy link
Member

@aaryan610 aaryan610 commented Feb 26, 2024

Manual issue archival

What's new?

  1. Users(members and admins only) can now manually archive any issue in the completed or canceled state groups.
  2. Archive option is available in the quick actions dropdown of an issue, peek overview and issue details page.

Other improvements:

  1. Enhanced the UI of the quick actions dropdown and added a new option- Open in new tab.
  2. Refactored the quick actions dropdown components.
  3. Fixed typos and grammatical errors in the automation settings workflow.
  4. Updated activity log and notification message for archival/restore.

Media:

How to archive?

Screen.Recording.2024-02-27.at.12.47.05.PM.mov

How to restore?

Screen.Recording.2024-02-27.at.12.49.30.PM.mov

Issue: WEB-419


const handleCopyIssueLink = () => {
copyUrlToClipboard(`${workspaceSlug}/projects/${issue.project_id}/archived-issues/${issue.id}`).then(() =>
const handleOpenInNewTab = () => window.open(`/${issueLink}`, "_blank");

Check warning

Code scanning / CodeQL

Client-side URL redirect

Untrusted URL redirection depends on a [user-provided value](1).
copyUrlToClipboard(`${workspaceSlug}/projects/${issue.project_id}/issues/${issue.id}`).then(() =>
const issueLink = `${workspaceSlug}/projects/${issue.project_id}/issues/${issue.id}`;

const handleOpenInNewTab = () => window.open(`/${issueLink}`, "_blank");

Check warning

Code scanning / CodeQL

Client-side URL redirect

Untrusted URL redirection depends on a [user-provided value](1).
copyUrlToClipboard(`/${workspaceSlug}/projects/${issue.project_id}/issues/${issue.id}`).then(() =>
const issueLink = `${workspaceSlug}/projects/${issue.project_id}/issues/${issue.id}`;

const handleOpenInNewTab = () => window.open(`/${issueLink}`, "_blank");

Check warning

Code scanning / CodeQL

Client-side URL redirect

Untrusted URL redirection depends on a [user-provided value](1).
copyUrlToClipboard(`${workspaceSlug}/projects/${issue.project_id}/issues/${issue.id}`).then(() =>
const issueLink = `${workspaceSlug}/projects/${issue.project_id}/issues/${issue.id}`;

const handleOpenInNewTab = () => window.open(`/${issueLink}`, "_blank");

Check warning

Code scanning / CodeQL

Client-side URL redirect

Untrusted URL redirection depends on a [user-provided value](1).
copyUrlToClipboard(`${workspaceSlug}/projects/${issue.project_id}/issues/${issue.id}`).then(() =>
const issueLink = `${workspaceSlug}/projects/${issue.project_id}/issues/${issue.id}`;

const handleOpenInNewTab = () => window.open(`/${issueLink}`, "_blank");

Check warning

Code scanning / CodeQL

Client-side URL redirect

Untrusted URL redirection depends on a [user-provided value](1).
@aaryan610 aaryan610 marked this pull request as ready for review February 27, 2024 07:22
@aaryan610 aaryan610 added this to the v0.17.0-dev milestone Feb 27, 2024
@pushya22 pushya22 marked this pull request as draft February 27, 2024 10:44
@aaryan610 aaryan610 marked this pull request as ready for review February 28, 2024 10:25
@sriramveeraghanta sriramveeraghanta merged commit 30cc923 into develop Feb 28, 2024
@sriramveeraghanta sriramveeraghanta deleted the feat/issue-archive branch February 28, 2024 11:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants