PolicyStat / ckeditor-plugin-autoid-headings

Plugin to support automatic ID creation for headings
MIT License
0 stars 0 forks source link

Viewer plugin implementation/rollout metaticket #12

Open caffodian opened 7 years ago

caffodian commented 7 years ago

It's now just more than an anchor! See the trello card.

https://trello.com/c/Nix6tjpH/31-editor-automatic-hyperlinkable-headings

Document issues/PRs used to actually implement the thing here.

caffodian commented 7 years ago

TODO

caffodian commented 7 years ago

I realized I hadn't actually given anyone repo permissions.

I actually don't think this is that far away - really we just need to coordinate a bit on figuring out the design stuff. And I need to stop getting tempted to over-complicate the widget templating. There is no good reason for it to be a component

caffodian commented 7 years ago

@janasoroczak @winhamwr the TODO list above is my current take for what we need to actually do still. If i missed anything please feel free to let me know. We can coordinate the design and any additional stuff after standup tomorrow.

caffodian commented 7 years ago

Revisiting the clipboard stuff:

Zeroclipboard:

Clipboardjs:

If i have mentally parsed this correctly, the only advantages of using ZeroClipboard would be IE8 with Flash and Safari with Flash.

jms21852 commented 7 years ago

@caffiodian What sort of prompt does Clipboardjs give on IE11? (As IE11 users account for 80% of our traffic)

caffodian commented 7 years ago

This guy: http://superuser.com/questions/476210/disable-do-you-want-to-allow-this-webpage-to-access-your-clipboard-message

jms21852 commented 7 years ago

@caffodian Seems like Zeroclipboard is the better way to go. For browsers that have Flash disabled and on Safari, is there a way to hide the heading links altogether? Ideally if it's not going to work for them, better to hide it rather than show them a broken something that they cannot access.

caffodian commented 7 years ago

summarizing our hangouts discussion:

@janasoroczak this is your requested reminder to update the mockup :)

winhamwr commented 7 years ago

With the current design, is there anything I can click that will "navigate me" to the link? That's how I use the sphinx links and it's very efficient (for technical-ish) users. Not a must-have, but if we can incorporate that, I think it would be beneficial.

It provides a sense of transparency, I think. The user clicks the link, and their browser moves. If they were unsure exactly what the link did, that gives a visual demonstration.

jms21852 commented 7 years ago

@winhamwr If the primary purpose of this functionality is to share, they're most likely going to then be pasting that link into an email, a chat, another browser window that's already open, another policy, etc. rather than open a link to the page they're already viewing.

caffodian commented 7 years ago

Some potential pre-launch things:

I feel like 3rd is mostly pointless and minimal performance impact, but first and second are pretty annoying

caffodian commented 7 years ago

I also see the spec actually does have the "feedback when actually copied" thing. :)