Commit graph

25 commits

Author SHA1 Message Date
Alexis Faizeau c2da4c3906 Fix active custom menu button 2022-02-07 17:25:55 +01:00
Alexis Faizeau 0bf1acfefb Improve game overlay UI 2022-01-27 16:34:58 +01:00
Alexis Faizeau 446b4639c7 Implement typesafe-i18n 2022-01-24 18:59:28 +01:00
David Négrier 51c3f1d972 Refactoring translator to use "_" instead of "translator._".
This is shorter and pollutes less the code.
2022-01-21 17:09:29 +01:00
Nolway bd01a35cc6 Add en-US translations 2022-01-21 17:09:29 +01:00
David Négrier ab0f5e9837 Stopping sending literal errors
Errors now must be of "Error" type.
Rule added in eslint.
2022-01-06 10:52:06 +01:00
Alexis Faizeau c95e20c677 Lint & Prettier fixes on Svelte files 2021-12-06 16:36:05 +01:00
Gregoire Parant d3f120f2bb Update to have token when user is connected
- Update menu design

Signed-off-by: Gregoire Parant <g.parant@thecodingmachine.com>
2021-11-12 12:13:44 +01:00
Alexis Faizeau da8cc661b7 Implement the new co website system 2021-10-25 19:00:26 +02:00
GRL78 2ea7b0cff1
Menu style will adapt if iframe in map is opened (#1422) 2021-09-08 15:43:46 +02:00
GRL 706f531ca2 Add types file in API 2021-08-27 11:17:48 +02:00
GRL 833c15b2d5 Merge branch 'develop' of github.com:thecodingmachine/workadventure into iframeMenuScript 2021-08-27 10:44:32 +02:00
GRL cf7bfe79ca Refactor to only have one function registerMenuCommand
When selected custom menu is removed, go to settings menu
Allow iframe in custom menu to use Scripting API
Return menu object when it is registered, can call remove function on it
2021-08-27 10:34:03 +02:00
GRL78 7c956d1481
REVIEW : Migration Menu and Report Menu in Svelte (#1363)
* WIP: svelte menu

* temp

* temp

* New menu svelte

* Migration of report menu in svelte

* Migration of registerCustomMenu for Menu in Svelte
Refactor subMenuStore
Suppression of old MenuScene and ReportMenu

* Suppression of HTML files that aren't use anymore

* fix deeployer

* First pass on css

* First pass on css

* Second pass on css and reportMenu

* Second pass on css and reportMenu

* Second pass on css and reportMenu

* Third pass on css and reportMenu

* Correction following test

* Contact page only if environment variable exist

* Update service worker

Signed-off-by: Gregoire Parant <g.parant@thecodingmachine.com>

* Change requested

* Change requested

Co-authored-by: kharhamel <oognic@gmail.com>
Co-authored-by: Gregoire Parant <g.parant@thecodingmachine.com>
2021-08-26 12:01:07 +02:00
GRL f3c4d344b3 Add iframe submenu by scripting API
Delete menu by scripting API
2021-08-24 17:35:06 +02:00
GRL 2f76a24dff Contact page only if environment variable exist 2021-08-23 17:30:07 +02:00
GRL 2ebf05f7d6 Correction following test 2021-08-19 11:17:46 +02:00
GRL d6bd883c94 Third pass on css and reportMenu 2021-08-18 15:34:26 +02:00
GRL 4c3097155b Second pass on css and reportMenu 2021-08-18 11:15:46 +02:00
GRL 9e5cc3b9a7 First pass on css 2021-08-17 15:17:29 +02:00
GRL 096baa8897 First pass on css 2021-08-17 14:44:43 +02:00
GRL 8105e966ff Migration of registerCustomMenu for Menu in Svelte
Refactor subMenuStore
Suppression of old MenuScene and ReportMenu
2021-08-11 14:07:34 +02:00
GRL 56fa2e49f6 New menu svelte 2021-08-09 14:49:17 +02:00
kharhamel 1ce801cced temp 2021-07-13 14:40:35 +02:00
kharhamel fecbc8a018 WIP: svelte menu 2021-07-13 14:40:35 +02:00