Skip to content

Commit 616ee92

Browse files
hbcarlosCarlosjtpiofcollonval
authored
Log console (#101)
* Two new examples about log console. * Added a context menu exaple issue #100. * Added the new examples to readme * Add log-console and context-menu to CI workflow * Fix log-console linting * Fix context-menu linting * Fix eslint for log-console/custom-log-console * Disable eslint camelcase rule * Remove eslint warnings for the log console example * Switch to warn for @typescript-eslint/camelcase * Minor wording pass on log-console and context-menu * Delete Untitled.ipynb * README improvements * Correct author to align with #103 Co-authored-by: Carlos <[email protected]> Co-authored-by: Jeremy Tuloup <[email protected]> Co-authored-by: Frederic Collonval <[email protected]>
1 parent 3cd1f85 commit 616ee92

File tree

48 files changed

+1276
-12
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

48 files changed

+1276
-12
lines changed

.github/workflows/main.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,10 @@ jobs:
2121
- basics/signals
2222
- command-palette
2323
- commands
24+
- context-menu
2425
- launcher
26+
- log-console/custom-log-console
27+
- log-console/log-messages
2528
- main-menu
2629
- react/react-widget
2730
- settings

README.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,9 @@ Start with the [Hello World](basics/hello-world) and then jump to the topic you
4040
- [State](state)
4141
- [React Widget](react/react-widget)
4242
- [Widgets](widget-tracker/widgets)
43+
- [Log Messages](log-console/log-messages)
44+
- [Custom Log Console](log-console/custom-log-console)
45+
- [Context Menu](context-menu)
4346
- [Kernel Output](advanced/kernel-output)
4447
- [Kernel Messaging](advanced/kernel-messaging)
4548
- [Server Hello World](advanced/server-extension)
@@ -139,6 +142,28 @@ Add a new Widget element to the main window.
139142

140143
[![Custom Tab](widget-tracker/widgets/preview.png)](widget-tracker/widgets)
141144

145+
## Log Console
146+
147+
### [Log Messages](log-messages)
148+
149+
Send a log message to the log console.
150+
151+
[![Log Messages](log-console/log-messages/preview.gif)](log-console/log-messages)
152+
153+
### [Custom Log Console](custom-log-console)
154+
155+
Create a new log console.
156+
157+
[![Custom Log Console](log-console/custom-log-console/preview.gif)](log-console/custom-log-console)
158+
159+
## Context Menu
160+
161+
### [Context Menu](context-menu)
162+
163+
Add a new button to an existent context menu.
164+
165+
[![Context Menu](context-menu/preview.gif)](context-menu)
166+
142167
## Advanced
143168

144169
### [Kernel Output](advanced/kernel-output)

advanced/kernel-messaging/.eslintrc.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ module.exports = {
2020
],
2121
'@typescript-eslint/no-unused-vars': ['warn', { args: 'none' }],
2222
'@typescript-eslint/no-explicit-any': 'off',
23+
'@typescript-eslint/camelcase': 'warn',
2324
'@typescript-eslint/no-namespace': 'off',
2425
'@typescript-eslint/no-use-before-define': 'off',
2526
'@typescript-eslint/quotes': [

advanced/kernel-output/.eslintrc.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ module.exports = {
2020
],
2121
'@typescript-eslint/no-unused-vars': ['warn', { args: 'none' }],
2222
'@typescript-eslint/no-explicit-any': 'off',
23+
'@typescript-eslint/camelcase': 'warn',
2324
'@typescript-eslint/no-namespace': 'off',
2425
'@typescript-eslint/no-use-before-define': 'off',
2526
'@typescript-eslint/quotes': [

advanced/server-extension/.eslintrc.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ module.exports = {
2020
],
2121
'@typescript-eslint/no-unused-vars': ['warn', { args: 'none' }],
2222
'@typescript-eslint/no-explicit-any': 'off',
23+
'@typescript-eslint/camelcase': 'warn',
2324
'@typescript-eslint/no-namespace': 'off',
2425
'@typescript-eslint/no-use-before-define': 'off',
2526
'@typescript-eslint/quotes': [

basics/datagrid/.eslintrc.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ module.exports = {
2020
],
2121
'@typescript-eslint/no-unused-vars': ['warn', { args: 'none' }],
2222
'@typescript-eslint/no-explicit-any': 'off',
23+
'@typescript-eslint/camelcase': 'warn',
2324
'@typescript-eslint/no-namespace': 'off',
2425
'@typescript-eslint/no-use-before-define': 'off',
2526
'@typescript-eslint/quotes': [

basics/hello-world/.eslintrc.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ module.exports = {
2020
],
2121
'@typescript-eslint/no-unused-vars': ['warn', { args: 'none' }],
2222
'@typescript-eslint/no-explicit-any': 'off',
23+
'@typescript-eslint/camelcase': 'warn',
2324
'@typescript-eslint/no-namespace': 'off',
2425
'@typescript-eslint/no-use-before-define': 'off',
2526
'@typescript-eslint/quotes': [

basics/signals/.eslintrc.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ module.exports = {
2020
],
2121
'@typescript-eslint/no-unused-vars': ['warn', { args: 'none' }],
2222
'@typescript-eslint/no-explicit-any': 'off',
23+
'@typescript-eslint/camelcase': 'warn',
2324
'@typescript-eslint/no-namespace': 'off',
2425
'@typescript-eslint/no-use-before-define': 'off',
2526
'@typescript-eslint/quotes': [

command-palette/.eslintrc.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ module.exports = {
2020
],
2121
'@typescript-eslint/no-unused-vars': ['warn', { args: 'none' }],
2222
'@typescript-eslint/no-explicit-any': 'off',
23+
'@typescript-eslint/camelcase': 'warn',
2324
'@typescript-eslint/no-namespace': 'off',
2425
'@typescript-eslint/no-use-before-define': 'off',
2526
'@typescript-eslint/quotes': [

commands/.eslintrc.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ module.exports = {
2020
],
2121
'@typescript-eslint/no-unused-vars': ['warn', { args: 'none' }],
2222
'@typescript-eslint/no-explicit-any': 'off',
23+
'@typescript-eslint/camelcase': 'warn',
2324
'@typescript-eslint/no-namespace': 'off',
2425
'@typescript-eslint/no-use-before-define': 'off',
2526
'@typescript-eslint/quotes': [

0 commit comments

Comments
 (0)