Comments (5)
This is a tricky one, as the dashboard can't decrypt any URLs. Something similar happens with the wptUrl
property. When that's encrypted, we can't display the filmstrip view (see here). I think this just needs to be acknowledged and documented: when using encrypted URLs, links to PageSpeed can't work.
from speedtracker.
I absolutely adore the feature, and could see envelope encryption being used to deliver the secret to the UI if there's ever an admin section.
Until then, could you point me to any docs you'd like updated, @eduardoboucas, and offer me your thoughts on running a RegExp in the UI to look for TLD before offering activatible targets (Idea here is to keep everything discoverable, but obviously suppressed for security, and hinting to the user why or why not they can/can't take action)?
This might be an opportune time to consider a backwards compatible way to work in wpt_url
Re: naming conventions in #58.
from speedtracker.
At the moment, we're simply hiding the filmstrip view altogether when the URL is encrypted (we don't use a RegExp, just check to see whether the string starts with http
). The only place this is documented is in the default profile. Perhaps it should be documented somewhere in the documentation page? I feel that page needs some TLC anyway.
As for hinting the user why they can't take action, not sure what's the best way to do that. Perhaps in the label that sits below the chart where we explain that they can click on a data point to view the page, we can explain that they COULD do that if their URL wasn't encrypted?
Re. changing wptUrl
to wpt_url
, I'm all for consistency, but I'd really like to avoid changing things here. Even if we keep accepting wptUrl
for backwards-compatibility (until when?), it still means a potential merge conflict when people update their dashboards by just issuing a PR from the base to their fork via GitHub UI. For example, at some point I wanted to change the default SpeedIndex budget but ended up reverting for this reason.
from speedtracker.
Will close after digesting your thoughts, @eduardoboucas. I have an engagement coming up later this week I'm prepping for, but I won't let this stagnate too long. Cheers.
from speedtracker.
At the moment, we're simply hiding the filmstrip view altogether when the URL is encrypted [...].
You sure about that? Just about every site I'm encrypting has a filmstrip view, e.g.
http://speed.habd.as/habd_as-cable/?period=month (shows filmstrip)
https://github.com/jhabdas/speedtracker/blob/master/_profiles/habd_as-cable.html#L31 (shows profile is encrypted)
Let me know and I'll open another issue.
As for hinting the user why they can't take action, not sure what's the best way to do that.
Tooltip. Simply replace the text and hint where the existing text lives when URL is encrypted.
Re. changing wptUrl to wpt_url, I'm all for consistency, but I'd really like to avoid changing things here
Fair enough. It's really just a matter of rebasing properly, which I understand isn't the easiest thing for people to wrap their heads around.
from speedtracker.
Related Issues (20)
- Inaccurate Google Pagespeed results HOT 2
- Deep linking to historical reports HOT 2
- No repeated tests
- Increase visibility
- Display monthly average load time when period is year
- Delete incorrect measures (outliers) HOT 3
- Tests not running as scheduled HOT 2
- Graphs showing no data despite tests running for 3 months HOT 4
- Add custom Headers to the test
- Is it broken? Or did I not set it up right? HOT 3
- Internal Server error when using special characters in encryption key
- Use with BitBucket? HOT 1
- Don't get automatic updates HOT 1
- Content breakdown as metric
- Running test with scripts
- Application error when running test HOT 4
- Innacurate Google PageSpeed results
- All tests are blank
- Speedtracker test bot is down since 2019-09-19 HOT 2
- No test is running since 2021 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from speedtracker.