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

【M2】Trip Delete & Trip_Tags Delete #30

Merged
merged 3 commits into from
Feb 12, 2024
Merged

【M2】Trip Delete & Trip_Tags Delete #30

merged 3 commits into from
Feb 12, 2024

Conversation

kanatagu
Copy link
Contributor

@kanatagu kanatagu commented Feb 6, 2024

Description

  • Add trip delete API logic
  • Fix trip_tags delete, showing delete modal with NOTE text. After use delete tag, all tag is attached to any trips is also deleted

Fixes # (issue)

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

Check List

URL

Trip Details
ex: http://localhost:3000/trip/874b2fa9-d0a8-4df5-b6a3-c1adf94ea2f6

Screenshot

Trip Delete
https://github.com/tabi-memo/frontend/assets/66394413/0436e52e-2e48-4a0f-a667-3794775b2e4b

Tag Delete
https://github.com/tabi-memo/frontend/assets/66394413/44952458-d17f-4f42-a028-b769b2fb8c7e

@kanatagu kanatagu self-assigned this Feb 6, 2024
} from '@chakra-ui/react'
import { SecondaryButton, AlertButton } from '../button'

type ConfirmModalProps = {
isOpen: boolean
onClose: () => void
confirmText: string
confirmBody: React.ReactNode
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Changed to more flexible props

Copy link
Contributor

@SachiGoto SachiGoto left a comment

Choose a reason for hiding this comment

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

LGTM!

@kanatagu kanatagu merged commit 9fbf1c9 into main Feb 12, 2024
2 checks passed
@kanatagu kanatagu deleted the M2_trip_delete branch February 12, 2024 20:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants