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: update un-publish process to reflect changes #1002

Merged
merged 2 commits into from
Feb 21, 2024

Conversation

spaenleh
Copy link
Member

@spaenleh spaenleh commented Feb 14, 2024

See below is an extreme slow-mo of the button.

there is still an issue where while the fetching for the new itemPublish info is loading the state appears as not published... lets see if it is an issue or not.

Screen.Recording.2024-02-21.at.10.00.25.mov

@spaenleh spaenleh force-pushed the fix-update-on-unpublish branch 2 times, most recently from cd0335d to 3c9f618 Compare February 16, 2024 11:54
@spaenleh spaenleh changed the title Fix update on unpublish fix: update un-publish process to reflect changes Feb 16, 2024
@spaenleh spaenleh marked this pull request as ready for review February 16, 2024 13:56
@spaenleh spaenleh force-pushed the fix-update-on-unpublish branch from 3c9f618 to 51bbed7 Compare February 16, 2024 13:56
@spaenleh spaenleh requested review from pyphilia and ReidyT February 16, 2024 13:56
@spaenleh spaenleh self-assigned this Feb 16, 2024
Copy link
Contributor

@ReidyT ReidyT left a comment

Choose a reason for hiding this comment

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

This PR seems to be ok for me 😄, I just let a comment to potentially solve the issue (maybe not).

I don't think the problem is serious, but depending on the possible latency between the two states (loading and deactivated), it may adversely affect the user experience.

src/components/item/publish/ItemPublishButton.tsx Outdated Show resolved Hide resolved
@spaenleh spaenleh force-pushed the fix-update-on-unpublish branch from 51bbed7 to 3ad9824 Compare February 21, 2024 09:02
Copy link

Quality Gate Passed Quality Gate passed

Issues
0 New issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

@spaenleh
Copy link
Member Author

@ReidyT I updated the code following your comment. The recording has also been updated. Let me know if it is better that way.

@spaenleh spaenleh added this pull request to the merge queue Feb 21, 2024
Merged via the queue into main with commit 3eedc45 Feb 21, 2024
4 checks passed
@spaenleh spaenleh deleted the fix-update-on-unpublish branch February 28, 2024 13:25
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.

2 participants