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

feat: introduce Opportunity creation for Broken Backlinks #475

Merged
merged 19 commits into from
Nov 29, 2024

Conversation

dzehnder
Copy link
Contributor

No description provided.

@dzehnder dzehnder added the enhancement New feature or request label Nov 21, 2024
Copy link

This PR will trigger a minor release when merged.

src/backlinks/handler.js Outdated Show resolved Hide resolved
src/backlinks/handler.js Outdated Show resolved Hide resolved
src/backlinks/handler.js Outdated Show resolved Hide resolved
@dzehnder dzehnder marked this pull request as ready for review November 25, 2024 10:14
src/backlinks/handler.js Outdated Show resolved Hide resolved
src/backlinks/handler.js Outdated Show resolved Hide resolved
src/backlinks/handler.js Outdated Show resolved Hide resolved
src/backlinks/handler.js Outdated Show resolved Hide resolved
src/backlinks/handler.js Show resolved Hide resolved
@@ -216,3 +216,50 @@ export default new AuditBuilder()
.build();

```

### How to add Opportunities and Suggestions
Copy link
Member

Choose a reason for hiding this comment

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

💯

src/utils/data-access.js Show resolved Hide resolved
const newDataKeys = new Set(newData.map(buildKey));
const existingSuggestions = await opportunity.getSuggestions();

// Remove outdated suggestions
Copy link

@habansal habansal Nov 29, 2024

Choose a reason for hiding this comment

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

If the existing suggestion was entered via back-office-ui as the source, we should NOT delete it, irrespective of whether the same suggestion exists in the new audit or not

Copy link
Contributor Author

Choose a reason for hiding this comment

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

We will handles this as a next step. This will require an additional property in the data model

src/backlinks/handler.js Outdated Show resolved Hide resolved
@dzehnder dzehnder merged commit 78ce9a3 into main Nov 29, 2024
4 checks passed
@dzehnder dzehnder deleted the feat-broken-backlinks-create-oppty branch November 29, 2024 13:04
solaris007 pushed a commit that referenced this pull request Nov 29, 2024
# [1.36.0](v1.35.0...v1.36.0) (2024-11-29)

### Features

* introduce Opportunity creation for Broken Backlinks ([#475](#475)) ([78ce9a3](78ce9a3))
@solaris007
Copy link
Member

🎉 This PR is included in version 1.36.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request released
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants