-
-
Notifications
You must be signed in to change notification settings - Fork 232
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: Add delete highlights implementation #963
Conversation
β Deploy Preview for oss-insights ready!
To edit notification comments on pull requests, go to your Netlify site settings. |
β Deploy Preview for design-insights ready!
To edit notification comments on pull requests, go to your Netlify site settings. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
PR Compliance Checks
Thank you for your Pull Request! We have run several checks on this pull request in order to make sure it's suitable for merging into this project. The results are listed in the following section.
Watched Files
This pull request modifies specific files that require careful review by the maintainers.
Files Matched
- npm-shrinkwrap.json
- package.json
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Functionally works. List is not refreshed, but may be covered in #957
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Missed this in the design review, but can we light the delete button to match what is on the inisights page. Link to Figma
cc @getaheaddev
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just some little details
const error = new Error("HttpError"); | ||
|
||
error.message = `${res.status} ${res.statusText}`; | ||
error.stack = JSON.stringify(await res.json()); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe we should start using axios
to automatically throw errors on non-ok requests. Something for the future.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
@OgDev-01 resolve merge conflicts and this is good to go |
β¦06-delete-highlight
π This PR is included in version 1.34.0-beta.6 π The release is available on GitHub release Your semantic-release bot π¦π |
## [1.34.0](v1.33.0...v1.34.0) (2023-03-10) ### π Features * add custom tooltip to pr list icon ([#962](#962)) ([44fa050](44fa050)), closes [#955](#955) * add delete highlight implementation ([#963](#963)) ([10575f1](10575f1)), closes [#906](#906) * implement highlight's permanent link ([#957](#957)) ([78ad176](78ad176)), closes [#895](#895) [#950](#950) * remove the repo click to filter feature & link to github ([#989](#989)) ([6f62b46](6f62b46)), closes [#983](#983) ### π§βπ» Code Refactoring * add invalid pull url feedback ([#992](#992)) ([28fe15c](28fe15c)), closes [#961](#961) ### π Bug Fixes * add Rust to interests options and combine utility function ([#977](#977)) ([28a5270](28a5270)), closes [#976](#976) * add skeleton wrapper atom to storybook ([#990](#990)) ([780d345](780d345)) * adds more placeholder ([#971](#971)) ([bf5daa7](bf5daa7)) * adjust input body overlap when editing a highlight ([#991](#991)) ([1512f7d](1512f7d)) * fix pointer-events when closing edit dialog ([#987](#987)) ([df6eb2b](df6eb2b)) * update local time option from user settings ([#951](#951)) ([c91a513](c91a513))
## [1.34.0-beta.6](open-sauced/app@v1.34.0-beta.5...v1.34.0-beta.6) (2023-03-10) ### π Features * add delete highlight implementation ([#963](open-sauced/app#963)) ([10575f1](open-sauced/app@10575f1)), closes [#906](open-sauced/app#906)
## [1.34.0](open-sauced/app@v1.33.0...v1.34.0) (2023-03-10) ### π Features * add custom tooltip to pr list icon ([#962](open-sauced/app#962)) ([44fa050](open-sauced/app@44fa050)), closes [#955](open-sauced/app#955) * add delete highlight implementation ([#963](open-sauced/app#963)) ([10575f1](open-sauced/app@10575f1)), closes [#906](open-sauced/app#906) * implement highlight's permanent link ([#957](open-sauced/app#957)) ([78ad176](open-sauced/app@78ad176)), closes [#895](open-sauced/app#895) [#950](open-sauced/app#950) * remove the repo click to filter feature & link to github ([#989](open-sauced/app#989)) ([6f62b46](open-sauced/app@6f62b46)), closes [#983](open-sauced/app#983) ### π§βπ» Code Refactoring * add invalid pull url feedback ([#992](open-sauced/app#992)) ([28fe15c](open-sauced/app@28fe15c)), closes [#961](open-sauced/app#961) ### π Bug Fixes * add Rust to interests options and combine utility function ([#977](open-sauced/app#977)) ([28a5270](open-sauced/app@28a5270)), closes [#976](open-sauced/app#976) * add skeleton wrapper atom to storybook ([#990](open-sauced/app#990)) ([780d345](open-sauced/app@780d345)) * adds more placeholder ([#971](open-sauced/app#971)) ([bf5daa7](open-sauced/app@bf5daa7)) * adjust input body overlap when editing a highlight ([#991](open-sauced/app#991)) ([1512f7d](open-sauced/app@1512f7d)) * fix pointer-events when closing edit dialog ([#987](open-sauced/app#987)) ([df6eb2b](open-sauced/app@df6eb2b)) * update local time option from user settings ([#951](open-sauced/app#951)) ([c91a513](open-sauced/app@c91a513))
What type of PR is this? (check all applicable)
Description
This PR:
Related Tickets & Documents
Fixes #906
Mobile & Desktop Screenshots/Recordings
Added tests?
Added to documentation?
[optional] Are there any post-deployment tasks we need to perform?
[optional] What gif best describes this PR or how it makes you feel?