extensions icon indicating copy to clipboard operation
extensions copied to clipboard

Add pagespeed extension

Open vorillaz opened this issue 1 year ago β€’ 31 comments
trafficstars

Description

A simple Raycast extension that monitors PageSpeed insights for websites based on page-speed.dev.

Screencast

https://github.com/raycast/extensions/assets/1022166/153d9d68-440a-4970-894c-02ed18db5c09

Checklist

vorillaz avatar Feb 18 '24 13:02 vorillaz

Congratulations on your new Raycast extension! :rocket:

We're currently experiencing high demand and limited capacity. As a result, extension reviews might take longer than usual to get the initial review. Please expect an initial review within 5-10 business days.

Once the PR is approved and merged, the extension will be available on our Store.

Sorry for the inconvenience

raycastbot avatar Feb 18 '24 13:02 raycastbot

Hi @pernielsentikaer, thanks a lot for the feedback. I can make the change really easily, if you think that's the best way to go I'll can do so, just let me know.

vorillaz avatar Feb 22 '24 12:02 vorillaz

If you want to keep it in one view, then you could do something like how this extension is doing it by using a List.EmptyView to add it

What do you think of that (or the previous mentioned)

pernielsentikaer avatar Feb 22 '24 13:02 pernielsentikaer

This pull request has been automatically marked as stale because it did not have any recent activity.

It will be closed if no further activity occurs in the next 7 days to keep our backlog clean 😊

raycastbot avatar Mar 07 '24 14:03 raycastbot

Are you still around @vorillaz

pernielsentikaer avatar Mar 11 '24 08:03 pernielsentikaer

This pull request has been automatically marked as stale because it did not have any recent activity.

It will be closed if no further activity occurs in the next 7 days to keep our backlog clean 😊

raycastbot avatar Mar 25 '24 08:03 raycastbot

Hello @pernielsentikaer apologies for the super late reply, it has been a hectic period. I took some time and refactored the application to match the UX standards you've mentioned. Used a <Form /> component with individual submissions and a proper listing view.

Let me know your thoughts or considerations.

vorillaz avatar Mar 26 '24 13:03 vorillaz

I keep getting this error in the latest update, do you have an idea why?

pagespeed 2024-04-03 at 14 47 59

pernielsentikaer avatar Apr 03 '24 12:04 pernielsentikaer

Hello @pernielsentikaer for some reason the API is failing to parse the results for this specific domain, https://page-speed.dev/dr.dk

I am sure @danielroe can give you more insights, but the extension is properly fetching the results, it also works with short but valid domains. My gut feeling says that they might be restrictions from the domain owner blocking crawling requests.

vorillaz avatar Apr 03 '24 12:04 vorillaz

The issue is that there is a redirect in place from dr.dk -> www.dr.dk. We have an open PR to handle redirects so this should be resolved shortly.

danielroe avatar Apr 03 '24 13:04 danielroe

This pull request has been automatically marked as stale because it did not have any recent activity.

It will be closed if no further activity occurs in the next 7 days to keep our backlog clean 😊

raycastbot avatar Apr 17 '24 13:04 raycastbot

Are you waiting on me?

danielroe avatar Apr 17 '24 14:04 danielroe

Hey @danielroe I can't quickly patch the redirect issue if needed, pretty easy fix. @pernielsentikaer Any feedback will be highly appreciated, regarding the redirects I think it's irrelevant to the current PR.

vorillaz avatar Apr 17 '24 16:04 vorillaz

We can merge this into the store, but I hope the redirect issue could be resolved since it's a blocker for me using it and I think users will be confused too

pernielsentikaer avatar Apr 18 '24 08:04 pernielsentikaer

On it. πŸ‘Œ

danielroe avatar Apr 18 '24 09:04 danielroe

Updated and now deployed - page-speed will now follow redirects. Note that there may be other issues with dr.dk and Page Speed Inishgts in general.

CleanShot 2024-04-18 at 13 51 20@2x

danielroe avatar Apr 18 '24 10:04 danielroe

Here is the improved text:

Do we need any changes to the extension as well?

I tried the following list, but all of them failed:

pernielsentikaer avatar Apr 18 '24 11:04 pernielsentikaer

(The problem might have been be that there was no valid API data from Google for that particular domain when page-speed runs its test. See https://pagespeed.web.dev/analysis?url=https://www.dr.dk. It sporadically gives errors for me.)

API seems working for me now though: https://page-speed.dev/api/run/dr.dk...

danielroe avatar Apr 18 '24 11:04 danielroe

This pull request has been automatically marked as stale because it did not have any recent activity.

It will be closed if no further activity occurs in the next 7 days to keep our backlog clean 😊

raycastbot avatar May 03 '24 10:05 raycastbot

πŸ™

danielroe avatar May 03 '24 11:05 danielroe

Are you still around @vorillaz

pernielsentikaer avatar May 06 '24 06:05 pernielsentikaer

This pull request has been automatically marked as stale because it did not have any recent activity.

It will be closed if no further activity occurs in the next 7 days to keep our backlog clean 😊

raycastbot avatar May 20 '24 07:05 raycastbot

Hey @pernielsentikaer I’ve missed your comment due to flooding GitHub notifications. I am out of office so coming back to the changes ASAP in the upcoming weeks, it’s worth implementing the changes and finally merging everything

vorillaz avatar May 20 '24 16:05 vorillaz

This pull request has been automatically marked as stale because it did not have any recent activity.

It will be closed if no further activity occurs in the next 7 days to keep our backlog clean 😊

raycastbot avatar Jun 03 '24 18:06 raycastbot

πŸ™

danielroe avatar Jun 04 '24 06:06 danielroe

Did you look into this yet @vorillaz

pernielsentikaer avatar Jun 05 '24 07:06 pernielsentikaer

This pull request has been automatically marked as stale because it did not have any recent activity.

It will be closed if no further activity occurs in the next 7 days to keep our backlog clean 😊

raycastbot avatar Jun 19 '24 07:06 raycastbot

This issue has been automatically closed due to inactivity.

Feel free to comment in the thread when you're ready to continue working on it πŸ™‚

You can also catch us in Slack if you want to discuss this.

raycastbot avatar Jun 26 '24 08:06 raycastbot

😒

danielroe avatar Jun 26 '24 09:06 danielroe

@vorillaz do you still want to look into this?

pernielsentikaer avatar Jun 26 '24 09:06 pernielsentikaer