Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dev gui - Darkmode using HSL Hue #630

Merged
merged 228 commits into from
Nov 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
228 commits
Select commit Hold shift + click to select a range
01e5c35
:fire: images svg optimization
gigamaster Aug 26, 2024
570cb18
add gitattributes eol=lf
gigamaster Aug 26, 2024
583058a
[wip] UI darkmode
gigamaster Aug 27, 2024
58da00c
fix(ToolsPane): fix console themes
hatemhosny Sep 2, 2024
81ad2d9
use themes in notifications
hatemhosny Sep 2, 2024
a5778a1
Merge pull request #2 from hatemhosny/fix-console-themes
gigamaster Sep 3, 2024
84da6ae
UI App menus
gigamaster Sep 6, 2024
e435b97
app menu
gigamaster Sep 7, 2024
127c3c2
Menu tooltip + embed + editor toolbar
gigamaster Sep 8, 2024
54ca72b
editor max-height
gigamaster Sep 8, 2024
517d782
merge i18n
gigamaster Sep 8, 2024
b2c49fa
i18n - ar, es, fr, it, ja, pt, ru, zh-cn
gigamaster Sep 9, 2024
c402495
html + i18n + fr
gigamaster Sep 10, 2024
90d75d2
merge UI + i18n
gigamaster Sep 14, 2024
86ec280
Merge branch 'dev-gui' into i18n
gigamaster Sep 14, 2024
f31f958
Merge pull request #4 from gigamaster/i18n
gigamaster Sep 14, 2024
16e5fc2
fix crash locale
gigamaster Sep 14, 2024
ec6bb0a
Merge branch 'i18n' of https://github.com/gigamaster/livecodes into i18n
gigamaster Sep 14, 2024
6416735
Merge pull request #5 from gigamaster/i18n
gigamaster Sep 14, 2024
893e80d
fix typo + remove unused baseUrl
gigamaster Sep 14, 2024
786dab7
Merge pull request #6 from gigamaster/i18n
gigamaster Sep 14, 2024
2c2ba69
modal search + locale fr
gigamaster Sep 14, 2024
87263e0
Merge pull request #7 from gigamaster/i18n
gigamaster Sep 14, 2024
de0d163
assets + external resources
gigamaster Sep 15, 2024
e041767
assets-list 4 columns
gigamaster Sep 15, 2024
cf7a1b7
menu editor-language i18n
gigamaster Sep 15, 2024
4d98eb5
Merge pull request #8 from gigamaster/i18n
gigamaster Sep 15, 2024
2a6be5c
modal dialog language-info
gigamaster Sep 15, 2024
bddcb82
Merge pull request #9 from gigamaster/i18n
gigamaster Sep 15, 2024
6aff654
rename app-menu -button, -container
gigamaster Sep 16, 2024
ad30967
Merge pull request #10 from gigamaster/i18n
gigamaster Sep 16, 2024
69d396b
menu with keyboard shortcuts
gigamaster Sep 16, 2024
ced8d0f
Merge pull request #11 from gigamaster/i18n
gigamaster Sep 16, 2024
493c02b
share.ts remove button copy (duplicate text link)
gigamaster Sep 17, 2024
3cefa6e
icons to css + description
gigamaster Sep 17, 2024
f540f45
modal-search nowrap for i18n
gigamaster Sep 17, 2024
8747f45
menu scroller language position
gigamaster Sep 17, 2024
6cec2cf
Merge pull request #12 from gigamaster/i18n
gigamaster Sep 17, 2024
463b480
merge I18next Integration #632
gigamaster Sep 17, 2024
8f64b57
Merge pull request #13 from gigamaster/i18n
gigamaster Sep 17, 2024
a8a1a71
direction RTL
gigamaster Sep 19, 2024
c0b8d8b
Merge pull request #14 from gigamaster/i18n
gigamaster Sep 19, 2024
bf547e0
LTR + dialog
gigamaster Sep 19, 2024
096d4a1
merge i18n draft
gigamaster Sep 20, 2024
b9b0d83
Merge pull request #15 from gigamaster/i18n
gigamaster Sep 20, 2024
7c884f0
UI panel knobs + split css
gigamaster Sep 24, 2024
83092da
Merge pull request #16 from gigamaster/i18n
gigamaster Sep 24, 2024
ed8690d
css dark-light
gigamaster Sep 26, 2024
2c2884a
UI panel + CSS vars
gigamaster Sep 27, 2024
eda1984
Merge pull request #17 from gigamaster/i18n
gigamaster Sep 27, 2024
9d155c0
UI default saturation & lightness
gigamaster Sep 27, 2024
a3dbebd
Merge pull request #18 from gigamaster/i18n
gigamaster Sep 27, 2024
6032539
css remove comments + duplicated
gigamaster Sep 27, 2024
4ed7719
Merge pull request #19 from gigamaster/i18n
gigamaster Sep 27, 2024
9e7a3ce
modal welcome + about
gigamaster Sep 27, 2024
956b93e
Merge pull request #20 from gigamaster/i18n
gigamaster Sep 27, 2024
55082c7
remove duplicated css nenu
gigamaster Sep 27, 2024
e2bb793
Merge pull request #21 from gigamaster/i18n
gigamaster Sep 27, 2024
1534fcc
Add mode portrait
gigamaster Sep 30, 2024
62798da
Remove UI knobs
gigamaster Oct 1, 2024
f7a9713
lint style
gigamaster Oct 1, 2024
b96a3a3
Merge pull request #23 from gigamaster/i18n
gigamaster Oct 1, 2024
03005bc
merge https://github.com/zyf722/livecodes/commit/f5e81d7
gigamaster Oct 1, 2024
9ee92b0
Merge pull request #24 from gigamaster/i18n
gigamaster Oct 1, 2024
5cbe70f
UI - HTML + i18n translations
gigamaster Oct 4, 2024
3dc45fb
remove unused icons
gigamaster Oct 4, 2024
2627b74
Merge pull request #25 from gigamaster/i18n
gigamaster Oct 4, 2024
61fcf1e
Merge branch 'develop' into i18n
gigamaster Oct 4, 2024
ff8ceb3
merge ui
gigamaster Oct 4, 2024
5ef6166
Merge pull request #27 from gigamaster/i18n
gigamaster Oct 4, 2024
69486e3
prefers-color-scheme
gigamaster Oct 4, 2024
cb5c644
Update i18n locales
gigamaster Oct 5, 2024
06a877e
Merge pull request #28 from gigamaster/i18n
gigamaster Oct 5, 2024
1e2255a
css icons + modal welcome
gigamaster Oct 10, 2024
4d246d9
i18n translations
gigamaster Oct 10, 2024
f43dfba
Merge pull request #29 from gigamaster/i18n
gigamaster Oct 10, 2024
80fac46
i18n
gigamaster Oct 10, 2024
aa55e00
Merge pull request #30 from gigamaster/i18n
gigamaster Oct 10, 2024
0e3f9a6
Merge branch 'develop' into dev-gui
gigamaster Oct 10, 2024
7af1fe3
format
hatemhosny Oct 12, 2024
a68bbcc
fix i18n export
hatemhosny Oct 12, 2024
31cce5a
Revert "fix i18n export"
hatemhosny Oct 12, 2024
622cfa8
temporarily skip i18n tests
hatemhosny Oct 12, 2024
4e7d45a
skip i18n files from bundlewatch
hatemhosny Oct 12, 2024
5408360
increase css limit in bundlewatch
hatemhosny Oct 13, 2024
035d117
fix e2e tests
hatemhosny Oct 13, 2024
e219936
fix e2e tests
hatemhosny Oct 13, 2024
4eff6e3
mark imported stylesheets
hatemhosny Oct 13, 2024
7889502
i18n App Menus
gigamaster Oct 14, 2024
3fd9f23
Modal About
gigamaster Oct 14, 2024
f6a0a2f
i18n - pt
gigamaster Oct 14, 2024
a9b646c
i18n - fr
gigamaster Oct 14, 2024
2cbe6c9
i18n - es
gigamaster Oct 14, 2024
032625f
fix format
hatemhosny Oct 14, 2024
1aeed2f
i18n - es - fix login
gigamaster Oct 14, 2024
859148c
i18n - it
gigamaster Oct 14, 2024
37b6684
css - remove comments + prefers-color-scheme
gigamaster Oct 14, 2024
82bca40
fix i18n-export
hatemhosny Oct 15, 2024
b640790
fix i18n-import
hatemhosny Oct 15, 2024
d082e0b
fix translation tags
hatemhosny Oct 15, 2024
51a46e5
Merge branch 'fix-i18n-workflow' into pr/gigamaster/630
hatemhosny Oct 15, 2024
f4f44c0
edit about screen i18n keys
hatemhosny Oct 21, 2024
71924de
fix typos
hatemhosny Oct 21, 2024
a26f5ea
minor fixes
hatemhosny Oct 21, 2024
012f1e6
i18n edits
hatemhosny Oct 21, 2024
bd5cd2c
delete comments
hatemhosny Oct 21, 2024
cff7fc1
fix gaps in simple mode
hatemhosny Oct 29, 2024
fa66b03
fix loading message alignment
hatemhosny Oct 30, 2024
ab4ebdc
welcome screen edits
hatemhosny Oct 30, 2024
a8ce830
fix toolspane & result backgrounds
hatemhosny Oct 30, 2024
d8979df
adjust logo position in embed
hatemhosny Oct 30, 2024
27d62e4
toolbar tweaks
hatemhosny Oct 30, 2024
67f051b
change editor toolbar and toolspane bar height on changing font size
hatemhosny Oct 30, 2024
5953c38
embed logo hint i18n
hatemhosny Oct 30, 2024
60db340
add `themeColor` and `themeColorLight` config options
hatemhosny Oct 31, 2024
4ac0e1c
get default colors from css
hatemhosny Oct 31, 2024
08dc68a
add change theme button
hatemhosny Nov 1, 2024
51e1cfe
add i18n menu
hatemhosny Nov 1, 2024
2413e21
UI fixes
hatemhosny Nov 1, 2024
b63ceba
fix CI checks
hatemhosny Nov 1, 2024
2f6f308
Merge pull request #32 from live-codes/ui-enhancements
gigamaster Nov 1, 2024
57f9460
Merge branch 'develop' into dev-gui
hatemhosny Nov 1, 2024
8fed294
fix merge conflict
hatemhosny Nov 1, 2024
0142429
UI input RTL
gigamaster Nov 1, 2024
029a567
theme color picker
hatemhosny Nov 2, 2024
07b2a36
remove the config option `themeColorLight`
hatemhosny Nov 2, 2024
5ad1639
add i18n for theme colors
hatemhosny Nov 2, 2024
54e2703
editor toolbar RTL
hatemhosny Nov 2, 2024
8ec3b52
Merge branch 'ui-enhancements' into pr/gigamaster/630
hatemhosny Nov 2, 2024
ac986f3
fix lint
hatemhosny Nov 2, 2024
4d161a7
fix
hatemhosny Nov 2, 2024
81f4004
adjust logo size in embed
hatemhosny Nov 2, 2024
afb7f3d
fix embed light theme
hatemhosny Nov 2, 2024
a6ec05e
edit thumbnails
hatemhosny Nov 2, 2024
68c1d27
fix lint
hatemhosny Nov 2, 2024
0302c73
add "Help us translate" link in i18n language
hatemhosny Nov 2, 2024
c1900c5
UI color alerts dialog
gigamaster Nov 2, 2024
ec1ebb5
Merge branch 'dev-gui' of https://github.com/gigamaster/livecodes int…
gigamaster Nov 2, 2024
e94a468
Merge branch 'develop' into dev-gui
hatemhosny Nov 2, 2024
48fcb12
UI theme color + i18n
gigamaster Nov 2, 2024
097da71
Merge branch 'dev-gui' of https://github.com/gigamaster/livecodes int…
gigamaster Nov 2, 2024
a503d02
lint
gigamaster Nov 2, 2024
c815008
Merge branch 'develop' into dev-gui
hatemhosny Nov 2, 2024
ba38665
Merge branch 'develop' into dev-gui
hatemhosny Nov 2, 2024
3c41aa5
embed simple mode
gigamaster Nov 2, 2024
c935a43
Merge branch 'dev-gui' of https://github.com/gigamaster/livecodes int…
gigamaster Nov 2, 2024
634202c
Merge branch 'develop' into dev-gui
hatemhosny Nov 3, 2024
a204109
fix lint
hatemhosny Nov 3, 2024
e8400eb
editor title in simple mode
hatemhosny Nov 3, 2024
8ddb9c1
adjust toolbar height in embed
hatemhosny Nov 3, 2024
370f500
add logo drop-shadow
hatemhosny Nov 3, 2024
02d82a2
toolbar adjustments
hatemhosny Nov 3, 2024
7462bd0
fix logout hidden icon
hatemhosny Nov 3, 2024
36b1b88
fix lint
hatemhosny Nov 3, 2024
d7780ef
Merge pull request #33 from live-codes/ui-enhancements
gigamaster Nov 4, 2024
9dcf6f9
Merge branch 'develop' into pr/gigamaster/630
hatemhosny Nov 10, 2024
42ae559
refactor(UI): replace tooltip hints with `title` attributes
hatemhosny Nov 10, 2024
50e870b
fix language name
hatemhosny Nov 10, 2024
29c3155
Merge branch 'ui-enhancements' into pr/gigamaster/630
hatemhosny Nov 10, 2024
fe5cba3
docs(Config): add docs for `themeColor` config option
hatemhosny Nov 10, 2024
f550b61
fix
hatemhosny Nov 10, 2024
9de7415
edit default template link in welcome screen
hatemhosny Nov 10, 2024
fd46fd2
fix e2e tests
hatemhosny Nov 10, 2024
4bf64c9
fix editor titles position
hatemhosny Nov 10, 2024
39e616e
Merge branch 'ui-enhancements' into pr/gigamaster/630
hatemhosny Nov 10, 2024
1d81ceb
minor fix
hatemhosny Nov 10, 2024
6264491
fix result mode
hatemhosny Nov 10, 2024
92b8f2d
fix lint
hatemhosny Nov 10, 2024
046c757
remove "App UI Language" from editor settings screen
hatemhosny Nov 11, 2024
aeb003e
add link to i18n docs in i18n menu
hatemhosny Nov 11, 2024
722a507
fix build
hatemhosny Nov 11, 2024
e400cd8
logo + border
hatemhosny Nov 11, 2024
1ddaa94
Merge branch 'ui-enhancements' into pr/gigamaster/630
hatemhosny Nov 11, 2024
8d19fd7
set themeColor for docs embedded playgrounds
hatemhosny Nov 11, 2024
d6ee06a
fix mark position on tool buttons
hatemhosny Nov 11, 2024
061f5ae
fix test editor height
hatemhosny Nov 11, 2024
ee8c700
css container i18nlabel
gigamaster Nov 12, 2024
188dcc3
i18n JA
gigamaster Nov 12, 2024
783c917
fix welcome screen layout
hatemhosny Nov 12, 2024
7d8a372
fix codeium img url in editor settings
hatemhosny Nov 13, 2024
eee1cb1
WIP: update docs to use new UI
hatemhosny Nov 13, 2024
a728b9b
temporarily allow full-app in iframe
hatemhosny Nov 13, 2024
3daeaf1
add editor & layout options to embed UI
hatemhosny Nov 14, 2024
d15fb92
update screenshots in docs
hatemhosny Nov 14, 2024
8669608
update docs with new menus
hatemhosny Nov 14, 2024
ac98918
Merge branch 'ui-enhancements' into pr/gigamaster/630
hatemhosny Nov 14, 2024
291a049
add i18n screenshot
hatemhosny Nov 14, 2024
e38cce8
fix i18n string
hatemhosny Nov 14, 2024
9be5824
Merge branch 'ui-enhancements' into pr/gigamaster/630
hatemhosny Nov 14, 2024
78452b5
fix docs
hatemhosny Nov 14, 2024
53a986d
edit docs
hatemhosny Nov 14, 2024
7bd9e70
fix lint
hatemhosny Nov 14, 2024
f0e30b1
minor fixes
hatemhosny Nov 17, 2024
460ac88
add result mode drawer
hatemhosny Nov 17, 2024
a5f2807
update docs
hatemhosny Nov 17, 2024
4df6f22
adjust font size for menus
hatemhosny Nov 17, 2024
3f893c6
add missing i18n key
hatemhosny Nov 17, 2024
a9f2da4
Merge pull request #36 from live-codes/ui-enhancements
gigamaster Nov 17, 2024
0f94bae
Merge branch 'develop' into dev-gui
hatemhosny Nov 17, 2024
e984666
fix lint
hatemhosny Nov 17, 2024
f0bc6c0
ar translation
hatemhosny Nov 17, 2024
1b75d89
fix qr code on dark theme
hatemhosny Nov 18, 2024
285d04a
fix success colors in light theme
hatemhosny Nov 18, 2024
721f3e6
increase css size in bundlewatch config
hatemhosny Nov 18, 2024
0431726
fix autoComplete styles
hatemhosny Nov 20, 2024
990835c
fix i18n menu position
hatemhosny Nov 21, 2024
c6fb9b0
fix/upgrade emmet-monaco-es
hatemhosny Nov 21, 2024
b48fc12
fix long language items
hatemhosny Nov 21, 2024
9200f9a
provide light color logo
hatemhosny Nov 21, 2024
8986259
fix codeium logo URL
hatemhosny Nov 21, 2024
28202a4
fix i18n-export
hatemhosny Nov 21, 2024
6f7ae2b
fix(i18n): fix replacing interpolations
hatemhosny Nov 21, 2024
0ad16bb
fix about screen -> version
hatemhosny Nov 21, 2024
ce09f06
improve about screen on mobile
hatemhosny Nov 21, 2024
6c824e3
fix lint
hatemhosny Nov 21, 2024
4ff64e1
set modal min-height
hatemhosny Nov 23, 2024
c678a36
handle long language names
hatemhosny Nov 23, 2024
1bab747
fix setting theme color in firefox
hatemhosny Nov 23, 2024
f391b23
fix menu positions
hatemhosny Nov 23, 2024
fe21781
fix lint
hatemhosny Nov 23, 2024
8ecccd6
fix theme color on firefox
hatemhosny Nov 23, 2024
c596ba7
fix menus on safari
hatemhosny Nov 24, 2024
d0fa7bf
change [target='_blank'] arrow
hatemhosny Nov 24, 2024
6fc6801
fix arrows
hatemhosny Nov 24, 2024
7730aa0
skip flaky e2e tests
hatemhosny Nov 24, 2024
835e437
add fallback when anchor positioning is not supported
hatemhosny Nov 25, 2024
fd666a1
language menu improvements
hatemhosny Nov 25, 2024
feefddd
fix lint
hatemhosny Nov 25, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
10 changes: 5 additions & 5 deletions .bundlewatch.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,12 @@ module.exports = {
// },
{
path: './build/livecodes/*.css',
maxSize: '15kB',
},
{
path: './build/livecodes/i18n-*.json',
maxSize: '10kB',
maxSize: '25kB',
},
// {
// path: './build/livecodes/i18n-*.json',
// maxSize: '10kB',
// },
],
defaultCompression: 'brotli',
normalizeFilenames: /^.+?((\.[^.]{8,}}?)|())\.\w+$/,
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

