Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

trigger change #75

Open
wants to merge 70 commits into
base: jts/github-acions
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
70 commits
Select commit Hold shift + click to select a range
402e5db
Upgrade dependency to matrix-js-sdk@32.3.0-rc.0
RiotRobot May 15, 2024
d84bcbc
v3.100.0-rc.0
RiotRobot May 15, 2024
4f3dcb6
Upgrade dependency to matrix-js-sdk@32.3.0
RiotRobot May 21, 2024
f712b80
Remove code smell assertion identified by Sonar (#12547)
EdGeraghty May 21, 2024
a29cabe
Report verification and recovery state to posthog (#12516)
BillCarsonFr May 21, 2024
a5e4daa
Deprecate `Tooltip.tsx`
florianduros May 21, 2024
7d3b3d7
Use tooltip compound in `MessageComposer.tsx`
florianduros May 21, 2024
dbe00e5
Use tooltip compound in `ReadReceiptGroup` component
florianduros May 21, 2024
25fa123
Use tooltip compound in `ReadReceiptPerson` component
florianduros May 22, 2024
67c7514
Delete `useTooltip.tsx`
florianduros May 22, 2024
a6907a0
Use compound tooltip in `ReactionRowButton`
florianduros May 22, 2024
0c28d37
Upgrade dependency to matrix-js-sdk@32.4.0
RiotRobot May 22, 2024
1190de9
Migrate `TooltipTarget` usage to compound `Tooltip` (#12542)
florianduros May 22, 2024
04741ae
Add tests for `ReadReceiptGroup.tsx`
florianduros May 22, 2024
b6132db
Merge branch 'develop' into florianduros/tooltip/legacy-tooltip
florianduros May 22, 2024
8f07672
Add more tests for `ReadReceiptGroup.tsx`
florianduros May 22, 2024
d9f718e
Add more test for `ReactionsRowButton.tsx`
florianduros May 22, 2024
88e8e2d
Merge pull request #12549 from matrix-org/florianduros/tooltip/legacy…
dbkr May 23, 2024
bc48fe4
Add seedrandom dep to `resolutions` (#12552)
richvdh May 23, 2024
1973197
[create-pull-request] automated change (#12554)
RiotRobot May 24, 2024
148a360
Avoid using deprecated exports, fields, and duplicate code (#12555)
t3chguy May 28, 2024
e8bb241
Fix tabbedview breakpoint width (#12556)
dbkr May 28, 2024
17ab522
Tooltip: close field tooltip when ESC is pressed (#12553)
florianduros May 28, 2024
679b170
Close the release announcement when a dialog is opened (#12559)
florianduros May 29, 2024
ca16462
Merge remote-tracking branch 'origin/develop' into staging
RiotRobot May 29, 2024
2e1c1d1
Upgrade dependency to matrix-js-sdk@33.0.0-rc.0
RiotRobot May 29, 2024
7f49a30
v3.100.0-rc.1
RiotRobot May 29, 2024
f894ae6
Upgrade dependency to matrix-js-sdk@33.0.0
RiotRobot Jun 4, 2024
3ec0fe1
v3.100.0
RiotRobot Jun 4, 2024
e53c25f
Generate a string arary of userIds in current space, and use list to …
Aug 14, 2024
6efa567
fix type-o
Aug 14, 2024
b125cdc
trigger change
Aug 16, 2024
4b10813
trigger
Aug 16, 2024
3c437da
trigger
Aug 16, 2024
facfdf4
trigger
Aug 16, 2024
6271586
trigger
Aug 16, 2024
d38c5a8
trigger
Aug 16, 2024
ba9f3be
WIP: Attempt to fix merge hell where changes got lost
thoraj Aug 16, 2024
1af503d
Merge tag 'v3.100.0' into taj/verji-develop-2
thoraj Aug 16, 2024
a7aa357
Fix issues after upgarding/merging in v3.100.0
thoraj Aug 16, 2024
3e7cd7b
Fix issues after bringing in (merging) 3.100.0
thoraj Aug 16, 2024
72f5def
fix issues after syncing with upstream 3.100.0
thoraj Aug 16, 2024
fd850e9
Merge remote-tracking branch 'origin/verji-develop' into jts/verji-de…
Aug 16, 2024
9eb9448
Merge pull request #77 from verji/jts/verji-develop-2-merge
JohnSimonsen Aug 19, 2024
105311a
Merge pull request #72 from verji/jts/1989-invite-suggestions
JohnSimonsen Aug 20, 2024
50741d7
trigger
Aug 20, 2024
6eeffe5
eslint
Aug 20, 2024
479c32e
prettier
Aug 20, 2024
7b96873
Merge remote-tracking branch 'origin/jts/github-acions' into jts/gith…
Aug 20, 2024
58cdffa
edit scripts
Aug 20, 2024
bd2ca44
use verji instead of vector-im in script
Aug 20, 2024
3fda611
attempt skip
Aug 20, 2024
e4e7314
skip failing test due to verji-customisations
Aug 20, 2024
33c7aee
Merge branch 'verji-develop' into jts/github-action-trigger-branch
JohnSimonsen Aug 21, 2024
f969c2a
fixing tests part one 1
Aug 22, 2024
128f0be
fix invite dialog tests
Aug 23, 2024
b779047
lint fix
Aug 23, 2024
3a656af
update snapshots
Aug 23, 2024
969e7d2
eslint
Aug 23, 2024
efbee45
prettier
Aug 23, 2024
25e4b15
update snapshot
Aug 23, 2024
31696a6
fix tests
Aug 23, 2024
0690b13
increase timeout of test
Aug 23, 2024
b7faa59
see if timeout is really the issue
Aug 23, 2024
0408e0d
mock rust sdk feature flag in tests, because we have hardcoded featur…
Aug 23, 2024
47981d8
eslint and prettier
Aug 23, 2024
0da6bb7
link module-api in layered sh.
Aug 23, 2024
5e8acf3
trigger tests
Aug 23, 2024
64eb521
Skip failing checks we don't have time to fix now
Aug 26, 2024
a6f19ab
trigger
Aug 26, 2024
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
41 changes: 38 additions & 3 deletions .github/workflows/static_analysis.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
name: Static Analysis
on:
workflow_dispatch:
pull_request: {}
merge_group:
types: [checks_requested]
Expand All @@ -21,14 +22,44 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- uses: actions/setup-node@v4
with:
cache: "yarn"

# VERJI SPECIFIC - yarn link FOR matrix-react-sdk-module-api on verji-main branch
#- name: "Veri - Clone Github Repo Action - Download verji-main of module-api"
# # You may pin to the exact commit or the version.
# # uses: GuillaumeFalourd/clone-github-repo-action@19817562c346ff60f9935158dede6c5ece8fd0ac
# uses: GuillaumeFalourd/clone-github-repo-action@v2.3
# with:
# # Repository Owner
# owner: verji
# # Repository name
# repository: "matrix-react-sdk-module-api"
# # PAT with repository scope (https://github.com/settings/tokens)
# access-token: ${{secrets.PAT}}
# # Depth of the clone (default: full history)
# depth: 1
# # Branch name (default: main)
# branch: "verji-main"
# # Clone with submodules
# submodule: false # optional, default is false
# - name: "Verji - Build and yarn link matrix-react-sdk-module-api (prepublish)"
# uses: Azure/powershell@v2
# with:
# # Yarn link matrix-react-sdk-module-api #--skipLibCheck build --skipLibCheck
# inlineScript: "cd matrix-react-sdk-module-api && yarn && yarn link && yarn prepublishOnly && cd .. && cd .. && cd 'matrix-react-sdk'"
# azPSVersion: "latest"
#END VERJI SPECIFIC
- name: Install Deps
run: "./scripts/ci/install-deps.sh --ignore-scripts"

# VERJI
# - name: "Verji - yarn link matrix-react-sdk-module-api/verji-main into matrix-react-sdk"
# uses: Azure/powershell@v2
# with:
# # Yarn link matrix-react-sdk-module-api #--skipLibCheck
# inlineScript: "yarn link '@matrix-org/react-sdk-module-api'"
# azPSVersion: "latest"
# VERJI END
- name: Typecheck
run: "yarn run lint:types"

Expand All @@ -55,6 +86,8 @@ jobs:

i18n_lint:
name: "i18n Check"
# VERJI skip i18n by setting false
if: ${{false}}
uses: matrix-org/matrix-web-i18n/.github/workflows/i18n_check.yml@main
with:
hardcoded-words: "Element"
Expand All @@ -65,6 +98,8 @@ jobs:
voip|element_call

rethemendex_lint:
# VERJI skip Rethemendex check by setting false
if: ${{false}}
name: "Rethemendex Check"
runs-on: ubuntu-latest
steps:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,8 @@ jobs:

app-tests:
name: Element Web Integration Tests
# VERJI skip Integration Test - needs work by setting false
if: ${{false}}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand Down
9 changes: 9 additions & 0 deletions .github/workflows/verji-release-drafter.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
name: Verji Release Drafter
on:
push:
branches: [verji-staging]
workflow_dispatch: {}
concurrency: ${{ github.workflow }}
jobs:
draft:
uses: verji/matrix-js-sdk/.github/workflows/release-drafter-workflow.yml@verji-develop
3 changes: 2 additions & 1 deletion jest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,11 @@ import type { Config } from "jest";

const config: Config = {
testEnvironment: "jsdom",
testMatch: ["<rootDir>/test/**/*-test.[jt]s?(x)"],
testMatch: ["<rootDir>/test/**/*-test.[jt]s?(x)", "<rootDir>/test/**/**/*-test.[jt]s?(x)"],
globalSetup: "<rootDir>/test/globalSetup.ts",
setupFiles: ["jest-canvas-mock"],
setupFilesAfterEnv: ["<rootDir>/test/setupTests.ts"],
moduleFileExtensions: ["js", "jsx", "json", "ts", "tsx"],
moduleNameMapper: {
"\\.(gif|png|ttf|woff2)$": "<rootDir>/__mocks__/imageMock.js",
"\\.svg$": "<rootDir>/__mocks__/svg.js",
Expand Down
3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,7 @@
"react-focus-lock": "^2.5.1",
"react-transition-group": "^4.4.1",
"rfc4648": "^1.4.0",
"rss-parser": "^3.12.0",
"sanitize-filename": "^1.6.3",
"sanitize-html": "2.13.0",
"tar-js": "^0.3.0",
Expand Down Expand Up @@ -183,6 +184,7 @@
"@types/react-dom": "17.0.25",
"@types/react-transition-group": "^4.4.0",
"@types/sanitize-html": "2.11.0",
"@types/scheduler": "^0.23.0",
"@types/sdp-transform": "^2.4.6",
"@types/seedrandom": "3.0.4",
"@types/tar-js": "^0.3.2",
Expand Down Expand Up @@ -221,6 +223,7 @@
"postcss-scss": "^4.0.4",
"prettier": "3.2.5",
"raw-loader": "^4.0.2",
"react-test-renderer": "17.0.2",
"rimraf": "^5.0.0",
"stylelint": "^16.1.0",
"stylelint-config-standard": "^36.0.0",
Expand Down
1 change: 1 addition & 0 deletions res/css/structures/_HomePage.pcss
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ limitations under the License.
height: 100%;
margin-left: auto;
margin-right: auto;
max-height: 100%;
}

.mx_HomePage_default {
Expand Down
11 changes: 11 additions & 0 deletions res/css/structures/_LeftPanel.pcss
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,8 @@ limitations under the License.
}
}

.mx_LeftPanel_omButton,
.mx_LeftPanel_newsButton,
.mx_LeftPanel_exploreButton,
.mx_LeftPanel_recentsButton {
width: 32px;
Expand Down Expand Up @@ -179,6 +181,15 @@ limitations under the License.
}
}

//Verji start
.mx_LeftPanel_newsButton::before {
mask-image: url("$(res)/img/verji/news.svg");
}
.mx_LeftPanel_omButton::before {
mask-image: url("$(res)/img/verji/shield.svg");
}
//Verji end

.mx_LeftPanel_exploreButton::before {
mask-image: url("$(res)/img/element-icons/roomlist/explore.svg");
}
Expand Down
61 changes: 61 additions & 0 deletions res/css/structures/_MiscHeader.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
/*
ROSBERG FILE
*/

.mx_MiscHeaderButtons {
display: flex;
&::before {
content: unset;
}
}

.mx_MiscHeaderButtons::before {
content: "";
//background-color: $header-divider-color;
opacity: 0.5;
margin: 6px 8px;
border-radius: 1px;
width: 1px;
}

.mx_MiscHeader_miscButton {
cursor: pointer;
flex: 0 0 auto;
margin-left: 1px;
margin-right: 1px;
height: 32px;
width: 32px;
position: relative;
border-radius: 100%;

&::before {
content: "";
position: absolute;
top: 4px; // center with parent of 32px
left: 4px; // center with parent of 32px
height: 24px;
width: 24px;
background-color: $icon-button-color;
mask-repeat: no-repeat;
mask-size: contain;
}

&:hover {
//background: rgba($accent-color, 0.1);

&::before {
//background-color: $accent-color;
}
}
}

.mx_MiscHeader_miscButton_highlight {
&::before {
//background-color: $accent-color !important;
}
}

.mx_MiscHeader_roomSupportButton::before {
mask-image: url("$(res)/img/element-icons/settings/help.svg");
mask-position: center;
}
26 changes: 26 additions & 0 deletions res/css/structures/_RoomView.pcss
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,32 @@ limitations under the License.
margin-bottom: 80px; /* visually center the content (intentional offset) */
}

// Verji start
@keyframes fade1 {
0% {
opacity: 0;
}
100% {
opacity: 1;
}
}
.mx_RoomView_News1 {
animation: 0.2s ease-out 0s 0.2 fade1;
}

@keyframes fade2 {
0% {
transform: translateX(70px);
}
100% {
transform: translateX(0);
}
}
.mx_RoomView_News2 {
animation: 0.2s ease 0s 0.2 fade2;
}
// Verji end

.mx_RoomView_MessageList {
list-style-type: none;
padding: var(--RoomView_MessageList-padding); /* mx_ProfileResizer depends on this value */
Expand Down
21 changes: 21 additions & 0 deletions res/css/structures/_UserMenu.pcss
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,27 @@ limitations under the License.
.mx_UserMenu_iconSignOut::before {
mask-image: url("$(res)/img/element-icons/leave.svg");
}
/* Verji start */
.mx_UserMenu_iconMembers::before {
mask-image: url("$(res)/img/element-icons/room/members.svg");
}

.mx_UserMenu_iconInvite::before {
mask-image: url("$(res)/img/element-icons/room/invite.svg");
}

.mx_UserMenu_oidcmanage::before {
mask-image: url("$(res)/img/verji/address-card.svg");
}

.mx_UserMenu_portal::before {
mask-image: url("$(res)/img/verji/house-user.svg");
}

.mx_UserMenu_signing::before {
mask-image: url("$(res)/img/verji/signing.svg");
}
/* Verji end */
}

.mx_UserMenu_CustomStatusSection {
Expand Down
41 changes: 41 additions & 0 deletions res/css/views/dialogs/_ConfirmInviteExternalUsersDialog.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
/* ROSBERG style module */
/* NOTE: This code (and any other Rosberg .pcss/.scss files) has to be imported in here: res\css\_components.pcss */

.mx_ConfirmInviteExternalUsersDialog {
&.mx_BaseDialog {
width: 480px;
}
}

.mx_Dialog_content {
margin-bottom: 24px;
}

.vmx_all_users {
display: flex;
flex-direction: row;
flex-wrap: wrap;
width: 100%;
gap: 20px;
}

.mx_ConfirmInviteExternalUsersDialog_user {
display: flex;
flex-direction: column;
flex: 1;
padding: 8px;
border: 1px solid #ccc;
border-radius: 4px;

:first-child {
margin-top: 0;
}

&_email,
&_project,
&_phoneNr {
margin-top: 4px;
font-style: italic;
white-space: nowrap;
}
}
Loading
Loading