From 08635beb61d374d5e4b0982bc94983142f196d24 Mon Sep 17 00:00:00 2001
From: Richard Lewis
Date: Fri, 1 Mar 2019 16:18:16 +0200
Subject: [PATCH] Fix lint
---
client/components/App.vue | 12 +-
client/components/NetworkForm.vue | 37 ++++--
client/components/RevealPassword.vue | 6 +-
client/components/Sidebar.vue | 73 ++++++-----
client/components/Windows/Changelog.vue | 12 +-
client/components/Windows/Help.vue | 33 +++--
client/components/Windows/Settings.vue | 162 ++++++++++++++++--------
client/components/Windows/SignIn.vue | 24 ++--
8 files changed, 231 insertions(+), 128 deletions(-)
diff --git a/client/components/App.vue b/client/components/App.vue
index 51176513..6b531255 100644
--- a/client/components/App.vue
+++ b/client/components/App.vue
@@ -2,18 +2,22 @@
+ role="tablist"
+ >
+ :active-channel="activeChannel"
+ />
+ :channel="activeChannel.channel"
+ />
+ ref="window"
+ />
diff --git a/client/components/NetworkForm.vue b/client/components/NetworkForm.vue
index 8bb41ddd..5babc787 100644
--- a/client/components/NetworkForm.vue
+++ b/client/components/NetworkForm.vue
@@ -3,11 +3,13 @@
id="connect"
class="window"
role="tabpanel"
- aria-label="Connect">
+ aria-label="Connect"
+ >
diff --git a/client/components/Windows/Settings.vue b/client/components/Windows/Settings.vue
index 73b85e79..045b1242 100644
--- a/client/components/Windows/Settings.vue
+++ b/client/components/Windows/Settings.vue
@@ -3,11 +3,13 @@
id="settings"
class="window"
role="tabpanel"
- aria-label="Settings">
+ aria-label="Settings"
+ >
Settings
@@ -17,7 +19,8 @@
+ name="advanced"
+ >
Advanced settings
@@ -27,37 +30,44 @@
+ hidden
+ >
Native app
Add The Lounge to Home screen
+ hidden
+ >Add The Lounge to Home screen
Open irc:// URLs with The Lounge
+ class="btn"
+ >Open irc:// URLs with The Lounge
+ data-advanced
+ >
Settings synchronisation
+ aria-label="Note: This is an experimental feature and may change in future releases."
+ >
+ aria-label="Note: This is an experimental feature and may change in future releases."
+ />
+ name="syncSettings"
+ >
Synchronize settings with other clients.
Warning Checking this box will override the settings of this client with those stored on the server.
@@ -66,7 +76,8 @@
Force sync settings
+ @click="onForceSyncClick"
+ >Force sync settings
This will override any settings already synced to the server.
@@ -78,7 +89,8 @@
+ name="motd"
+ >
Show MOTD
@@ -86,7 +98,8 @@
+ name="showSeconds"
+ >
Show seconds in timestamp
@@ -95,10 +108,12 @@
Status messages
+ aria-label="Joins, parts, kicks, nick changes, away changes, and mode changes"
+ >
+ aria-label="Joins, parts, kicks, nick changes, away changes, and mode changes"
+ />
@@ -107,21 +122,24 @@
+ value="shown"
+ >
Show all status messages individually
+ value="condensed"
+ >
Condense status messages together
+ value="hidden"
+ >
Hide all status messages
@@ -132,29 +150,34 @@
+ name="coloredNicks"
+ >
Enable colored nicknames
+ name="autocomplete"
+ >
Enable autocomplete
+ data-advanced
+ >
Nick autocomplete postfix (e.g. ,
)
+ class="sr-only"
+ >Nick autocomplete postfix (e.g. ,
)
+ placeholder="Nick autocomplete postfix (e.g. ', ')"
+ >
@@ -164,14 +187,17 @@
Theme
+ class="sr-only"
+ >Theme
+ class="input"
+ >
+ :key="theme.name"
+ >
{{ theme.displayName }}
@@ -185,7 +211,8 @@
+ name="media"
+ >
Auto-expand media
@@ -193,7 +220,8 @@
+ name="links"
+ >
Auto-expand websites
@@ -209,16 +237,19 @@
type="button"
class="btn"
disabled
- data-text-alternate="Unsubscribe from push notifications">Subscribe to push notifications
+ data-text-alternate="Unsubscribe from push notifications"
+ >Subscribe to push notifications
+ class="error"
+ >
Warning :
Push notifications are only supported over HTTPS connections.
+ class="error"
+ >
Warning :
Push notifications are not supported by your browser.
@@ -233,18 +264,21 @@
+ name="desktopNotifications"
+ >
Enable browser notifications
+ class="error"
+ >
Warning :
Notifications are not supported by your browser.
+ class="error"
+ >
Warning :
Notifications are blocked by your browser.
@@ -254,7 +288,8 @@
+ name="notification"
+ >
Enable notification sound
@@ -266,38 +301,45 @@
+ data-advanced
+ >
+ name="notifyAllMessages"
+ >
Enable notification for all messages
+ data-advanced
+ >
Custom highlights (comma-separated keywords)
+ class="sr-only"
+ >Custom highlights (comma-separated keywords)
+ placeholder="Custom highlights (comma-separated keywords)"
+ >
+ id="change-password"
+ >
Enter desired new password
+ class="sr-only"
+ >Enter desired new password
+ placeholder="Enter desired new password"
+ >
Repeat new password
+ class="sr-only"
+ >Repeat new password
+ placeholder="Repeat new password"
+ >
Change password
+ class="btn"
+ >Change password
+ data-advanced
+ >
Custom Stylesheet
+ data-advanced
+ >
Custom stylesheet. You can override any style with CSS here.
+ class="sr-only"
+ >Custom stylesheet. You can override any style with CSS here.
+ placeholder="/* You can override any style with CSS here */"
+ />
+ class="session-list"
+ >
Sessions
Current session
diff --git a/client/components/Windows/SignIn.vue b/client/components/Windows/SignIn.vue
index 257cdce1..690f1adf 100644
--- a/client/components/Windows/SignIn.vue
+++ b/client/components/Windows/SignIn.vue
@@ -3,24 +3,28 @@
id="sign-in"
class="window"
role="tabpanel"
- aria-label="Sign-in">
+ aria-label="Sign-in"
+ >
Sign in
+ class="btn"
+ >Sign in