-
Notifications
You must be signed in to change notification settings - Fork 37
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
Various wording fixes #1080
Various wording fixes #1080
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,10 +12,10 @@ | |
<span | ||
class="material-symbols-outlined gn-ui-icon-small" | ||
[ngClass]="{ 'text-primary': !preview }" | ||
>{{ preview ? 'visibility' : 'visibility_off' }}</span | ||
>{{ preview ? 'visibility_off' : 'visibility' }}</span | ||
> | ||
| ||
{{ preview ? 'WYSIWYG' : 'Markdown' }} | ||
{{ preview ? 'Edit' : 'Preview' }} | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. that looks inverted as well? I thought There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Same here, it was intentional. The button shows what you can do (action), not the current state. |
||
</gn-ui-button> | ||
<gn-ui-markdown-editor | ||
[preview]="preview" | ||
|
Large diffs are not rendered by default.
Large diffs are not rendered by default.
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.
is that intentional? I haven't noticed that this was inverted
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.
It is intentional. We kind of got used to it this way, but I felt it was wrong the first time I coded it. And now with François fresh view on it, it felt odd too.