-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
State of HTML 2024 Preview #246
Comments
Was wondering if we could add the following topics to the State of HTML survey EditContext (under Forms)
|
@tayloregivens if Also is the Web custom formats link correct? I couldn't find a reference to that term on the MDN page. |
For web custom formats on the linked page it has a statement describing what web custom formats are "Custom MIME-type formats starting with "web ". The custom type (without the "web " prefix), must have the correct formatting for a MIME type." However, this is a more comprehensive blog post describing web custom formats. |
highlightsFromPoint isn't implemented anywhere, but we were wondering if we could add a section such as feature proposals or feature explainers to get developers input on. We can share more information and a description of our thoughts for highlightsFromPoint to include in the survey. |
I think so, especially if we can get at least 4-5 features together to make up an "upcoming features" section? Maybe ask developers to pick their favorite top 3 out of the list? |
I like that. I can go through to see if there are other features we'd like to ask about. For highlightsFromPoint we're currently working on an explainer for it, would that be valuable to link? I also could share a summary paragraph and some sample code describing the basics of the feature. When would be the deadline for sharing this stuff with you since I know you're planning on releasing the survey soon. |
I'd also like to hear more about your vision for the "upcoming features section". Instead of ranking the top 3 features, receiving individual feedback on the highlightsFromPoint API would be the most beneficial. I've also identified some other "upcoming features" that could be included, but they're not as crucial. We're happy to follow the structure you think would be best. Some options could be listing upcoming features in their respective categories with a "Not implemented in the browser label" similar to the option, or adding a new section titled "Upcoming Features" with several miscellaneous features. |
My goal was to open the survey on September 10 but I think I will probably end up pushing that date back a bit since I'm travelling on the 8th and will need a couple days to get things ready after that.
I think what's tough about that is that I assume most people won't be that familiar with it… So the question itself would probably need to explain the concept? How do you envision it? Obviously this kind of in-depth question wouldn't be scalable for every topic covered in the survey, but we could try it as a one-off to see what kind of data we can collect? For example, for the JS survey, I am considering including a question about native type support of the form:
Is that what you have in mind? |
This could be something like:
|
See updated version here: https://survey.devographics.com/en-US/survey/state-of-html/2024 |
Considering adding an "Opinions" section with the following questions (where people check "agree", "disagree", etc.):
The goal would be to keep these same questions for future years as well so we can track how these trends evolve over time. |
For highlights from point our goal is to
Our vision would be a question that includes a paragraph blurb explaining the API and a small code snippet. Then listing the questions below. Is this something you feel like you need? Do you like the design of this API Any Other Comments? |
Could you draft the question then, and I'll consider it? Because I don't know enough about that API to do it myself… |
Besides the highlightsFromPoint API. I also just wanted to confirm that the rest of these items we're also added to the survey. EditContext (under Forms) |
My bad, I see that you have included these on the survey preview. Thank you! We have some suggestions on how the descriptions and code samples could be improved. Custom Highlight APImore comprehensive code sample: const parentNode = document.getElementById("foo"); EditContext:Description: Build rich text editors on the web that support advanced text input experiences, with the flexibility to render your own editable text region using any technology you want. The code sample could be: CaretPositionFromPointcode sample: |
The Custom Highlight API sample is probably too long to include (also can't really mix languages right now) but I'll add the others. |
Another question idea:
|
OK, I added a few more questions in the "Other Tools" and "Opinions" sections. I think we're pretty much good to go! https://survey.devographics.com/en-US/survey/state-of-html/2024/ |
I think the highlight API sample needs to at least add the range to a Highlight object and set that into CSS.highlights. As currently written, the sample is just creating a DOM range, not a highlight. |
I like this! Maybe could add blog posts (PCMag, Microsoft Edge Dev, Chrome for Developers blog) |
Draft of HighlightsFromPoint API Question "Developers have expressed interest in leveraging the custom highlight API to build interactive highlight experiences, such as changing the background color of a highlight or showing a dropdown menu next to a highlight. To support such use cases, we are proposing the highlightsFromPoint API that will identify highlights that interact with a user interaction like a click or a hover." Is this something you feel like you need? (I need this, I might need this, I don't care) |
OK, I'll update it.
My goal was more to highlight non-commercial community resources, I don't think PCMag would really fit for example. But we can see what other answers people provide.
I really appreciate your work on this but I think it's probably too in-depth for the survey after all… It's tough to ask people to learn about and understand a new API in the middle of answering questions, it might take them out of the flow of the survey. Maybe for next year we can find a more streamlined way to get that data? |
Also, the survey is now live! Thanks for all your help and feedback! https://survey.devographics.com/en-US/survey/state-of-html/2024/ (As usual I'll leave it open for a couple days to get people to beta-test it before emailing our entire list – also, if you share it please use a |
Previous Discussion
Preview
The text was updated successfully, but these errors were encountered: