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

feature(tool/move): update files pointing to the moved document(s) #8493

Closed
wants to merge 2 commits into from

Conversation

OnkarRuikar
Copy link
Contributor

The PR:

  • updates move command to update referring documents.
  • adds status(new) and l10n(translated content) frontmatter attributes to optionalFrontMatterKeys array. Without this change Document.saveFile() removes these from metadata.
  • changed referringFiles type from array to set in delete command. When a dirctory is deleted multiple sub pages get deleted so the array was getting duplicate entries.

@github-actions github-actions bot added the macros tracking issues related to kumascript macros label Mar 25, 2023
@teoli2003
Copy link
Member

Can we have a review on this? @claas or @LeoMcA ? #8372 proved valuable in keeping the number of flaws at bay.

A few refactoring (like CSS) are ahead of us (as part of Mozilla's initiative to improve discoverability and navigability) and this feature will be needed to lower significantly the amount of menial work needed.

@github-actions github-actions bot added the merge conflicts 🚧 Please rebase onto or merge the latest main. label Jul 14, 2023
@github-actions
Copy link
Contributor

This pull request has merge conflicts that must be resolved before it can be merged.

@github-actions github-actions bot removed the merge conflicts 🚧 Please rebase onto or merge the latest main. label Jul 15, 2023
@caugner caugner requested a review from a team as a code owner November 7, 2023 19:20
@github-actions github-actions bot added the idle label Jan 24, 2024
@github-actions github-actions bot added the merge conflicts 🚧 Please rebase onto or merge the latest main. label Mar 5, 2024
Copy link
Contributor

github-actions bot commented Mar 5, 2024

This pull request has merge conflicts that must be resolved before it can be merged.

@github-actions github-actions bot removed merge conflicts 🚧 Please rebase onto or merge the latest main. idle labels Mar 5, 2024
Copy link
Contributor

@caugner caugner left a comment

Choose a reason for hiding this comment

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

@OnkarRuikar Sorry for taking so long to get back to you.

Two requests:

  1. Can you please fill out the PR template, especially the Problem, Solution and "How did you test the changes?" sections?
  2. Also, can you fix the tests?

Thank you! 🙌

PS: Converting to draft in the mean-time.

@caugner caugner marked this pull request as draft March 21, 2024 15:14
@github-actions github-actions bot added the idle label Apr 20, 2024
@OnkarRuikar
Copy link
Contributor Author

Closing because this has been implemented and thoroughly tested on content side.

@OnkarRuikar OnkarRuikar closed this May 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
idle macros tracking issues related to kumascript macros
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Rename Markdown links when an internal page is moved using yarn content move
3 participants