-
Notifications
You must be signed in to change notification settings - Fork 249
Description
❌ This issue is not open for contribution. Visit Contributing guidelines to learn about the contributing process and how to find suitable issues.
Overview
A potential user workflow could involve publishing a channel to include or fix any content, and then, immediately after, resubmit the channel to the Community Library. However, there is a small problem with this: If a user opens the submit to the community library side panel, and the publish hasn't yet synced to the backend, then the channel metadata that is loaded on component mount will be outdated because it would have loaded the metadata of the previous version, and if the user creates a submission before the publish change has been synced, then the submission will point to the previous channel version instead of pointing to the version the user expects.
Technical details
- If the channel's
publishingfield is set to true when the side panel is mounted, a "Channel is being published" loader should appear before displaying the channel metadata and side panel inputs. - Observe with a live query the channel
publishingfield until it is set tofalse, then perform the proper initial data loading process.
Acceptance criteria
- A new Community Library Submission could not be created while the channel is being published.
- Unit tests have been added.
