Skip to content
This repository was archived by the owner on Feb 19, 2022. It is now read-only.

Commit a0596e6

Browse files
committed
Merge tag 'v1.9.5' into build
* Make double-clicking the PiP take you to the call room ([\element-hq#7142](matrix-org/matrix-react-sdk#7142)). Fixes element-hq#18421 element-hq#15920 and element-hq#18421. Contributed by @SimonBrandner. * Add maximise widget functionality ([\element-hq#7098](matrix-org/matrix-react-sdk#7098)). Fixes element-hq#19619, element-hq#19621 element-hq#19760 and element-hq#19619. * Add rainfall effect ([\element-hq#7086](matrix-org/matrix-react-sdk#7086)). Contributed by @justjosias. * Add root folder to zip file created by export chat feature ([\element-hq#7097](matrix-org/matrix-react-sdk#7097)). Fixes element-hq#19653 and element-hq#19653. Contributed by @aaronraimist. * Improve VoIP UI/UX ([\element-hq#7048](matrix-org/matrix-react-sdk#7048)). Fixes element-hq#19513 and element-hq#19513. Contributed by @SimonBrandner. * Unified room context menus ([\element-hq#7072](matrix-org/matrix-react-sdk#7072)). Fixes element-hq#19527 and element-hq#19527. * In forgot password screen, show validation errors inline in the form, instead of in modals ([\element-hq#7113](matrix-org/matrix-react-sdk#7113)). Contributed by @psrpinto. * Implement more meta-spaces ([\element-hq#7077](matrix-org/matrix-react-sdk#7077)). Fixes element-hq#18634 element-hq#17295 and element-hq#18634. * Expose power level control for m.space.child ([\#7120](matrix-org/matrix-react-sdk#7120)). * Forget member-list query when switching out of a room ([\element-hq#7093](matrix-org/matrix-react-sdk#7093)). Fixes element-hq#19432 and element-hq#19432. Contributed by @SimonBrandner. * Do pre-submit availability check on username during registration ([\#6978](matrix-org/matrix-react-sdk#6978)). Fixes element-hq#9545 and element-hq#9545. * Adjust recovery key button sizes depending on text width ([\element-hq#7134](matrix-org/matrix-react-sdk#7134)). Fixes element-hq#19511 and element-hq#19511. Contributed by @weeman1337. * Fix bulk invite button getting a negative count ([\element-hq#7122](matrix-org/matrix-react-sdk#7122)). Fixes element-hq#19466 and element-hq#19466. Contributed by @renancleyson-dev. * Fix maximised / pinned widget state being loaded correctly ([\element-hq#7146](matrix-org/matrix-react-sdk#7146)). Fixes element-hq#19768 and element-hq#19768. * Don't reload the page when user hits enter when entering ban reason ([\element-hq#7145](matrix-org/matrix-react-sdk#7145)). Fixes element-hq#19763 and element-hq#19763. * Fix timeline text when sharing room layout ([\element-hq#7140](matrix-org/matrix-react-sdk#7140)). Fixes element-hq#19622 and element-hq#19622. * Fix look of emoji verification ([\element-hq#7133](matrix-org/matrix-react-sdk#7133)). Fixes element-hq#19740 and element-hq#19740. Contributed by @SimonBrandner. * Fixes element not remembering widget hidden state per room ([\#7136](matrix-org/matrix-react-sdk#7136)). Fixes element-hq#16672, matrix-org/element-web-rageshakes#4407, element-hq#15718 element-hq#15768 and element-hq#16672. * Don't keep spinning if joining space child failed ([\element-hq#7129](matrix-org/matrix-react-sdk#7129)). Fixes matrix-org/element-web-rageshakes#6813 and matrix-org/element-web-rageshakes#6813. * Guard around SpaceStore onAccountData handler prevEvent ([\element-hq#7123](matrix-org/matrix-react-sdk#7123)). Fixes element-hq#19705 and element-hq#19705. * Fix missing spaces in threads copy ([\element-hq#7119](matrix-org/matrix-react-sdk#7119)). Fixes element-hq#19702 and element-hq#19702. * Fix hover tile border ([\element-hq#7117](matrix-org/matrix-react-sdk#7117)). Fixes element-hq#19698 and element-hq#19698. Contributed by @SimonBrandner. * Fix quote button ([\element-hq#7096](matrix-org/matrix-react-sdk#7096)). Fixes element-hq#19659 and element-hq#19659. Contributed by @SimonBrandner. * Fix space panel layout edge cases ([\#7101](matrix-org/matrix-react-sdk#7101)). Fixes element-hq#19668 and element-hq#19668. * Update powerlevel/role when the user changes in the user info panel ([\element-hq#7099](matrix-org/matrix-react-sdk#7099)). Fixes element-hq#19666 and element-hq#19666. Contributed by @SimonBrandner. * Fix avatar disappearing when setting a room topic ([\element-hq#7092](matrix-org/matrix-react-sdk#7092)). Fixes element-hq#19226 and element-hq#19226. Contributed by @SimonBrandner. * Fix possible infinite loop on widget start ([\#7071](matrix-org/matrix-react-sdk#7071)). Fixes element-hq#15494 and element-hq#15494. * Use device IDs for nameless devices in device list ([\element-hq#7081](matrix-org/matrix-react-sdk#7081)). Fixes element-hq#19608 and element-hq#19608. * Don't re-sort rooms on no-op RoomUpdateCause.PossibleTagChange ([\element-hq#7053](matrix-org/matrix-react-sdk#7053)). Contributed by @bradtgmurray.
2 parents 343a81c + d443787 commit a0596e6

File tree

14 files changed

+321
-92
lines changed

14 files changed

+321
-92
lines changed

.github/workflows/issues_to_projects.yaml

Lines changed: 0 additions & 36 deletions
This file was deleted.

.github/workflows/triage-incoming.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
automate-project-columns:
99
runs-on: ubuntu-latest
1010
steps:
11-
- uses: alex-page/github-project-automation-plus@v0.8.1
11+
- uses: alex-page/github-project-automation-plus@bb266ff4dde9242060e2d5418e120a133586d488
1212
with:
1313
project: Issue triage
1414
column: Incoming
Lines changed: 133 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,133 @@
1+
name: Move labelled issues to correct boards and columns
2+
3+
on:
4+
issues:
5+
types: [labeled]
6+
7+
jobs:
8+
move_needs_info_issues:
9+
name: Move X-Needs-Info issues to Need info on triage board
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: konradpabjan/move-labeled-or-milestoned-issue@219d384e03fa4b6460cd24f9f37d19eb033a4338
13+
with:
14+
action-token: "${{ secrets.ELEMENT_BOT_TOKEN }}"
15+
project-url: "https://github.com/vector-im/element-web/projects/27"
16+
column-name: "Need info"
17+
label-name: "X-Needs-Info"
18+
19+
add_priority_design_issues_to_project:
20+
name: Move priority X-Needs-Design issues to Design project board
21+
runs-on: ubuntu-latest
22+
if: >
23+
contains(github.event.issue.labels.*.name, 'X-Needs-Design') &&
24+
contains(github.event.issue.labels.*.name, 'S-Critical') &&
25+
(contains(github.event.issue.labels.*.name, 'O-Frequent') ||
26+
contains(github.event.issue.labels.*.name, 'O-Occasional')) ||
27+
contains(github.event.issue.labels.*.name, 'S-Major') &&
28+
contains(github.event.issue.labels.*.name, 'O-Frequent') ||
29+
contains(github.event.issue.labels.*.name, 'A11y') &&
30+
contains(github.event.issue.labels.*.name, 'O-Frequent')
31+
steps:
32+
- uses: octokit/[email protected]
33+
id: add_to_project
34+
with:
35+
headers: '{"GraphQL-Features": "projects_next_graphql"}'
36+
query: |
37+
mutation add_to_project($projectid:String!,$contentid:String!) {
38+
addProjectNextItem(input:{projectId:$projectid contentId:$contentid}) {
39+
projectNextItem {
40+
id
41+
}
42+
}
43+
}
44+
projectid: ${{ env.PROJECT_ID }}
45+
contentid: ${{ github.event.issue.node_id }}
46+
env:
47+
PROJECT_ID: "PN_kwDOAM0swc0sUA"
48+
GITHUB_TOKEN: ${{ secrets.ELEMENT_BOT_TOKEN }}
49+
50+
move_spaces_issues:
51+
name: Move Spaces issues to Delight project board
52+
runs-on: ubuntu-latest
53+
if: >
54+
contains(github.event.issue.labels.*.name, 'A-Spaces') ||
55+
contains(github.event.issue.labels.*.name, 'A-Space-Settings') ||
56+
contains(github.event.issue.labels.*.name, 'A-Subspaces')
57+
steps:
58+
- uses: konradpabjan/move-labeled-or-milestoned-issue@219d384e03fa4b6460cd24f9f37d19eb033a4338
59+
with:
60+
action-token: "${{ secrets.ELEMENT_BOT_TOKEN }}"
61+
project-url: "https://github.com/orgs/vector-im/projects/6"
62+
column-name: "📥 Inbox"
63+
label-name: "A-Spaces"
64+
- uses: octokit/[email protected]
65+
id: add_to_delight2
66+
with:
67+
headers: '{"GraphQL-Features": "projects_next_graphql"}'
68+
query: |
69+
mutation add_to_project($projectid:String!,$contentid:String!) {
70+
addProjectNextItem(input:{projectId:$projectid contentId:$contentid}) {
71+
projectNextItem {
72+
id
73+
}
74+
}
75+
}
76+
projectid: ${{ env.PROJECT_ID }}
77+
contentid: ${{ github.event.issue.node_id }}
78+
env:
79+
PROJECT_ID: "PN_kwDOAM0swc1HvQ"
80+
GITHUB_TOKEN: ${{ secrets.ELEMENT_BOT_TOKEN }}
81+
82+
move_voice-message_issues:
83+
name: Move A-Voice Messages to Voice message board
84+
runs-on: ubuntu-latest
85+
if: >
86+
contains(github.event.issue.labels.*.name, 'A-Voice Messages')
87+
steps:
88+
- uses: konradpabjan/move-labeled-or-milestoned-issue@219d384e03fa4b6460cd24f9f37d19eb033a4338
89+
with:
90+
action-token: "${{ secrets.ELEMENT_BOT_TOKEN }}"
91+
project-url: "https://github.com/vector-im/element-web/projects/28"
92+
column-name: "📥 Inbox"
93+
label-name: "A-Voice Messages"
94+
- uses: octokit/[email protected]
95+
id: add_to_voice
96+
with:
97+
headers: '{"GraphQL-Features": "projects_next_graphql"}'
98+
query: |
99+
mutation add_to_project($projectid:String!,$contentid:String!) {
100+
addProjectNextItem(input:{projectId:$projectid contentId:$contentid}) {
101+
projectNextItem {
102+
id
103+
}
104+
}
105+
}
106+
projectid: ${{ env.PROJECT_ID }}
107+
contentid: ${{ github.event.issue.node_id }}
108+
env:
109+
PROJECT_ID: "PN_kwDOAM0swc2KCw"
110+
GITHUB_TOKEN: ${{ secrets.ELEMENT_BOT_TOKEN }}
111+
112+
move_threads_issues:
113+
name: Move A-Threads to Thread board
114+
runs-on: ubuntu-latest
115+
if: >
116+
contains(github.event.issue.labels.*.name, 'A-Threads')
117+
steps:
118+
- uses: octokit/[email protected]
119+
with:
120+
headers: '{"GraphQL-Features": "projects_next_graphql"}'
121+
query: |
122+
mutation add_to_project($projectid:String!,$contentid:String!) {
123+
addProjectNextItem(input:{projectId:$projectid contentId:$contentid}) {
124+
projectNextItem {
125+
id
126+
}
127+
}
128+
}
129+
projectid: ${{ env.PROJECT_ID }}
130+
contentid: ${{ github.event.issue.node_id }}
131+
env:
132+
PROJECT_ID: "PN_kwDOAM0swc0rRA"
133+
GITHUB_TOKEN: ${{ secrets.ELEMENT_BOT_TOKEN }}
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
name: Move unlabelled from needs info columns to triaged
2+
3+
on:
4+
issues:
5+
types: [unlabeled]
6+
7+
jobs:
8+
Move_Unabeled_Issue_On_Project_Board:
9+
name: Move no longer X-Needs-Info issues to Triaged
10+
runs-on: ubuntu-latest
11+
if: >
12+
${{
13+
!contains(github.event.issue.labels.*.name, 'X-Needs-Info') }}
14+
env:
15+
BOARD_NAME: "Issue triage"
16+
OWNER: ${{ github.repository_owner }}
17+
REPO: ${{ github.event.repository.name }}
18+
ISSUE: ${{ github.event.issue.number }}
19+
steps:
20+
- name: Check if issue is already in "${{ env.BOARD_NAME }}"
21+
run: |
22+
if curl -i -H 'Content-Type: application/json' -H "Authorization: bearer ${{ secrets.GITHUB_TOKEN }}" -X POST -d '{"query": "query($issue: Int!, $owner: String!, $repo: String!) { repository(owner: $owner, name: $repo) { issue(number: $issue) { projectCards { nodes { project { name } } } } } } ", "variables" : "{ \"issue\": '${ISSUE}', \"owner\": \"'${OWNER}'\", \"repo\": \"'${REPO}'\" }" }' https://api.github.com/graphql | grep "\b$BOARD_NAME\b"; then
23+
echo "Issue is already in Project '$BOARD_NAME', proceeding";
24+
echo "ALREADY_IN_BOARD=true" >> $GITHUB_ENV
25+
else
26+
echo "Issue is not in project '$BOARD_NAME', cancelling this workflow"
27+
echo "ALREADY_IN_BOARD=false" >> $GITHUB_ENV
28+
fi
29+
- name: Move issue
30+
uses: alex-page/github-project-automation-plus@bb266ff4dde9242060e2d5418e120a133586d488
31+
if: ${{ env.ALREADY_IN_BOARD == 'true' }}
32+
with:
33+
project: Issue triage
34+
column: Triaged
35+
repo-token: ${{ secrets.ELEMENT_BOT_TOKEN }}

.github/workflows/triage-needs-info.yml

Lines changed: 0 additions & 16 deletions
This file was deleted.

.github/workflows/triage-priority-bugs.yml

Lines changed: 24 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ on:
55
types: [labeled, unlabeled]
66

77
jobs:
8-
Move_high_priority_issues_to_team_workboard:
8+
p1_issues_to_team_workboard:
99
runs-on: ubuntu-latest
1010
if: >
1111
(!contains(github.event.issue.labels.*.name, 'A-E2EE') &&
@@ -25,9 +25,31 @@ jobs:
2525
contains(github.event.issue.labels.*.name, 'A11y') &&
2626
contains(github.event.issue.labels.*.name, 'O-Frequent'))
2727
steps:
28-
- uses: alex-page/github-project-automation-plus@v0.8.1
28+
- uses: alex-page/github-project-automation-plus@bb266ff4dde9242060e2d5418e120a133586d488
2929
with:
3030
project: Web App Team
3131
column: P1
3232
repo-token: ${{ secrets.ELEMENT_BOT_TOKEN }}
3333

34+
P1_issues_to_crypto_team_workboard:
35+
runs-on: ubuntu-latest
36+
if: >
37+
(contains(github.event.issue.labels.*.name, 'A-E2EE') ||
38+
contains(github.event.issue.labels.*.name, 'A-E2EE-Cross-Signing') ||
39+
contains(github.event.issue.labels.*.name, 'A-E2EE-Dehydration') ||
40+
contains(github.event.issue.labels.*.name, 'A-E2EE-Key-Backup') ||
41+
contains(github.event.issue.labels.*.name, 'A-E2EE-SAS-Verification')) &&
42+
(contains(github.event.issue.labels.*.name, 'T-Defect') &&
43+
contains(github.event.issue.labels.*.name, 'S-Critical') &&
44+
(contains(github.event.issue.labels.*.name, 'O-Frequent') ||
45+
contains(github.event.issue.labels.*.name, 'O-Occasional')) ||
46+
contains(github.event.issue.labels.*.name, 'S-Major') &&
47+
contains(github.event.issue.labels.*.name, 'O-Frequent') ||
48+
contains(github.event.issue.labels.*.name, 'A11y') &&
49+
contains(github.event.issue.labels.*.name, 'O-Frequent'))
50+
steps:
51+
- uses: alex-page/github-project-automation-plus@bb266ff4dde9242060e2d5418e120a133586d488
52+
with:
53+
project: Crypto Team
54+
column: Ready
55+
repo-token: ${{ secrets.ELEMENT_BOT_TOKEN }}

0 commit comments

Comments
 (0)