-
Notifications
You must be signed in to change notification settings - Fork 85
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
chore(directives): add docs #5665
Conversation
|
||
Tooltip directive based on [v-tooltip](https://github.com/Akryum/v-tooltip). | ||
|
||
Note: it's preferred to use [native HTML title attribute](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/title) instead for accessibility. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should we deprecate it?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I dunno, to be honest ⚆_⚆
In theory - yes, because we migrated everywhere in nextcloud-vue already to title
. But apps are still using it also because of visual result.
Maybe we should re-check this rule.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
But we can do it after merging docs for already created and not yet marked deprecated directives 👀
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes sure :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Needs a rebase though
Rebased onto |
Signed-off-by: Grigorii K. Shartsev <[email protected]>
Fixed SPDX comments in new files |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks legit
content: 'docs/directives/focus.md', | ||
}, | ||
{ | ||
name: 'Linkify', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd love to see component documentations in separate files as well, to keep SFC clean, but something for later maybe
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Or at least move it to the end of the file, not the top 🥲
/backport to next |
☑️ Resolves
🖼️ Screenshots
New docs
Directives usage
Focus
Linkify
🚧 Tasks