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

feat: handle close highlight dialog #1268

Merged
merged 2 commits into from
Jun 16, 2023

Conversation

takanome-dev
Copy link
Contributor

@takanome-dev takanome-dev commented Jun 14, 2023

What type of PR is this? (check all applicable)

  • πŸ• Feature
  • πŸ› Bug Fix
  • πŸ“ Documentation Update
  • 🎨 Style
  • πŸ§‘β€πŸ’» Code Refactor
  • πŸ”₯ Performance Improvements
  • βœ… Test
  • πŸ€– Build
  • πŸ” CI
  • πŸ“¦ Chore (Release)
  • ⏩ Revert

Description

This PR fixes a bug where the single highlight dialog was not being closed after clicking the close button or the overlay. The setOpenSingleHighlight state is now properly updated when the highlight modal is closed.

Generated using OpenSauced.

Related Tickets & Documents

Fixes #1267

Mobile & Desktop Screenshots/Recordings

Before

close-dialog-before.mp4

After

close-dialog-after.mp4

Added tests?

  • πŸ‘ yes
  • πŸ™… no, because they aren't needed
  • πŸ™‹ no, because I need help

Added to documentation?

  • πŸ“œ README.md
  • πŸ““ docs.opensauced.pizza
  • πŸ• dev.to/opensauced
  • πŸ“• storybook
  • πŸ™… no documentation needed

[optional] Are there any post-deployment tasks we need to perform?

[optional] What gif best describes this PR or how it makes you feel?

@netlify
Copy link

netlify bot commented Jun 14, 2023

βœ… Deploy Preview for design-insights ready!

Name Link
πŸ”¨ Latest commit 4543cc3
πŸ” Latest deploy log https://app.netlify.com/sites/design-insights/deploys/648a20b8843a6d0009cd9d7a
😎 Deploy Preview https://deploy-preview-1268--design-insights.netlify.app
πŸ“± Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@netlify
Copy link

netlify bot commented Jun 14, 2023

βœ… Deploy Preview for oss-insights ready!

Built without sensitive environment variables

Name Link
πŸ”¨ Latest commit 4543cc3
πŸ” Latest deploy log https://app.netlify.com/sites/oss-insights/deploys/648a20b8dc08fa00080a4d55
😎 Deploy Preview https://deploy-preview-1268--oss-insights.netlify.app
πŸ“± Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@takanome-dev
Copy link
Contributor Author

takanome-dev commented Jun 14, 2023

Not related but it seems like the feed is rerendering non-stop πŸ€”

Screencast.from.06-14-2023.06.51.37.PM.webm

@takanome-dev takanome-dev marked this pull request as ready for review June 14, 2023 20:31
@brandonroberts brandonroberts merged commit b6a78c7 into open-sauced:beta Jun 16, 2023
github-actions bot pushed a commit that referenced this pull request Jun 16, 2023
## [1.52.0-beta.6](v1.52.0-beta.5...v1.52.0-beta.6) (2023-06-16)

### πŸ• Features

