Skip to content

Commit d5f1780

Browse files
gwennlbhHalf-Shot
andauthored
docs: explain how to access room state for gitlab projects (#1016)
* docs: explain how to access room state for gitlab projects Closes #260 Signed-off-by: Gwenn Le Bihan <[email protected]> * Update gitlab_project.md Signed-off-by: Gwenn Le Bihan <[email protected]> * Update docs/usage/room_configuration/gitlab_project.md Signed-off-by: Will Hunt <[email protected]> * Create 1016.doc Signed-off-by: Will Hunt <[email protected]> --------- Signed-off-by: Gwenn Le Bihan <[email protected]> Signed-off-by: Will Hunt <[email protected]> Co-authored-by: Will Hunt <[email protected]> Co-authored-by: Will Hunt <[email protected]>
1 parent 3d3f7d6 commit d5f1780

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

changelog.d/1016.doc

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Explain how to edit room state for GitLab projects from within Element.

docs/usage/room_configuration/gitlab_project.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ To set up a connection to a GitLab project in a new room:
1919

2020
## Configuration
2121

22-
This connection supports a few options which can be defined in the room state:
22+
This connection supports a few options which can be defined in the room state[^2]:
2323

2424
| Option | Description | Allowed values | Default |
2525
|--------|-------------|----------------|---------|
@@ -34,6 +34,8 @@ This connection supports a few options which can be defined in the room state:
3434

3535
[^1]: `ignoreHooks` is no longer accepted for new state events. Use `enableHooks` to explicitly state all events you want to see.
3636

37+
[^2]: To change room state with Element Web/Desktop: open devtools by typing `/devtools` + enter in the chat box, and click on "Explore room state". Next, choose `uk.half-shot.matrix-hookshot.gitlab.repository`. You'll then be able to see and edit (if you have the required permissions) the settings by setting properties on the JSON object directly.
38+
3739

3840
### Supported event types
3941

0 commit comments

Comments
 (0)