Devographics / surveys

YAML config files for the Devographics surveys
40 stars 8 forks source link

State of CSS 2023 Questions Feedback #84

Closed SachaG closed 1 year ago

SachaG commented 1 year ago

You can now preview the upcoming 2023 edition of the State of CSS survey:

https://survey.devographics.com/en-US/survey/state-of-css/2023/

We will be accepting feedback for a 1-month period until the end of May, and then field the survey (start collecting answers) after that.

Here are the new changes @huijing and I have added so far:

Kilian commented 1 year ago

new colors look great!

That's it, looking good!

argyleink commented 1 year ago

some ideas!

SachaG commented 1 year ago

Thanks for all the great suggestions! A quick note about something:

Gap for flexbox has been generally available since early 2021, should it still be included?

Talking with @huijing (who is the lead survey designer this year btw), we decided to keep a few "easy wins" in the survey, because if we only ask about cutting edge features it creates the experience of clicking "I don't know this" over and over again for the average respondent, which is pretty bad for morale…

SachaG commented 1 year ago

https://keithjgrant.com/posts/2023/04/scoped-css-is-back/

huijing commented 1 year ago

For now, we will be leaving off @scope because it's really early days, given it's still under an experimental flag in Chrome and not in other browsers.

Research notes

SachaG commented 1 year ago

Good post about linear(): https://fullystacked.net/posts/linear/

foolip commented 1 year ago

My feedback:

I can't proceed beyond CSS Frameworks in the survey, when trying to continue to CSS-in-JS I get "client_data_validation_error: Encountered an error while validating client data during update".

SachaG commented 1 year ago

Sounds good, I think we can leave out text-box-trim for now then. As for color-contrast(), it's already been included for a couple years so I think we can leave it, as I don't want to remove something and then have to add it again in the future. I've fixed the other issues.

foolip commented 1 year ago

Ah, I didn't realize color-contrast() was included in the past. I agree about keeping it since it will eventually ship everywhere I think.

argyleink commented 1 year ago

I agree about keeping it since it will eventually ship everywhere I think.

it's been renamed to contrast-color() and I'd recommend not listing it as it's not likely to ship anywhere soon. it's got a few big issues that need resolved before it can move forward.

it did get prototyped by chromium and safari tho, so it felt near, but it's regressed heavily in the spec process. DM me if you want more details.

SachaG commented 1 year ago

OK, if it's been renamed we can remove it and re-include it under the new name when it's ready.

rachelandrew commented 1 year ago

Just a few comments on the draft:

The definition of subgrid isn't really accurate, as it's not about nesting grids. A better definition might be "Inherit the track number and sizing from the parent grid into a nested grid."

@container should we separate size and style queries? I imagine when people think about container queries they are thinking size.

"Intrinsic sizing", I think this should be "Intrinsic sizing keywords" as there are other places you might be using intrinsic sizing without using the keywords specifically.

SachaG commented 1 year ago

@rachelandrew thanks for the feedback!

foolip commented 1 year ago

More feedback:

foolip commented 1 year ago

The Browser Incompatibilities question is the most important one for Interop 2024 planning, and I'm worried that it's mostly features we already know about, with not much opportunity for new things to surface. Comments on some specific features listed:

I think freeform answers is probably preferable, even though it's much more work to analyze. With a prepopulated list I suspect there will be much fewer "other" pointing to things not in the list, and importantly there's also no way to compare the importance of the features that are on the prepopulated list to the ones entered as "other".

romainmenke commented 1 year ago

Under color :

Gradient Color Spaces

Can we pick a consistent name for this feature?

I don't think people will know it if the name is different everywhere :)

Should this also ask about the hue interpolation method? longer|shorter|increasing|decreasing hue


The CSS nesting question seems to showcase an outdated specification where @nest still existed.

Screenshot 2023-06-01 at 18 10 34

The tools list seems a bit outdated?

I am biased here, so please do your own research. But I would like to see things like :

I don't see why something like purify-css, which doesn't seem widely used, is included here.

https://www.npmjs.com/package/purify-css?activeTab=versions

What is ACSS?
I tried googling acss css tool but I did not find a single obvious result. Is it atomizer? or automatic css or ...

SachaG commented 1 year ago

The Browser Incompatibilities question is the most important one for Interop 2024 planning, and I'm worried that it's mostly features we already know about, with not much opportunity for new things to surface.

@foolip I think there's a set of features that are people not using because they think browsers don't support them, when in reality they are supported (I would say even grid and flexbox might fall in that category).

So I agree we don't want to keep these features in too long otherwise it just propagates that misconception, I've removed the ones you pointed out.

And I agree a freeform field would bring in a more diverse set of answers, but I think predefined options are better for the vast majority of respondents, who will probably just answer :has(), @container, etc. instead of more exotic features. So I'd rather just add more items to the predefined list if you think anything is missing?

SachaG commented 1 year ago

@romainmenke

romainmenke commented 1 year ago

Happy to adopt any naming for Gradient Color Spaces, it's hard to pick a name when there's no MDN page yet. Is this the same feature?

Yes that is the same feature, but that is likely sourced from BCD.

I don't want to take this thread of topic with bikeshedding. So unless there is an obvious candidate that can be used consistently everywhere, maybe best that I open a new issue for this specifically?

SachaG commented 1 year ago

That's fine, I think Interpolation Color Spaces is probably the best name for now.

foolip commented 1 year ago

So I'd rather just add more items to the predefined list if you think anything is missing?

@SachaG the challenge is that the most interesting data is the answers we can't already predict. I think a somewhat common solution to this is a pre-study, but we're not doing that here.

But let me review the list again alongside the freeform responses from last year and see if anything is missing in my estimation.

