show software name and version in instance ticker #85

Manually merged
FoundKeyGang merged 3 commits from instance-software into main 2022-08-25 21:29:27 +00:00
Owner

Adds the software name and version of the remote server to the instance ticker (if the ticker is enabled).

The design is slightly changed from the Misskey PR: The tooltip containing the software name and version will be shown when you hover over any part of the instance ticker. If there is not enough space for both the instance name and also the software name, the software name will be hidden (technically wrapped to the next line where it will be hidden by overflow: hidden).

Adds the software name and version of the remote server to the instance ticker (if the ticker is enabled). The design is slightly changed from the Misskey PR: The tooltip containing the software name and version will be shown when you hover over any part of the instance ticker. If there is not enough space for both the instance name and also the software name, the software name will be hidden (technically wrapped to the next line where it will be hidden by `overflow: hidden`).
norm reviewed 2022-08-25 17:50:35 +00:00
@ -21,6 +24,8 @@ const instance = props.instance ?? {
faviconUrl: '/favicon.ico',
name: instanceName,
themeColor: (document.querySelector('meta[name="theme-color-orig"]') as HTMLMetaElement).content,
softwareName: 'misskey',
Owner

kinda wondering if this should be 'foundkey' instead

kinda wondering if this should be `'foundkey'` instead
Johann150 marked this conversation as resolved
toast force-pushed instance-software from ee2fb58720 to a03faec179 2022-08-25 21:19:56 +00:00 Compare
toast force-pushed instance-software from a03faec179 to affdb4c32e 2022-08-25 21:22:03 +00:00 Compare
FoundKeyGang manually merged commit 20514e3950 into main 2022-08-25 21:29:27 +00:00
Sign in to join this conversation.
No reviewers
No Label
feature
fix
upkeep
No Milestone
No Assignees
3 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: FoundKeyGang/FoundKey#85
No description provided.