-
Notifications
You must be signed in to change notification settings - Fork 2
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
Pro 6419 import pages #79
Conversation
package.json
Outdated
@@ -18,14 +18,15 @@ | |||
"author": "Apostrophe Technologies", | |||
"license": "UNLICENSED", | |||
"devDependencies": { | |||
"apostrophe": "github:apostrophecms/apostrophe", | |||
"apostrophe": "github:apostrophecms/apostrophe#pro-6425-batch-operation-page", |
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.
needs to be changed
* pro-6436-batch-operation-page: Fix import labels for singleton pieces Fix missing module action Changelog Add batch label for notificaitons Ensure unique types Add computed documents types Add export batch operation for pages
* pro-6436-batch-operation-page: Add replaces configuration for singleton import menu
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
@@ -303,23 +307,34 @@ module.exports = self => { | |||
// If the parked/singleton doc is not found, it should be processed as a | |||
// regular doc. | |||
if (isSingleton || parkedId) { | |||
// TODO: what about singleton with localized = false, we don't have aposMode | |||
// TODO: do I need that for parked page? |
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 don't think this is a problem. aposMode in my knowledge always exists (no matter localized or not). We check for draft here because we want to trigger this (expensive) code only once per unique page (aposDocId).
}) | ||
: null; | ||
if (replaceId) { | ||
// NOTE: please update duplicatedDocs launder in overrideDuplicates |
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.
Leftover note?
…recomputeAllDocReferences
Summary
Summarize the changes briefly, including which issue/ticket this resolves. If it closes an existing Github issue, include "Closes #[issue number]"
What are the specific steps to test this change?
For example:
What kind of change does this PR introduce?
(Check at least one)
Make sure the PR fulfills these requirements:
If adding a new feature without an already open issue, it's best to open a feature request issue first and wait for approval before working on it.
Other information: