Skip to content

Traffic Boost: Add UI components for the Traffic Boost functionality #3064

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

Merged
merged 48 commits into from
Jan 16, 2025

Conversation

vaurdan
Copy link

@vaurdan vaurdan commented Jan 13, 2025

Description

This PR implements most of the UI functionality for the Traffic Boost functionality.

There are a couple mockup functions that will be removed once the missing backend is implemented.

Motivation and context

How has this been tested?

Tested on my local environment and on the latest Chrome.

Screenshots (if appropriate)

image image image

@coderabbitai ignore

Summary by CodeRabbit

Release Notes

  • New Features

    • Added Traffic Boost functionality to help manage and optimize post linking strategies
    • Introduced new sidebar and preview components for enhancing content linking
    • Implemented dynamic link suggestions and inbound link management
  • Improvements

    • Enhanced dashboard page with new UI components and styling
    • Added more flexible pagination and search capabilities for posts
    • Improved state management using WordPress data store
  • Components Added

    • Traffic Boost preview and sidebar interfaces
    • Link suggestion and management tools
    • Thumbnail and snackbar notice components
  • Technical Enhancements

    • Updated TypeScript interfaces and type definitions
    • Improved internationalization support
    • Added new CSS variables and styling classes

@acicovic acicovic added the Feature: PCH Ticket/PR related to the Content Helper label Jan 13, 2025
@@ -7,6 +7,8 @@
@import "../components/tone-selector/style";
@import "../components/persona-selector/style";
@import "../components/input-range/style";
@import "../components/thumbnail/style";
Copy link
Collaborator

Choose a reason for hiding this comment

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

Not necessarily a thing to do in this PR, but if we think that common.scss is becoming to big, loading to much CSS in places where it isn't needed, we could see how to improve that.

Copy link
Author

Choose a reason for hiding this comment

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

Yeah, I think ideally we should try to have the common components (and all its styles) as an independent module, so it would be loaded before all the other PCH code. This would probably help shrinking the size of the editor-sidebar.js module to be under 256kb and stop webpack from complaining.

But definitely it's work for another PR.

Copy link
Collaborator

@acicovic acicovic left a comment

Choose a reason for hiding this comment

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

This is excellent work, and a major contribution to our project. Thank you for working on this!

@vaurdan vaurdan merged commit 9d6f9cc into add/traffic-boost Jan 16, 2025
39 checks passed
@vaurdan vaurdan deleted the add/traffic-boost-ui branch January 16, 2025 14:12
@acicovic acicovic modified the milestones: 3.18.0, 3.19.0 Apr 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature: PCH Ticket/PR related to the Content Helper Feature: Traffic Boost Ticket/PR related to Traffic Boost
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants