Comments (4)
@jamesozzie I've tried to reproduce your situation but there is definitely something else going on here. View only users should be able to select any of their own metrics when dashboard sharing is enabled. I am able to see the "Add a metric" CTA tile when logged in as a view only user.
![ViewOnlyDashboard](https://private-user-images.githubusercontent.com/1721319/331870115-baee6069-e490-4999-8d83-2ce4e7d3d08c.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTg5NDAwNTYsIm5iZiI6MTcxODkzOTc1NiwicGF0aCI6Ii8xNzIxMzE5LzMzMTg3MDExNS1iYWVlNjA2OS1lNDkwLTQ5OTktOGQ4My0yY2U0ZTdkM2QwOGMucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDYyMSUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA2MjFUMDMxNTU2WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9NzNmOGQxODBmMWI2MjQxZTUyMGYxMGU1N2U3NWU2MWI1MTA1YTY3MTA4MTk1YWRhNjA2MDBlNTJjNTExMGRiYyZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.mVmlaUF3vpoLOFi9o0lSwFqwrzhlOqaEy0H5biK15p4)
from site-kit-wp.
View only users can select their own metrics via the "Change metrics" link only in my case, but without any "add a metric" box. Tested this on two sites today. Happy to jump on a call. I also sent you an "editor" profile login so you can view this issue on a live site @jimmymadon.
from site-kit-wp.
ACs here make sense, I think this should be fixable by setting the module to be Analytics instead, as long as that won't break things for users who only have Search Console shared. If not I guess it needs to be an OR
type thing, which might be more complicated (unless we already have that and I forgot 😅).
Moving to IB 👍🏻
from site-kit-wp.
@jimmymadon The approach here will work, but thinking about it, it seems to sort of "hide" the intention of the modules attribute there. We don't really want/need to register those widgets if neither module is available, and that's helpful context to have in the code. (Otherwise we would just rely on isActive
checks for all widgets. 😅)
I guess given there's the isActive
check here though it's fine, and I'm probably overthinking it.
Maybe it'd be nice to add a check for at least one of either Search Console or Analytics being active in the isActive
check, but I don't think it's needed. It just makes it a bit easier to grok the intent of the code, but functionally it won't matter 😄
IB ✅
from site-kit-wp.
Related Issues (20)
- Release 1.129.0 HOT 7
- Use git lfs for reference images
- Console error: Cannot read properties of undefined (reading 'hasClass')
- Scroll to the Audiences Widget Area from the Setup Success Notice
- Scroll to the Audience Segmentation Settings section when navigating there from links on the dashboard
- Only render the Audience Segmentation Setup CTA when Analytics is connected
- Clear the "temporarily hidden" state for an audience when it's removed from the audience selection
- Revise Audience Segmentation component names/locations for consistency
- Use the `useInViewSelect()` hook where applicable in the Audience Segmentation feature
- Syncing audiences and custom dimensions in parallel can result in the cached audiences not being persisted
- Add Tracking To The Conversion Tracking Toggle HOT 2
- Update the design of the Key Metrics setup CTA banner.
- Use the correct title font for the Consent Mode Setup CTA Banner HOT 1
- Release 1.130.0
- E2E failing on WP Nightly (6.6) HOT 1
- Ads setup CTA appears immediately after connecting SK HOT 2
- Upgrade remaiming GitHub Actions to Node 20
- `validateHaveSettingsChanged` Should Be Updated To Align With Existing Semantic Convention HOT 7
- Rename the `Migration_Conversion_ID` migration to `Migration_1_129_0` for consistency
- Prevent Selection Panel Info Notice from disappearing until two audiences are selected
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 site-kit-wp.