IBM / page-lab

PageLab enables web performance, accessibility, SEO, etc testing at scale.
Apache License 2.0
19 stars 10 forks source link

Teach users that not all pages are monitored, and how to request that a new page be monitored #34

Closed amfred closed 6 years ago

amfred commented 6 years ago

We need to be able to see how different sets of pages are performing over time. PageLab can scan and keep data on thousands of web pages, but it can't scan the entire Internet. We need to have a simple way for end users to understand that some URLs are not monitored, and to learn how to request that new pages be monitored. This user feedback will help each Page Lab owner monitor the most important web pages.

Acceptance Criteria: 1) Add documentation explaining how to request that a new page be added to the list of pages my Page Lab instance is monitoring. 2) If I search for a specific web page URL and it's not currently being monitored, or if any of my searches come back with no results, show a message explaining (briefly) that the page(s) is not being monitored, and explain how I can request that it be added. 3) Sanitize all data on input and HTML-escape the data on output, for security purposes.

ecumike commented 6 years ago

This can currently be done via "pages" which is already setup in the app. Each implementation can at minimum already add whatever Django pages they want, including one that describes what URLs that implementation tracks, how to add new ones, remove ones, etc.

I don't think there's anything to do here for this Open Source project since it already contains all of this functionality: You can make your own Django pages on your implementation, and you simply add a URL via the built-in Django admin.

amfred commented 6 years ago

So your recommendation is to extend an internal open source fork of the project to have information o how to request that new pages be monitored? I can buy that.

I'll start a different thread for the internal version.

daviddahl commented 6 years ago

So your recommendation is to extend an internal open source fork of the project to have information o how to request that new pages be monitored? I can buy that.

No. Not at all.

We are using this: https://docs.djangoproject.com/en/2.1/ref/contrib/flatpages/ to handle CMS-like pages inside the app.

Go ahead and provide us a page title, description and HTML content and we can add the page to the running instance

The admin UI looks like this: selection_165

ecumike commented 6 years ago

@amfred maybe you misunderstood me. The app already has Django page setup and pages will show in the menu bar at the top of your app. If you install the app locally and look in the Django admin you will see the pages admin.

amfred commented 6 years ago

I'm closing the Github issue and we'll track the page creation with an internal RTC story, 109041. It's a few stories down on the TODO list, not the highest priority.