-
Notifications
You must be signed in to change notification settings - Fork 58
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
Note Taking: New Note URL field #648
Comments
Hi there, I see this was in a milestone for last week. Was it discussed at all? |
I never really think that is overkill. On the other hand this feature feels quite specific and could mean an inflow of similar specific features so I definitely think that an explainer is in place that explains why this warrants a special manifest entry? Also, I assume that note taking might differ from where it is instantiated within a site or single page app, so how can people do that? Is any state send to the new page (like with web share target) or maybe this makes more sense as a meta tag that can be changed, or replaced per subpage? Such things could be discussed in an explainer. |
Thanks for the reply. I've put together a draft explainer here (now in review). It's mostly just the discussion on w3c/manifest#965 that tries to clarify the pros and cons of doing something general vs specific. The URL is launched in the same way as the start_url, so it is controlled by the existing display settings in the manifest. No extra state/data is sent with the request, but it would be simple to add that later. I have noted these points in the explainer. |
Thanks! Hope we get to look at this soon, but expect delays as people in Europe are starting to go on vacation |
Thanks for the explainer @phoglenix! I've put it on the agenda for next week. @marcoscaceres what is the trajectory for manifest incubations like this? Do they eventually become manifest extensions in webapps? |
Hi @phoglenix we took another look at this proposal today. I hope we have the right explainer linked above. The one you posted was already missing. Reading through that explainer was hard to understand what the user needs are and how/why this capability will address them. Can you elaborate on these and ideally add them directly into your explainer? |
I tried to summarize the user benefit in a tweet. Maybe it is clearer then? |
Sorry, the PR for the explainer was merged into manifest-incubations. You found the correct one. Yes, as @tomayac summarized, the user benefit is tighter (any, really) OS or UA integrations with the note-taking web app. With the current fields the UA can know "this is a note-taking app" and "this is the URL tocreate a new note in the note taking app". What they do with those fields is up to the UA, but possible examples are given at the top of the explainer: the note-taking app could be launched from keyboard shortcuts, OS buttons/tray, customisable keyboard keys, voice assistants. These launcher surfaces exist already, they just do not currently support web apps. As a concrete example, on Chrome OS note-taking web apps will be shown in the OS stylus tools settings alongside other note-taking apps, can be selected there as the main note-taking app, and then a new note can be created from the stylus tools palette (which launches the new_note_url). I'll update the explainer with a little more about the user needs / benefit. |
Per comments on TAG review about lack of understanding of user needs / how this will solve them. w3ctag/design-reviews#648
* Clarify note-taking explainer w.r.t. integration, multiple apps Due to questions that came up on I2S email Add more motivation to overview section, per comments on TAG review about lack of understanding of user needs / how this will solve them. w3ctag/design-reviews#648
Hi, are you waiting on me for anything here? I have updated the explainer as mentioned above. |
Thanks for the explainer. Looking at the future considerations section, I am wondering whether this is flexible enough. Why does creating a new note have to result in a URL change? I could imagine a canvas app, where I would just add a graphical overlay (post it notes) on top. Could this be a global event instead where you give the options (including future ones) as part of the event details? It doesn't look like you considered this. We would like to hear your thoughts on this. |
The API actually serves two (closely-related) purposes: it provides a way for an app to be launched to take a note, and it provides a way for an app to declare its capability as a note-taking app. I don't think an event covers either of these two cases quite as well, or it would need to be paired with a manifest field anyway to declare these capabilities (which seems more complex and error-prone). Launching: Declaring Capabilities: So I believe the URL declared in the manifest is a better approach. If that sounds reasonable to you I'll update the explainer to mention these points. |
@phoglenix that is a lot of good content, makes a lot of sense. Do you mind to add some of this to the explainer? |
Will do! |
Adding to Note-taking explainer: per [TAG review feedback](w3ctag/design-reviews#648 (comment)) - Use of Declarative Link Capturing to customise launch from URL - Reasons for not choosing Event-based API alternative
Adding to Note-taking explainer: per [TAG review feedback](w3ctag/design-reviews#648 (comment)) * Use of Declarative Link Capturing to customise launch from URL * Reasons for not choosing Event-based API alternative * replace "Declarative Link Capturing" refs/links with "Launch Handlers"
Done |
@kenchris and I looked at this again during our Gethen vf2f. Given that all comments and feedback has been addressed we are happy to close the review as satisfied. Thank you for working with us and good luck. |
Kia Ora TAG!
I'm requesting a TAG review of note_taking: { new_note_url }, fields being added to the web app manifest.
eg. manifest.json
Web apps lack a semantic way of declaring and defining note-taking capabilities. This specification adds a new
note_taking
object member to the web app manifest, where note-taking capabilities can be added. It also adds the first such note-taking capability: anew_note_url
field in thenote_taking
object: a URL within scope that can be used to launch the web app in order to take a new note.Further details:
We'd prefer the TAG provide feedback as:
🐛 open issues in our GitHub repo for each point of feedback and @-notify phoglenix
The text was updated successfully, but these errors were encountered: