-
Notifications
You must be signed in to change notification settings - Fork 378
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: publishing page #2440
feat: publishing page #2440
Conversation
I added a new It is my hope that we can use this mock endpoint to complete the UI build-out before proceeding to the real publishing targets. With that in mind, I think the next steps would be (as listed in #2355)
|
Updates from Ben today:
|
implement edit of target
implement edit/delete
…nto benbrown/2355
After this is code reviewed, we need to do one last task:
|
Composer/packages/client/src/pages/publish/createPublishTarget.tsx
Outdated
Show resolved
Hide resolved
Composer/packages/client/src/pages/publish/createPublishTarget.tsx
Outdated
Show resolved
Hide resolved
}, [publishHistory, selectedTargetName, settings.publishTargets]); | ||
|
||
// check history to see if a 202 is found | ||
useEffect(() => { |
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.
I'm wondering if we can condense this logic into a single setInterval/clearInterval mechanism opposed to a conditional setTimeout
* re-enable publish page in settings * add description to publish plugin, fix behavior of "Default" local test target * add publish page in nav * add publish page * remove unrelevant * add publish page and add getHistory method in localpublish plugin * fix bug * polish style * add mock remote publish for development/testing purposes * add alerts on failed validation * add validation chck * update typedefs flatten and standardize result payload * poll for updated stats if status is 202 * fix build fail * add sensitive setting back and polish UI * fix localpublish * add testInEmulator button * add group in detail list * add log output * bind the log button to the actual log content from the publish process * add supported features to return value of types api * add default into profile * remove default show in profile list * add rollback methods * add rollback endpoint, mock rollback feature, rollback button in ui * fix build * change status show in list to icon * polish * fix e2e test * disable open in emulator button, clean consoles * change date format * add targetName into url * add delete in target list, add edit placehold in target list * fix save target * fix selectVersion after changing target * implement confirm on delete of target implement edit of target * add error correction implement edit/delete * fix name undefined when adding target: * fix some comments * fix comment * redirect to new target after create and edit, and fix date sort * fix comments * fix history update after publish fail * resolve comments from cwhitten * fix some code issues Co-authored-by: Wenyi Luo <wenyluo@microsoft.com> Co-authored-by: Chris Whitten <christopher.whitten@microsoft.com>
Description
Implementation of the new publish page UI.
Somethings different from the design:
Task Item
closes #2355
Screenshots