Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 12 additions & 12 deletions lib/app_events_docs_generator/app_events/app_events_details.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
{
"eventId": "topic-entrance:show",
"filePath": "/frontend/discourse/app/components/basic-topic-list.gjs",
"lineNumber": 89,
"lineNumber": 72,
"args": [
{
"argValue": [
Expand Down Expand Up @@ -789,7 +789,7 @@
{
"eventId": "dom:clean",
"filePath": "/frontend/discourse/app/instance-initializers/clean-dom-on-route-change.js",
"lineNumber": 35,
"lineNumber": 28,
"args": [],
"comments": null
},
Expand Down Expand Up @@ -1805,7 +1805,7 @@
{
"eventId": "draft:destroyed",
"filePath": "/frontend/discourse/app/services/composer.js",
"lineNumber": 1635,
"lineNumber": 1641,
"args": [
{
"argValue": "key",
Expand All @@ -1818,28 +1818,28 @@
{
"eventId": "composer:cancelled",
"filePath": "/frontend/discourse/app/services/composer.js",
"lineNumber": 1654,
"lineNumber": 1660,
"args": [],
"comments": null
},
{
"eventId": "composer:cancelled",
"filePath": "/frontend/discourse/app/services/composer.js",
"lineNumber": 1669,
"lineNumber": 1675,
"args": [],
"comments": null
},
{
"eventId": "composer:cancelled",
"filePath": "/frontend/discourse/app/services/composer.js",
"lineNumber": 1686,
"lineNumber": 1692,
"args": [],
"comments": null
},
{
"eventId": "composer-service:last-validated-at-cleared",
"filePath": "/frontend/discourse/app/services/composer.js",
"lineNumber": 1855,
"lineNumber": 1861,
"args": [],
"comments": null
},
Expand Down Expand Up @@ -2174,7 +2174,7 @@
{
"eventId": "chat:modify-selection",
"filePath": "/plugins/chat/assets/javascripts/discourse/initializers/chat-keyboard-shortcuts.js",
"lineNumber": 77,
"lineNumber": 76,
"args": [
{
"argValue": "event",
Expand All @@ -2201,7 +2201,7 @@
{
"eventId": "chat:open-insert-link-modal",
"filePath": "/plugins/chat/assets/javascripts/discourse/initializers/chat-keyboard-shortcuts.js",
"lineNumber": 89,
"lineNumber": 88,
"args": [
{
"argValue": "event",
Expand All @@ -2224,7 +2224,7 @@
{
"eventId": "chat:toggle-close",
"filePath": "/plugins/chat/assets/javascripts/discourse/initializers/chat-keyboard-shortcuts.js",
"lineNumber": 117,
"lineNumber": 113,
"args": [
{
"argValue": "event",
Expand Down Expand Up @@ -2441,7 +2441,7 @@
{
"eventId": "header:update-topic",
"filePath": "/plugins/discourse-assign/assets/javascripts/discourse/initializers/extend-for-assigns.js",
"lineNumber": 502,
"lineNumber": 506,
"args": [
{
"argValue": "topic",
Expand Down Expand Up @@ -2754,7 +2754,7 @@
{
"eventId": "discourse-reactions:reaction-toggled",
"filePath": "/plugins/discourse-reactions/assets/javascripts/discourse/models/discourse-reactions-custom-reaction.js",
"lineNumber": 15,
"lineNumber": 17,
"args": [
{
"argValue": [
Expand Down
30 changes: 15 additions & 15 deletions lib/app_events_docs_generator/app_events/app_events_docs.md
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ No arguments passed to this event.
| -------- | ------------------- | -------- | -------------- | ----------- |
| 1 | result1.interaction | property | True | - |

#### chat:modify-selection [:link:](https://github.com/discourse/discourse/blob/main/plugins/chat/assets/javascripts/discourse/initializers/chat-keyboard-shortcuts.js#L77)
#### chat:modify-selection [:link:](https://github.com/discourse/discourse/blob/main/plugins/chat/assets/javascripts/discourse/initializers/chat-keyboard-shortcuts.js#L76)

| Position | Argument | Type | Always Present | Description |
| -------- | ------------------ | -------- | -------------- | ----------- |
Expand All @@ -160,7 +160,7 @@ No arguments passed to this event.
| - | objectArg2.type | variable | True | - |
| - | objectArg2.context | property | True | - |

#### chat:open-insert-link-modal [:link:](https://github.com/discourse/discourse/blob/main/plugins/chat/assets/javascripts/discourse/initializers/chat-keyboard-shortcuts.js#L89)
#### chat:open-insert-link-modal [:link:](https://github.com/discourse/discourse/blob/main/plugins/chat/assets/javascripts/discourse/initializers/chat-keyboard-shortcuts.js#L88)

| Position | Argument | Type | Always Present | Description |
| -------- | ------------------ | -------- | -------------- | ----------- |
Expand Down Expand Up @@ -198,15 +198,15 @@ No arguments passed to this event.

No arguments passed to this event.

#### chat:toggle-close [:link:](https://github.com/discourse/discourse/blob/main/plugins/chat/assets/javascripts/discourse/initializers/chat-keyboard-shortcuts.js#L117)
#### chat:toggle-close [:link:](https://github.com/discourse/discourse/blob/main/plugins/chat/assets/javascripts/discourse/initializers/chat-keyboard-shortcuts.js#L113)

| Position | Argument | Type | Always Present | Description |
| -------- | -------- | -------- | -------------- | ----------- |
| 1 | event | variable | False | - |

<details><summary>Detailed List</summary>

##### /plugins/chat/assets/javascripts/discourse/initializers/chat-keyboard-shortcuts.js#117 [:link:](https://github.com/discourse/discourse/blob/main/plugins/chat/assets/javascripts/discourse/initializers/chat-keyboard-shortcuts.js#L117)
##### /plugins/chat/assets/javascripts/discourse/initializers/chat-keyboard-shortcuts.js#113 [:link:](https://github.com/discourse/discourse/blob/main/plugins/chat/assets/javascripts/discourse/initializers/chat-keyboard-shortcuts.js#L113)

| Position | Argument | Type | Description |
| -------- | -------- | -------- | ----------- |
Expand Down Expand Up @@ -254,21 +254,21 @@ No arguments passed to this event.

No arguments passed to this event.

#### composer:cancelled [:link:](https://github.com/discourse/discourse/blob/main/frontend/discourse/app/services/composer.js#L1654)
#### composer:cancelled [:link:](https://github.com/discourse/discourse/blob/main/frontend/discourse/app/services/composer.js#L1660)

No arguments passed to this event.

<details><summary>Detailed List</summary>

##### /frontend/discourse/app/services/composer.js#1654 [:link:](https://github.com/discourse/discourse/blob/main/frontend/discourse/app/services/composer.js#L1654)
##### /frontend/discourse/app/services/composer.js#1660 [:link:](https://github.com/discourse/discourse/blob/main/frontend/discourse/app/services/composer.js#L1660)

No arguments passed to this event.

##### /frontend/discourse/app/services/composer.js#1669 [:link:](https://github.com/discourse/discourse/blob/main/frontend/discourse/app/services/composer.js#L1669)
##### /frontend/discourse/app/services/composer.js#1675 [:link:](https://github.com/discourse/discourse/blob/main/frontend/discourse/app/services/composer.js#L1675)

No arguments passed to this event.

##### /frontend/discourse/app/services/composer.js#1686 [:link:](https://github.com/discourse/discourse/blob/main/frontend/discourse/app/services/composer.js#L1686)
##### /frontend/discourse/app/services/composer.js#1692 [:link:](https://github.com/discourse/discourse/blob/main/frontend/discourse/app/services/composer.js#L1692)

No arguments passed to this event.

Expand Down Expand Up @@ -626,7 +626,7 @@ No arguments passed to this event.


### composer-service
#### composer-service:last-validated-at-cleared [:link:](https://github.com/discourse/discourse/blob/main/frontend/discourse/app/services/composer.js#L1855)
#### composer-service:last-validated-at-cleared [:link:](https://github.com/discourse/discourse/blob/main/frontend/discourse/app/services/composer.js#L1861)

No arguments passed to this event.

Expand Down Expand Up @@ -728,7 +728,7 @@ No arguments passed to this event.


### discourse-reactions
#### discourse-reactions:reaction-toggled [:link:](https://github.com/discourse/discourse/blob/main/plugins/discourse-reactions/assets/javascripts/discourse/models/discourse-reactions-custom-reaction.js#L15)
#### discourse-reactions:reaction-toggled [:link:](https://github.com/discourse/discourse/blob/main/plugins/discourse-reactions/assets/javascripts/discourse/models/discourse-reactions-custom-reaction.js#L17)

| Position | Argument | Type | Always Present | Description |
| -------- | ------------------- | -------- | -------------- | ----------- |
Expand Down Expand Up @@ -779,13 +779,13 @@ No arguments passed to this event.


### dom
#### dom:clean [:link:](https://github.com/discourse/discourse/blob/main/frontend/discourse/app/instance-initializers/clean-dom-on-route-change.js#L35)
#### dom:clean [:link:](https://github.com/discourse/discourse/blob/main/frontend/discourse/app/instance-initializers/clean-dom-on-route-change.js#L28)

No arguments passed to this event.


### draft
#### draft:destroyed [:link:](https://github.com/discourse/discourse/blob/main/frontend/discourse/app/services/composer.js#L1635)
#### draft:destroyed [:link:](https://github.com/discourse/discourse/blob/main/frontend/discourse/app/services/composer.js#L1641)

| Position | Argument | Type | Always Present | Description |
| -------- | -------- | -------- | -------------- | ----------- |
Expand Down Expand Up @@ -915,7 +915,7 @@ No arguments passed to this event.
| -------- | -------------- | -------- | ----------- |
| 1 | composer.topic | property | - |

##### /plugins/discourse-assign/assets/javascripts/discourse/initializers/extend-for-assigns.js#502 [:link:](https://github.com/discourse/discourse/blob/main/plugins/discourse-assign/assets/javascripts/discourse/initializers/extend-for-assigns.js#L502)
##### /plugins/discourse-assign/assets/javascripts/discourse/initializers/extend-for-assigns.js#506 [:link:](https://github.com/discourse/discourse/blob/main/plugins/discourse-assign/assets/javascripts/discourse/initializers/extend-for-assigns.js#L506)

| Position | Argument | Type | Description |
| -------- | -------- | -------- | ----------- |
Expand Down Expand Up @@ -1363,7 +1363,7 @@ No arguments passed to this event.


### topic-entrance
#### topic-entrance:show [:link:](https://github.com/discourse/discourse/blob/main/frontend/discourse/app/components/basic-topic-list.gjs#L89)
#### topic-entrance:show [:link:](https://github.com/discourse/discourse/blob/main/frontend/discourse/app/components/basic-topic-list.gjs#L72)

| Position | Argument | Type | Always Present | Description |
| -------- | ------------------- | --------------- | -------------- | ----------- |
Expand All @@ -1373,7 +1373,7 @@ No arguments passed to this event.

<details><summary>Detailed List</summary>

##### /frontend/discourse/app/components/basic-topic-list.gjs#89 [:link:](https://github.com/discourse/discourse/blob/main/frontend/discourse/app/components/basic-topic-list.gjs#L89)
##### /frontend/discourse/app/components/basic-topic-list.gjs#72 [:link:](https://github.com/discourse/discourse/blob/main/frontend/discourse/app/components/basic-topic-list.gjs#L72)

| Position | Argument | Type | Description |
| -------- | ------------------- | --------------- | ----------- |
Expand Down