Another "trick" here might be a much shorter list that only covers the known top 3, so that survey takers are nudged more towards the "other" option. Could that make sense, have you tried that elsewhere?

atopal commented 1 year ago

@argyleink , had mentioned it already, but can we add view-transitions? There is one shipping implementation and anecdotally a lot of interest.

huijing commented 1 year ago

@argyleink , had mentioned it already, but can we add view-transitions? There is one shipping implementation and anecdotally a lot of interest.

We are including it in this year's edition.

foolip commented 1 year ago

For Browser Incompatibilities, I've gone back to https://github.com/web-platform-tests/interop/issues/248 (underlying data) and checked for missing things. I would say:

However, I'm still nervous about changing the question type. I was able to make use of the long tail answers around 1% in https://github.com/web-platform-tests/interop/issues/214#issuecomment-1311482159 and assume we'll have less of this given predefined options.

SachaG commented 1 year ago

To sum up the pros and cons:

Freeform only

Predefined Options + "Other…"

My two cents: we should try Predefined Options + "Other…" this year, and if the results prove less usable than last year's freeform-only version we can always switch back for 2024.

My suspicion though is that any feature that is significant enough to be considered as part of the interop process will make it into the dataset anyway, even with the lowered visibility of the "other…" field compared to the freeform-only field.

foolip commented 1 year ago

I think the participation is the strongest argument for this change. https://2022.stateofcss.com/en-US/usage/#interoperability_features_freeform had 1701 responses, which feels like a lot when reading through all of the responses, but it's only ~12% of survey takers.

So even though I'm still worried how predefined options can affect the results, I can get behind trying it and evaluating. In the best case, we'll get significantly higher participation and maybe even more "other" freeform than before. It's worth a shot!

shhaine commented 1 year ago

I cannot navigate to the next page smoothly at times. Red bars appear on the lower right part (See image). It use to say there error.undefined. Whenever I encounter that, I'd have to refresh but my initial answers disappear.

Screenshot 2023-06-09 at 4 13 41 PM
SachaG commented 1 year ago

Oh, that means there's an error during the save process, I'll look into it.

SachaG commented 1 year ago

@shhaine are you taking the survey with an account, or as guest? also is this happening on all the pages, all the time, or only some of the time?

shhaine commented 1 year ago

I am taking it as a guest only. Ceases to happen after a few refreshes. But happens again the next time i visit.

SachaG commented 1 year ago

Hmm, I have not been able to recreate the issue so far, but I'll keep trying.

shhaine commented 1 year ago

Just checked it. It still happens. How to possibly reproduce:

  1. Answer the first question on Subgrid
  2. select shapes & graphics button on the lower right part to progress to the next page.

The red bar appears.

SachaG commented 1 year ago

Could you

1) give me the full URL (including the ID parameter) that this is happening on? 2) try again but with the devtools network tab open, and let me know what the saveResponse request's status (200, 500, 405, etc.) is and what that request's Response tab says?

Screenshot 2023-06-13 at 17 41 47
shhaine commented 1 year ago
Screenshot 2023-06-13 at 5 01 32 PM Screenshot 2023-06-13 at 5 02 46 PM Screenshot 2023-06-13 at 5 04 27 PM
SachaG commented 1 year ago

Hmm, I still don't know what the issue is but I tried to at least improve the error reporting so that it doesn't just show an empty red box.

shhaine commented 1 year ago
Screenshot 2023-06-13 at 5 55 02 PM
shhaine commented 1 year ago

It works now, @SachaG!

shhaine commented 1 year ago

By any chance @SachaG can respondents save their responses and continue at a later time? I am coming from the summary of constructive feedback from #63, where 4.4% suggested to make it shorter. Not sure if the team indeed was able to reduce the number of items but aside from saving their responses to continue later (suggested by 0.7%), it might also be helpful to indicate on the landing page the estimated time it needs to get the survey done.

SachaG commented 1 year ago

Yes responses are saved every time you navigate to another page. I will add a message that indicates that.

shhaine commented 1 year ago

Landing page

shhaine commented 1 year ago

Percent completion

Comments on not getting satisfied since completion rate is left at say 70% when in fact they chose to skip 30% because they are optional anyway. This is related to many other concerns. Address this by implicitly making the questions required through

GGG-eee commented 1 year ago

In addition to Shaine's feedback, the current choices would also make the developers on edge to answer if they would like to learn or not. Probably having some kind of a "neutral" option would be great like "Heard of it > Not yet decided" or something much better.

Also would be useful to separate "Never heard of it/Not sure what it is" as I think they are two different things

shhaine commented 1 year ago

Clear Intent

Being more intentional in this part of the form:

Screenshot 2023-06-14 at 7 35 18 PM

By "Tell us more about your choice", what do we really want to know about? Say, do we want to ask if there is anything to improve on the feature based on your experience?

This will make it easier for the respondents to answer. Furthermore, it will be easier for us to analyze.

SachaG commented 1 year ago

In addition to Shaine's feedback, the current choices would also make the developers on edge to answer if they would like to learn or not. Probably having some kind of a "neutral" option would be great like "Heard of it > Not yet decided" or something much better.

Just a note that we will probably not modify this set of options as we can only do year-to-year historical comparisons if we preserve the same wording and the same option set.

jsnkuhn commented 1 year ago

Would be useful to see a gauge of interest on corner-shape. Not sure what the requirements are to be added to survey though.

https://drafts.csswg.org/css-backgrounds-4/#corner-shaping

SachaG commented 1 year ago

Thanks all for your feedback! The survey is now live!

https://survey.devographics.com/en-US/survey/state-of-css/2023

(As always, any help with sharing the news is much appreciated!)