Commit graph

252 commits

Author SHA1 Message Date
Jérémie Astori
60bf4b22b0
Remove autocompletion section from the help page
Rationale for this is that the whole point of autocompletion is to be intuitive and show up naturally when starting to type something else. For example, all commands start with `/`, so obviously starting to type a command will trigger autocomplete. This is true for channels as well. Emoji are a bit particular because all systems that support emoji open their completion with `:`. The only not-so-intuitive completion strategy is for nicks because it is not so common to start them with `@` on IRC, but as long as we keep tab completion after any set of characters, this is fine. It will be even nicer once regular tab completion uses the same autocompletion dropdown.
2017-05-01 15:32:23 +02:00
Pavel Djundik
dd5e50fc68 Merge pull request #1062 from thelounge/remove-cycle-nicks
Remove cycle nicks button
2017-04-26 11:41:51 +03:00
Jérémie Astori
e000ba45df
Improve details of emoji/chan/nick/command autocompletion
- Make dropdown items match context menu items
- Disable transparency on dropdown item links
- Clean up help page additions
- Better align help page autocompletion characters
- Use ES6 features (`const`, arrow functions, method definition shorthands)
- Use `Array#filter` instead of `$.map`
- Do not display `@` in nick completion *when* only one `@` is used (to be less confusing and more consistent)
2017-04-26 13:58:43 +05:30
Yash Srivastav
29d8bc9d3d
Add Help for autocompletion 2017-04-26 13:58:43 +05:30
Alistair McKinlay
b03d01b6eb Add ban/unban command
Fixes #1073
2017-04-26 08:54:25 +01:00
Alistair McKinlay
b69ba5e4b1 Fix showing prefetch options 2017-04-25 10:26:52 +01:00
Pavel Djundik
d1ecdb6b52 Fix displayNetwork to work correctly 2017-04-22 19:05:58 +03:00
Alistair McKinlay
1e504f4383 Add support for banlist messages 2017-04-22 13:51:28 +01:00
Pavel Djundik
999e419636 Remove cycle nicks button
Reverts #708.
Fixes #869.
Fixes #1023.
2017-04-21 21:00:57 +03:00
Alistair McKinlay
b4310dbc03 Review changes
(Should be squashed before merge)
2017-04-21 09:26:02 +01:00
Alistair McKinlay
cc85b2143c Change index.html to be rendered using handlebars 2017-04-21 09:16:24 +01:00
Jérémie Astori
5bab511c42 Use HTTPS version to the IRC color guide 2017-04-20 01:50:03 -04:00
Jérémie Astori
ecb60e3c78 Merge pull request #1033 from thelounge/preload-scripts
Preload scripts as soon as possible
2017-04-15 01:35:38 -04:00
Pavel Djundik
1e2e8a82db Add rel noopener to URLs in index.html 2017-04-14 21:36:41 +03:00
Pavel Djundik
8020c3c817 Preload scripts as soon as possible 2017-04-14 21:29:40 +03:00
Pavel Djundik
507bf05d24 Remove referrer meta tag, we send Referrer-Policy header 2017-04-14 21:29:40 +03:00
Pavel Djundik
5d36b29aa8 Only disable touch tooltips on certain buttons 2017-04-13 01:55:27 -04:00
Pavel Djundik
212703d162 Merge pull request #810 from thelounge/xpaw/color-hotkeys
Implement color hotkeys
2017-03-31 19:17:16 +03:00
Michael van Tricht
3f031ba6ff Help page: commands can be autocompleted. 2017-03-29 10:11:12 +02:00
Jérémie Astori
8ef99d7ad8 Add shortcuts for new formatting in help window 2017-03-13 01:58:39 -04:00
Jérémie Astori
c1fc185643 Move "About The Lounge" section from Settings to Help window 2017-03-10 20:23:45 -05:00
Jérémie Astori
0f9b12f2b8 Add a help window within the app
This brings commands and keyboard shortcuts from the website, after a massive overhaul. It comes as part of the big documentation rewrite that I am currently doing.

`kbd` design inspiration from GitHub, `code` design inspiration from Bootstrap.

This help page is accessible from an icon in the sidebar, near the Settings icon.
2017-03-10 20:23:45 -05:00
Pavel Djundik
fb87bd3a58 Webpack 2016-12-27 19:15:30 +02:00
Pavel Djundik
c37d2b435e Hide username field when hexip is enabled 2016-12-20 13:14:27 +02:00
Jérémie Astori
c20813609b Style connection error message consistently with the rest of the app, above the message input 2016-12-13 01:58:05 -05:00
Pavel Djundik
a8926e2ced Stop refreshing the page on every socket.io error 2016-12-13 01:55:11 -05:00
Pavel Djundik
f8e616ce25 Remove errorneous classname from password field 2016-11-19 12:15:57 +02:00
Jérémie Astori
ddaf7ff300 Add a way to cycle through nicks on mobile
This was heavily inspired by https://github.com/maxpoulin64/lounge/commit/a877e46.
Clearly not a definitive solution but a good start to have and to improve upon.
2016-10-25 01:03:43 -04:00
Pavel Djundik
35af3b1710 Add id to submit button 2016-10-23 11:16:55 +03:00
Jérémie Astori
d82a894b7b Remove browser notification polyfill and inform user when unsupported 2016-10-22 17:26:34 -04:00
Jérémie Astori
4328946f80 Add tooltips to nick editor buttons 2016-10-01 16:51:35 -04:00
Jérémie Astori
12839af684 Make nick badge editable to set it in the UI 2016-10-01 16:51:34 -04:00
Jérémie Astori
b153d568a0 Add a theme selector in the settings
Power to the people!

There is now 2 ways to set the theme: on the app config file (defaults
for all users) and in the user settings.
All CSS files present in the `client/themes` folder will be given as
choices to the users.

This is temporary (as in, temporary for a fairly long time) until we
have proper theme management.
2016-09-06 01:11:31 -04:00
Alistair McKinlay
7217655110 Merge pull request #540 from thelounge/astorije/tooltips
Tooltips, tooltips everywhere
2016-08-19 08:17:38 +01:00
Jérémie Astori
2041c936b2 Add tooltips to user list and submit buttons 2016-08-03 01:10:22 -04:00
Johan Lindskogen
987474cfc1 implementing LDAP support 2016-07-29 21:28:00 -04:00
Jérémie Astori
e116c0db46 Display network name on Connect page when network is locked and info is hidden 2016-07-19 23:11:43 -04:00
Jérémie Astori
0cc4f0e920 Merge pull request #487 from thelounge/astorije/app-name
Add "The Lounge" label to the landing pages
2016-07-19 23:09:17 -04:00
Jérémie Astori
71577cf55e Display whether instance is running from a release or from git on About section 2016-07-13 03:17:55 -04:00
Jérémie Astori
3ed1768a06 Add useful links in About section in the UI 2016-07-13 02:10:26 -04:00
Jérémie Astori
844a55d290 Improve version text and link in About section in the UI 2016-07-13 02:09:23 -04:00
Jérémie Astori
9ff3f07978 Add "The Lounge" label to the landing pages 2016-07-10 20:46:20 -04:00
Jérémie Astori
a7274abc72 Prevent the app from crashing when no theme is specified 2016-07-08 01:00:23 -04:00
Maxime Poulin
37b5f28919
Fix window layout a bit 2016-07-06 00:18:40 -04:00
Maxime Poulin
2d3464aa04
Use a textarea instead of an input for channel messages 2016-07-04 23:49:45 -04:00
Pavel Djundik
8b8050d02a Remove javascript scrollbar library, use hover appearing scrollbar instead 2016-07-02 13:28:22 +03:00
Alistair McKinlay
feda6615f9 Add custom highlights 2016-06-29 19:04:39 +01:00
Jérémie Astori
e5dddbac01 Make style of loading page similar to other pages
- Move markup around to make the loading page a window of its own
  instead of a sub-window of `#chat`
- Remove inline styling in loading page
- Use same styling than other non-messages windows for title and text
- Add a `z-index` to the loading page to hide the message input
- Vertically align the sign in page title with all other titles
- Make sure all `h1.title`s are bottom-margined consistently and remove
  negative margin on the Settings page title to align with the Connect
  page title (Reverting/Improving this should be done at the `h2` level
  instead)
2016-06-21 18:01:11 -04:00
Jérémie Astori
1f4e2b42fd Do not display the sidebar on loading and sign-in pages
Also:
- Remove burger menu icon on mobile version of sign-in page
- Add the .signed-out class to the initial body instead of only when
  sign-in has failed
- Remove hiding connect and logout button icons, which was buggy and is
  now useless anyway
2016-06-21 01:17:07 -04:00
Pavel Djundik
85a536726f Display a loading message instead of blank page 2016-06-19 20:38:38 +03:00