* handle close highlight dialog ([#1268](#1268)) ([b6a78c7](b6a78c7))
@github-actions
Copy link
Contributor

πŸŽ‰ This PR is included in version 1.52.0-beta.6 πŸŽ‰

The release is available on GitHub release

Your semantic-release bot πŸ“¦πŸš€

@takanome-dev takanome-dev deleted the 1267-close-modal-bug branch June 16, 2023 17:02
github-actions bot pushed a commit that referenced this pull request Jun 20, 2023
## [1.53.0-beta.1](v1.52.0...v1.53.0-beta.1) (2023-06-20)

### πŸ• Features

* handle close highlight dialog ([#1268](#1268)) ([b6a78c7](b6a78c7))

### πŸ› Bug Fixes

* link single highlight dialog contributor info div to contributor profile ([#1279](#1279)) ([67d5a16](67d5a16))
* remove failing maintenance actions ([#1271](#1271)) ([bc516c3](bc516c3))
* scatter plot tooltip issue and remove cloudinary rounded image solution ([#1266](#1266)) ([ec6b3d5](ec6b3d5))
@github-actions
Copy link
Contributor

πŸŽ‰ This PR is included in version 1.53.0-beta.1 πŸŽ‰

The release is available on GitHub release

Your semantic-release bot πŸ“¦πŸš€

github-actions bot pushed a commit that referenced this pull request Jun 22, 2023
## [1.53.0](v1.52.0...v1.53.0) (2023-06-22)

### πŸ• Features

* handle close highlight dialog ([#1268](#1268)) ([b6a78c7](b6a78c7))

### πŸ› Bug Fixes

* language update - change developer to contributor ([#1274](#1274)) ([7e86ac9](7e86ac9)), closes [#1247](#1247)
* link single highlight dialog contributor info div to contributor profile ([#1279](#1279)) ([67d5a16](67d5a16))
* properly format local time displayed on user's profile ([#1282](#1282)) ([604cc62](604cc62))
* remove failing maintenance actions ([#1271](#1271)) ([bc516c3](bc516c3))
* scatter plot tooltip issue and remove cloudinary rounded image solution ([#1266](#1266)) ([ec6b3d5](ec6b3d5))
@github-actions
Copy link
Contributor

πŸŽ‰ This PR is included in version 1.53.0 πŸŽ‰

The release is available on GitHub release

Your semantic-release bot πŸ“¦πŸš€

ElpisHelle added a commit to ElpisHelle/next.js-tailwindcss that referenced this pull request Aug 17, 2023
## [1.52.0-beta.6](open-sauced/app@v1.52.0-beta.5...v1.52.0-beta.6) (2023-06-16)

### πŸ• Features

* handle close highlight dialog ([#1268](open-sauced/app#1268)) ([b6a78c7](open-sauced/app@b6a78c7))
ElpisHelle added a commit to ElpisHelle/next.js-tailwindcss that referenced this pull request Aug 17, 2023
## [1.53.0-beta.1](open-sauced/app@v1.52.0...v1.53.0-beta.1) (2023-06-20)

### πŸ• Features

* handle close highlight dialog ([#1268](open-sauced/app#1268)) ([b6a78c7](open-sauced/app@b6a78c7))

### πŸ› Bug Fixes

* link single highlight dialog contributor info div to contributor profile ([#1279](open-sauced/app#1279)) ([67d5a16](open-sauced/app@67d5a16))
* remove failing maintenance actions ([#1271](open-sauced/app#1271)) ([bc516c3](open-sauced/app@bc516c3))
* scatter plot tooltip issue and remove cloudinary rounded image solution ([#1266](open-sauced/app#1266)) ([ec6b3d5](open-sauced/app@ec6b3d5))
ElpisHelle added a commit to ElpisHelle/next.js-tailwindcss that referenced this pull request Aug 17, 2023
## [1.53.0](open-sauced/app@v1.52.0...v1.53.0) (2023-06-22)

### πŸ• Features

* handle close highlight dialog ([#1268](open-sauced/app#1268)) ([b6a78c7](open-sauced/app@b6a78c7))

### πŸ› Bug Fixes

* language update - change developer to contributor ([#1274](open-sauced/app#1274)) ([7e86ac9](open-sauced/app@7e86ac9)), closes [#1247](open-sauced/app#1247)
* link single highlight dialog contributor info div to contributor profile ([#1279](open-sauced/app#1279)) ([67d5a16](open-sauced/app@67d5a16))
* properly format local time displayed on user's profile ([#1282](open-sauced/app#1282)) ([604cc62](open-sauced/app@604cc62))
* remove failing maintenance actions ([#1271](open-sauced/app#1271)) ([bc516c3](open-sauced/app@bc516c3))
* scatter plot tooltip issue and remove cloudinary rounded image solution ([#1266](open-sauced/app#1266)) ([ec6b3d5](open-sauced/app@ec6b3d5))
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.

Bug: highlight modal doesn't close on mobile
3 participants