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 <gwenn.lebihan7@gmail.com>

* Update gitlab_project.md

Signed-off-by: Gwenn Le Bihan <gwenn.lebihan7@gmail.com>

* Update docs/usage/room_configuration/gitlab_project.md

Signed-off-by: Will Hunt <github@half-shot.uk>

* Create 1016.doc

Signed-off-by: Will Hunt <github@half-shot.uk>

---------

Signed-off-by: Gwenn Le Bihan <gwenn.lebihan7@gmail.com>
Signed-off-by: Will Hunt <github@half-shot.uk>
Co-authored-by: Will Hunt <github@half-shot.uk>
Co-authored-by: Will Hunt <will@half-shot.uk>
This commit is contained in:
Gwenn Le Bihan 2025-02-25 14:27:53 +01:00 committed by GitHub
parent 3d3f7d6022
commit d5f1780f1d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 4 additions and 1 deletions

1
changelog.d/1016.doc Normal file
View File

@ -0,0 +1 @@
Explain how to edit room state for GitLab projects from within Element.

View File

@ -19,7 +19,7 @@ To set up a connection to a GitLab project in a new room:
## Configuration ## Configuration
This connection supports a few options which can be defined in the room state: This connection supports a few options which can be defined in the room state[^2]:
| Option | Description | Allowed values | Default | | Option | Description | Allowed values | Default |
|--------|-------------|----------------|---------| |--------|-------------|----------------|---------|
@ -34,6 +34,8 @@ This connection supports a few options which can be defined in the room state:
[^1]: `ignoreHooks` is no longer accepted for new state events. Use `enableHooks` to explicitly state all events you want to see. [^1]: `ignoreHooks` is no longer accepted for new state events. Use `enableHooks` to explicitly state all events you want to see.
[^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.
### Supported event types ### Supported event types