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

Add ability to view all post types when Pulling from an External Connection #861

Closed
1 task done
dkotter opened this issue Mar 8, 2022 · 8 comments · Fixed by #1002
Closed
1 task done

Add ability to view all post types when Pulling from an External Connection #861

dkotter opened this issue Mar 8, 2022 · 8 comments · Fixed by #1002
Assignees
Milestone

Comments

@dkotter
Copy link
Collaborator

dkotter commented Mar 8, 2022

Is your enhancement related to a problem? Please describe.

When you go to the Pull screen for an Internal/Network Connection, we default to showing content from all supported post types. You can then filter down to just the post type you want (like Posts).

But for External Connections, we default to showing just Posts and there isn't a way to view content across all post types. This is because historically we were requesting content from a post type specific endpoint, so it was impossible to get content across multiple post types. But with the changes introduced in #811, we can now show content from across all supported post types, mirroring how we do this for Internal Connections.

One thing to note here is if you are on an External Connection that has had no content pulled or skipped yet, we utilize the old approach to grabbing content, from a post type specific endpoint and not the new endpoint introduced in #811. So that will need to be addressed here to fully support his new feature.

Screen Shot 2022-03-08 at 4 17 06 PM

Code of Conduct

  • I agree to follow this project's Code of Conduct
@dkotter dkotter added the type:enhancement New feature or request. label Mar 8, 2022
@vikrampm1 vikrampm1 moved this to Incoming in Open Source Practice Mar 9, 2022
@jeffpaul jeffpaul moved this from Incoming to To Do in Open Source Practice Mar 10, 2022
@jeffpaul jeffpaul moved this from To Do to In Progress in Open Source Practice May 4, 2022
@jeffpaul jeffpaul added this to the 1.7.0 milestone May 4, 2022
@chigozieorunta chigozieorunta self-assigned this May 4, 2022
@jeffpaul
Copy link
Member

Noting that https://github.com/10up/distributor/tree/feature/861 may be a good start on this, so we'll want to credit @chigozieorunta once this issue gets resolved.

@peterwilsoncc
Copy link
Collaborator

As work in beginning on Distributor 2.0.0, I've moved this enhancement off the 1.7.0 milestone to allow the point release to focus on bug fixes.

@mehul0810
Copy link
Contributor

@jeffpaul I have worked on this with the branch https://github.com/10up/distributor/tree/feature/861, tested the functionality and created a PR which is ready for review.

@ankitrox
Copy link

@mehul0810 This PR is also there, please check if there's something you can spot or helpful.

@jeffpaul jeffpaul moved this from 🆕 New to 🏗 In progress in Distributor 2.0.0 Feb 1, 2023
@peterwilsoncc peterwilsoncc modified the milestones: 2.0.0, 2.0.1 May 24, 2023
@peterwilsoncc
Copy link
Collaborator

I've moved this to 2.0.1 as the REST API endpoint this relies on will be getting modified in 2.0.0.

@jeffpaul jeffpaul moved this from To Do to In Review in Open Source Practice Jun 29, 2023
@Sidsector9 Sidsector9 moved this from In Review to In Progress in Open Source Practice Jul 13, 2023
@peterwilsoncc peterwilsoncc modified the milestones: 2.0.1, 2.1.0 Sep 19, 2023
@mehul0810
Copy link
Contributor

@jeffpaul I have reviewed and updated the PR to achieve the functionality as mentioned in the issue. Can you please review?

Also, I noticed that some GH actions for E2E are failing saying no report files. Are we aware of that? If not, we need to tackle that in separate issue. For ref: https://github.com/10up/distributor/actions/runs/9710975272/job/26802811307?pr=1002

PR: #1002

@jeffpaul
Copy link
Member

@peterwilsoncc probably worth reviewing #1002 and #1003 on this feature to determine optimal path forward.

@peterwilsoncc
Copy link
Collaborator

@jeffpaul I've reviewed #1002 and I it looks to work with the various rest api changers. There are some similarities between the two pull requests so I think it wise to credit the authors and participants of each on the merged PR.

@github-project-automation github-project-automation bot moved this from In Progress to Done in Open Source Practice Jul 30, 2024
@dkotter dkotter modified the milestones: 2.1.0, 2.0.5 Aug 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment