Commit graph

160 commits

Author SHA1 Message Date
Ophir LOJKINE
43c861d022 Make the initial brush size smaller 2020-04-15 14:49:49 +02:00
Ophir LOJKINE
0046cb28d5 Fix unreadable board name
The board name wasn't displayed correctly when it contained special
characters
2020-04-06 19:42:03 +02:00
Ophir LOJKINE
8eebbe9653
Add a list of predefined colors and shortcuts for them
Color presets (#25)

* Add color presets with keys 0..9

Also, initialize size/thickness with 7.

* Add click-able buttons for color presets

* Refactor color presets: use Minitpl

Use Minitpl for creating the color preset buttons. Also, allow for more
colors than keys and don't use just numeric keys, but allow all
characters.

* Fix layout for case if no color presets are defined

* colors in array, CSS fix, restore random initColor

See: https://github.com/lovasoa/whitebophir/pull/24#issuecomment-608409282

* Remove hardcoded size

* Simplify condition

Co-authored-by: adrian.buerli <adrian.buerli@ims.co.at>
2020-04-03 18:11:32 +02:00
Ophir LOJKINE
66f7944b6e
add canonical link 2020-03-21 22:18:56 +01:00
Ophir LOJKINE
209a656ee2
Highlight the fact that WBO is open-source 2020-03-03 14:39:17 +01:00
Ophir LOJKINE
03d8f61f39 Remove unnecessary type attribute on script tags 2019-06-27 16:38:41 +02:00
Ophir LOJKINE
4323e5e81f Reformat the HTML board page 2019-06-27 15:46:39 +02:00
Ophir LOJKINE
45cf1e1406 Improve internationalization 2019-06-27 15:44:16 +02:00
Ophir LOJKINE
b1a5884932 Native viewport width on mobile for the landing page 2019-06-27 12:10:24 +02:00
Ophir LOJKINE
e038527115 Add loading message 2019-06-25 13:28:02 +02:00
Ophir LOJKINE
5f33e55066 Remove menu toggling code 2019-06-24 11:39:38 +02:00
Ophir LOJKINE
fa5c5f0969 Fix input type in text tool 2019-06-24 00:55:14 +02:00
Ophir LOJKINE
2338bfaea7 Fix shortcuts not working while using a slider 2019-06-24 00:37:31 +02:00
Ophir LOJKINE
93492fc2ac Improve the landing page 2019-06-23 23:56:07 +02:00
Ophir LOJKINE
539125b423 More server-side translations 2019-06-23 10:14:13 +02:00
Ophir LOJKINE
3522c52d36 Server-side translations 2019-06-23 09:47:01 +02:00
Ophir LOJKINE
3151651f45 Close text edition field when "escape" is pressed 2019-06-22 21:03:02 +02:00
Ophir LOJKINE
205a17902b Added keyboard shortcuts 2019-06-22 20:54:20 +02:00
Ophir LOJKINE
d2883a787f Remove some dead code 2019-06-22 20:10:20 +02:00
Ophir LOJKINE
706380de4a Update font in the menu 2019-06-19 14:19:23 +02:00
Ophir LOJKINE
2024899c8e UI improvements 2019-06-19 12:09:06 +02:00
Ophir LOJKINE
2538bfdf7c Update favicons 2019-05-01 18:50:53 +03:00
ophir
8e5580e769 update icon 2019-04-07 11:17:18 +02:00
Ophir LOJKINE
55f53b48b6 Display the board name in the page title 2019-03-20 19:00:12 +01:00
Ophir LOJKINE
23d9690aad Use css classes instead of ids 2019-03-20 18:00:22 +01:00
Ophir LOJKINE
29d08385dc Update chinese translation 2019-01-29 18:19:30 +01:00
Ophir LOJKINE
014f5640b9 Usa passive event listeners 2019-01-17 16:58:05 +01:00
Ophir LOJKINE
caf56bd503 Remove will-change optimization after use 2019-01-17 16:48:47 +01:00
Ophir LOJKINE
a980fa1b53 Zoom tool: allow zooming with the mouse wheel 2019-01-17 16:25:11 +01:00
Ophir LOJKINE
72cc16753b Allow pan-to-zoom on touchscreens 2019-01-17 16:19:28 +01:00
Ophir LOJKINE
008f6b3bb4 Add russian translation 2019-01-15 16:59:51 +01:00
Ophir LOJKINE
47c367e6d2 Update the chinese translation 2019-01-15 13:44:59 +01:00
Ophir LOJKINE
169ef33ae7 Add a chinese translation 2019-01-11 13:45:18 +01:00
Ophir LOJKINE
73bc9bfafa Improve zooming performance on chrome 2019-01-06 14:27:43 +01:00
Ophir LOJKINE
138f93dc60 Make diagonal scrolling smoother on Chrome 2019-01-02 01:21:07 +01:00
Ophir LOJKINE
1303874595 Avoid accidental zooming 2019-01-02 01:14:50 +01:00
Ophir LOJKINE
633d74b028 Add support for zoom
Fixes #11
2019-01-02 00:51:13 +01:00
Ophir LOJKINE
22acdc9255 Add the current position to the URL
Fixes #9
2018-12-31 01:58:18 +01:00
Ophir LOJKINE
67e5364567 Make the initial board rendering faster (but less smooth) 2018-12-30 22:53:56 +01:00
Ophir LOJKINE
5eddc262bb change behavior on disconnection 2018-12-18 09:46:30 +01:00
Ophir LOJKINE
ea001f54bd Implement MAX_BOARD_SIZE on the client 2018-12-08 19:40:43 +01:00
ophir
48f6c55ea9 Fix bug (invalid object reuse) in tools 2018-12-02 21:43:01 +01:00
ophir
d16b5c8b97 Make the hand the default tool
I hope this will nudge people towards watching what is already on the board
before starting to draw.

It may encourage people to be constructive.

This is a (very) small step towards #6
2018-12-02 13:23:20 +01:00
ophir
5f2b631209 Change the order of tools 2018-12-02 13:21:01 +01:00
ophir
32c0020dca Add support for transparency
Closes #5
2018-12-02 13:18:29 +01:00
ophir
5c4daacfec Reload the page on server update 2018-11-30 20:29:22 +01:00
Ophir LOJKINE
72e809d57e Random color on login! 2018-11-30 17:41:34 +01:00
Ophir LOJKINE
e708bd79cb Handle reconnection when the server is restarted 2018-11-29 17:54:25 +01:00
Ophir LOJKINE
88aa591e9a Improve initial rendering performance 2018-11-29 17:14:01 +01:00
Ophir LOJKINE
d75371c958 Use a pathData cache to improve rendering performance 2018-11-29 15:52:52 +01:00