# LiveCodes

Code Playground That Just Works!
A Code Playground That Just Works!

<p align="center">
<img width="300" src="https://dev.livecodes.io/docs/img/livecodes-logo.svg"></img>
Expand Down Expand Up @@ -30,7 +30,7 @@ A [feature-rich](https://livecodes.io/docs/features/), open-source, **client-sid

![LiveCodes list of languages screenshot](https://dev.livecodes.io/docs/img/screenshots/livecodes-languages.jpg)

## Code Playground That Just Works!
## A Code Playground That Just Works!

- No servers to configure (or pay for!)
- No databases to maintain (or pay for!)
Expand Down
2 changes: 1 addition & 1 deletion docs/docs/about.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# About us

LiveCodes is built and maintained primarily by [Hatem Hosny](https://github.com/hatemhosny), from Egypt <img style={{ height: '0.8em' }} src="https://flagcdn.com/h20/eg.png" alt="Egypt"></img>.
LiveCodes is built and maintained by [Hatem Hosny](https://github.com/hatemhosny), and wonderful [contributors](https://github.com/live-codes/livecodes/graphs/contributors).

Feature requests and bug reports are received on the [GitHub repo](https://github.com/live-codes/livecodes/issues).

Expand Down
20 changes: 14 additions & 6 deletions docs/docs/configuration/configuration-object.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,23 +59,23 @@ Type: [`string`](../api/interfaces/Config.md#title)

Default: `"Untitled Project"`

Project title. This is used as [result page](../features/result.md) title and title meta tag. Also used in [project](../features/projects.md) search. This can be set in the UI from the title input (above result page) or from app menu β†’ Project Info.
Project title. This is used as [result page](../features/result.md) title and title meta tag. Also used in [project](../features/projects.md) search. This can be set in the UI from the title input (above result page) or from Project menu β†’ Project Info.

### `description`

Type: [`string`](../api/interfaces/Config.md#description)

Default: `""`

Project description. Used in [project](../features/projects.md) search and result page description meta tag. This can be set in the UI from app menu β†’ Project Info.
Project description. Used in [project](../features/projects.md) search and result page description meta tag. This can be set in the UI from Project menu β†’ Project Info.

### `head`

Type: [`string`](../api/interfaces/Config.md#head)

Default: `'<meta charset="UTF-8" />\n<meta name="viewport" content="width=device-width, initial-scale=1.0" />'`

Content added to the [result page](../features/result.md) `<head>` element. This can be set in the UI from app menu β†’ Project Info.
Content added to the [result page](../features/result.md) `<head>` element. This can be set in the UI from Project menu β†’ Project Info.

### `htmlAttrs`

Expand All @@ -88,15 +88,15 @@ Attributes added to the [result page](../features/result.md) `<html>` element. I
Example: `{ lang: "en", class: "dark" }` or `'lang="en" class="dark"'`,
become `<html lang="en" class="dark">`.

This can be set in the UI from app menu β†’ Project Info.
This can be set in the UI from Project menu β†’ Project Info.

### `tags`

Type: [`string[]`](../api/interfaces/Config.md#tags)

Default: `[]`

Project tags. Used in [project](../features/projects.md) filter and search. This can be set in the UI from app menu β†’ Project Info.
Project tags. Used in [project](../features/projects.md) filter and search. This can be set in the UI from Project menu β†’ Project Info.

### `activeEditor`

Expand All @@ -114,7 +114,7 @@ Default: all supported languages in full app and only current editor languages i

List of enabled languages. Languages that are not already loaded in the editors ([markup](#markup), [style](#style) and [script](#script)) can be selected from a drop down menu at the editor title.

![Change Language](../../static/img/screenshots/languages.jpg)
![Change Language](../../static/img/screenshots/languages-3.jpg)

### `markup`

Expand Down Expand Up @@ -485,6 +485,14 @@ Default: `"dark"`

Sets the app [theme](../features/themes.md) to light/dark mode.

### `themeColor`

Type: [`string | undefined`](../api/interfaces/Config.md#themecolor)

Default: `"hsl(214, 40%, 50%)"`

A string representing a [CSS color value](https://developer.mozilla.org/en-US/docs/Web/CSS/color_value), used to set the app [theme color](../features/themes.md). It can be any valid CSS color value, such as `"#4DB39E"`, `"rgb(245, 225, 49)"`, `"hsl(324, 40%, 50%)"` and `"lightblue"`.

### `editorTheme`

Type: [`EditorTheme[] | string | undefined`](../api/interfaces/Config.md#editortheme)
Expand Down
3 changes: 3 additions & 0 deletions docs/docs/configuration/query-params.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,14 @@ https://livecodes.io?js=console.log('Hello World!')&console=open
[delay](./configuration-object.md#delay),
[formatOnsave](./configuration-object.md#formatOnsave),
[theme](./configuration-object.md#theme),
[themeColor](./configuration-object.md#themecolor),
[appLanguage](./configuration-object.md#applanguage),
[recoverUnsaved](./configuration-object.md#recoverUnsaved),
[welcome](./configuration-object.md#welcome),
[showSpacing](./configuration-object.md#showSpacing),
[layout](./configuration-object.md#layout),
[editor](./configuration-object.md#editor),
[editorTheme](./configuration-object.md#editortheme),
[fontFamily](./configuration-object.md#fontFamily),
[fontSize](./configuration-object.md#fontSize),
[useTabs](./configuration-object.md#useTabs),
Expand Down
4 changes: 2 additions & 2 deletions docs/docs/features/ai.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,13 @@ The AI code assistant can be enabled from:

### UI

The [editor settings](./editor-settings.md) screen (App menu β†’ Editor Settings β†’ Enable AI Code Assistant).
The [editor settings](./editor-settings.md) screen (Settings menu β†’ Editor Settings β†’ Enable AI Code Assistant).

import RunInLiveCodes from '../../src/components/RunInLiveCodes.tsx';

<RunInLiveCodes params={{screen: 'editor-settings'}} linkText="direct link" />

![LiveCodes Editor Settings](../../static/img/screenshots/editor-settings-1.png)
![LiveCodes Editor Settings](../../static/img/screenshots/editor-settings-1.jpg)

**Note**

Expand Down
6 changes: 4 additions & 2 deletions docs/docs/features/assets.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@ The assets are saved locally on the user's device and are available across proje

In addition, assets are supported in [sync](./sync.md), [backup](./backup-restore.md#backup) and [restore](./backup-restore.md#restore).

The `Assets` screen can be accessed from app menu β†’ Assets
The `Assets` screen can be accessed from Settings menu β†’ Assets

![Assets](/img/screenshots/assets-1.jpg)

import RunInLiveCodes from '../../src/components/RunInLiveCodes.tsx';

Expand All @@ -21,4 +23,4 @@ Assets are either:

When an asset item is clicked, the URL is copied to clipboard. The URL can then be used in projects.

![Assets](/img/screenshots/assets.png)
![Assets](/img/screenshots/assets-2.jpg)
6 changes: 3 additions & 3 deletions docs/docs/features/backup-restore.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@

LiveCodes data can be backed-up, so that it can be later restored on the same or different device.

The Backup/Restore screen can be accessed from the app menu β†’ Backup / Restore.
The Backup/Restore screen can be accessed from the Settings menu β†’ Backup / Restore.

import RunInLiveCodes from '../../src/components/RunInLiveCodes.tsx';

<RunInLiveCodes params={{screen: 'backup'}} linkText="direct link" />

## Backup

![LiveCode Backup](../../static/img/screenshots/backup.jpg)
![LiveCode Backup](../../static/img/screenshots/backup-restore-1.jpg)

The backup can include one or more of the following:

Expand All @@ -24,7 +24,7 @@ A zip file containing the (base64-encoded binary) backup data is downloaded. Thi

## Restore

![LiveCode Restore](../../static/img/screenshots/restore.jpg)
![LiveCode Restore](../../static/img/screenshots/backup-restore-2.jpg)

When restoring a backup, there are 2 options for managing the current data:

Expand Down
12 changes: 6 additions & 6 deletions docs/docs/features/broadcast.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,23 +10,23 @@ Broadcast can only be performed from the full app, and not from embedded playgro

:::

The `Broadcast` screen can be accessed from the Broadcast icon in the [tools pane](./tools-pane.md) (below the result page), or from the app menu β†’ Broadcast.
The `Broadcast` screen can be accessed from the Broadcast icon in the [tools pane](./tools-pane.md) (below the result page), or from the Project menu β†’ Broadcast.

import RunInLiveCodes from '../../src/components/RunInLiveCodes.tsx';

<RunInLiveCodes params={{screen: 'broadcast'}} linkText="direct link" />

![Broadcast UI](./../../static/img/screenshots/broadcast.jpg)
![Broadcast UI](./../../static/img/screenshots/broadcast-1.jpg)

On connecting to the server, the channel URL returned by the server is displayed. The channel URL can be shared to different clients (browsers on same or different devices) to view result page or code updates in real-time.

If the option `Include source code` is enabled, the source and compiled code together with the current project configuration are also posted to the server with each update.

![Broadcast UI - broadcasting](./../../static/img/screenshots/broadcasting.jpg)
![Broadcast UI - broadcasting](./../../static/img/screenshots/broadcast-2.jpg)

The Broadcast icon (in tools pane), shows the broadcast status. Clicking the icon, opens the broadcast UI, where the channel URL is displayed and the broadcast can be stopped.

![Broadcast icon - broadcasting](./../../static/img/screenshots/broadcasting2.jpg)
![Broadcast icon - broadcasting](./../../static/img/screenshots/broadcast-3.jpg)

:::info Server

Expand Down Expand Up @@ -57,9 +57,9 @@ You can use one of these links to self-host it:

These are screenshots for the live-updated result page and code:

![Broadcasting result](./../../static/img/screenshots/broadcasting-result.jpg)
![Broadcasting result](./../../static/img/screenshots/broadcast-4.jpg)

![Broadcasting code](./../../static/img/screenshots/broadcasting-code.jpg)
![Broadcasting code](./../../static/img/screenshots/broadcast-5.jpg)

## Technical Details

Expand Down
4 changes: 2 additions & 2 deletions docs/docs/features/code-format.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,15 @@ For example:

Code formatting for the code in the active editor can be triggered by the `Format` button below the editor.

![code format](../../static/img/screenshots/format.jpg)
![code format](../../static/img/screenshots/format-1.jpg)

## Keyboard Shortcut

Code formatting can also be trigger by the keyboard shortcut <kbd>Alt</kbd> + <kbd>Shift</kbd> + <kbd>F</kbd>.

## Format on-save

Format on-save can be enabled from the app menu β†’ Format on-save.
Format on-save can be enabled from the Settings menu β†’ Format on-save.

## Format Options

Expand Down
2 changes: 2 additions & 0 deletions docs/docs/features/compiled-code.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ The resulting compiled/transpiled code can be seen in the compiled code viewer (

This can be a great tool for learning. As you write code, you see the compiled code and the resulting page at the same time. The compiled code viewer shows the code compiled from the currently active editor (markup/style/script). This includes the CSS produced by CSS processors (e.g. Autoprefixer), if enabled.

![Compiled Code Viewer](./../../static/img/screenshots/compiled-code-1.jpg)

e.g. https://livecodes.io/?ts&compiled=full <br />
sets TypeScript as the active editor and shows compiled code viewer maximized.

Expand Down
2 changes: 1 addition & 1 deletion docs/docs/features/css.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ The [result page](./result.md) can be styled with CSS using various methods, inc

Code added to [style editor](./projects.md#style-editor) is [compiled](#languages) and [processed](#css-processors), then added as CSS to the [result page](./result.md) `head` element.

![LiveCodes styles](../../static/img/screenshots/css-processors.png)
![LiveCodes styles](../../static/img/screenshots/css-processors.jpg) <!-- http://127.0.0.1:8080/?x=id/8gvn866qvh5 -->

### Languages

Expand Down
2 changes: 1 addition & 1 deletion docs/docs/features/data-urls.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Data URLs can be created from:

For local files on user's device.

[Assets screen](./assets.md) can be accessed from app menu β†’ Assets. This works for any file type, including text files (e.g. stylesheets or scripts) and binary files like images. Generated data URLs are saved locally in the user's browser storage and are available across projects.
[Assets screen](./assets.md) can be accessed from Settings menu β†’ Assets. This works for any file type, including text files (e.g. stylesheets or scripts) and binary files like images. Generated data URLs are saved locally in the user's browser storage and are available across projects.

### "Copy code as data URL" button

Expand Down
4 changes: 2 additions & 2 deletions docs/docs/features/default-template-language.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ The app can also be configured to load a default [user template](./templates.md#

If you do not already have any user templates, save any loaded project as template:

App menu β†’ Save as β†’ Template.
Project menu β†’ Save as β†’ Template.

Then, in the user templates screen (app menu β†’ New ... β†’ My Templates), find your template and click "Set as default".
Then, in the user templates screen (Project menu β†’ New ... β†’ My Templates), find your template and click "Set as default".

If you wish to clear that selection, find the default template in user templates and click "unset".

Expand Down
4 changes: 2 additions & 2 deletions docs/docs/features/deploy.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@

The result page (of any number of projects) can be deployed and hosted at [GitHub Pages](https://pages.github.com/) (a free service from GitHub for hosting static websites). This requires login with a [GitHub account](./github-integration.md).

The `Deploy` screen can be accessed from the app menu β†’ Deploy.
The `Deploy` screen can be accessed from the Project menu β†’ Deploy.

import RunInLiveCodes from '../../src/components/RunInLiveCodes.tsx';

<RunInLiveCodes params={{screen: 'deploy'}} linkText="direct link" />

![LiveCodes Deploy](../../static/img/screenshots/deploy.jpg)
![LiveCodes Deploy](../../static/img/screenshots/deploy-1.jpg)

The result page (and optionally the source code) is pushed to `gh-pages` branch of a **public** GitHub repo (new or existing). The page, shortly, becomes available on `https://{user}.github.io/{repo}/`.

Expand Down
6 changes: 3 additions & 3 deletions docs/docs/features/display-modes.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Example: https://livecodes.io/?template=react

Screenshot: (App in full mode)

![full-mode](../../static/img/screenshots/focus-mode.png)
![full-mode](../../static/img/screenshots/mode-full.jpg)

Demo: (Embedded playground in full mode)

Expand All @@ -27,7 +27,7 @@ Example: https://livecodes.io/?template=react&mode=focus

Screenshot: (focus mode)

![focus-mode](../../static/img/screenshots/focus-mode.png)
![focus-mode](../../static/img/screenshots/mode-focus.jpg)

## `simple`

Expand Down Expand Up @@ -90,7 +90,7 @@ Demo:

## `result`

Shows the result page only, with a small overlay (appears on hover) that allows opening the project in the full playground.
Shows the result page only, with a drawer at the bottom (which can be closed) that allows opening the project in the full playground.

Example: https://livecodes.io/?mode=result&template=react

Expand Down
16 changes: 4 additions & 12 deletions docs/docs/features/editor-settings.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,30 +2,22 @@

LiveCodes allows a lot of flexibility for configuring which code editor to use and its settings.

`Editor Settings` screen can be accessed from app menu β†’ Editor Settings.
`Editor Settings` screen can be accessed from Settings menu β†’ Editor Settings.

import RunInLiveCodes from '../../src/components/RunInLiveCodes.tsx';

<RunInLiveCodes params={{screen: 'editor-settings'}} linkText="direct link" />

![LiveCodes Editor Settings](../../static/img/screenshots/editor-settings-1.png)
![LiveCodes Editor Settings](../../static/img/screenshots/editor-settings-1.jpg)

![LiveCodes Editor Settings](../../static/img/screenshots/editor-settings-2.png)
![LiveCodes Editor Settings](../../static/img/screenshots/editor-settings-2.jpg)

![LiveCodes Editor Settings](../../static/img/screenshots/editor-settings-3.png)

![LiveCodes Editor Settings](../../static/img/screenshots/editor-settings-4.png)
![LiveCodes Editor Settings](../../static/img/screenshots/editor-settings-3.jpg)

A preview code editor is displayed to preview the settings in real time.

The settings selected in the `Editor Settings` screen are saved locally to [user settings](./user-settings.md) and are used subsequently. These include:

### App UI Language

Explore and use LiveCodes in [your preferred language](./i18n.md).

This is actually a global option and is **not specific to the editor**. Might be moved to a separate [User Settings](./user-settings.md) screen in the future.

### Enable AI Code Assistant

Enables the [AI code assistant](./ai.md). (Free and no account required)
Expand Down
10 changes: 5 additions & 5 deletions docs/docs/features/embeds.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,17 +16,17 @@ The embedding web page can communicate with the playground using a powerful [SDK

### App Embed Screen

In the [standalone app](../getting-started.md#standalone-app), the Embed Screen can be accessed from app menu β†’ Embed.
In the [standalone app](../getting-started.md#standalone-app), the Embed Screen can be accessed from Project menu β†’ Embed.

import RunInLiveCodes from '../../src/components/RunInLiveCodes.tsx';

<RunInLiveCodes params={{screen: 'embed'}} linkText="direct link" />

It shows a preview of the embedded playground, allows customizations of [embed options](../sdk/js-ts.md#embed-options) and provides generated code that can be added to the web page that will embed the playground.

![LiveCodes embed](../../static/img/screenshots/embed1.png)
![LiveCodes embed](../../static/img/screenshots/embed2.png)
![LiveCodes embed](../../static/img/screenshots/embed3.png)
![LiveCodes embed](../../static/img/screenshots/embed-1.jpg)
![LiveCodes embed](../../static/img/screenshots/embed-2.jpg)
![LiveCodes embed](../../static/img/screenshots/embed-3.jpg)

:::info Note

Expand Down Expand Up @@ -70,7 +70,7 @@ Some of the features of the full standalone app are not available or shown by de
- All features that require authentication:
e.g. [login/logout](./github-integration.md), [sync](./sync.md), [deploy](./deploy.md), [importing](./import.md) from private github repos.
- [Broadcast](./broadcast.md).
- App menu.
- App menus.
- Some tools in [tools pane](./tools-pane.md):
e.g. open result page in new window, broadcast status.
- [Welcome screen](./welcome.md).
Expand Down
Loading
Loading