-
Notifications
You must be signed in to change notification settings - Fork 10.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'develop' into refactor/set-reactions
- Loading branch information
Showing
35 changed files
with
828 additions
and
92 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"@rocket.chat/meteor": patch | ||
--- | ||
|
||
Fixed error during sendmessage client stub |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"@rocket.chat/meteor": patch | ||
--- | ||
|
||
Changed the contextualbar behavior based on chat size instead the viewport |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"@rocket.chat/meteor": patch | ||
--- | ||
|
||
Fixed `LivechatSessionTaken` webhook event being called without the `agent` param, which represents the agent serving the room. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
--- | ||
'@rocket.chat/core-services': minor | ||
'@rocket.chat/model-typings': minor | ||
'@rocket.chat/core-typings': minor | ||
'@rocket.chat/rest-typings': minor | ||
'@rocket.chat/ui-client': minor | ||
'@rocket.chat/meteor': minor | ||
--- | ||
|
||
Implemented new feature preview for Sidepanel |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
name: Release candidate cut | ||
on: | ||
schedule: | ||
- cron: '28 0 20 * *' # run at minute 28 to avoid the chance of delay due to high load on GH | ||
jobs: | ||
new-release: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
ref: ${{ github.ref_name }} | ||
fetch-depth: 0 | ||
token: ${{ secrets.CI_PAT }} | ||
|
||
- name: Setup NodeJS | ||
uses: ./.github/actions/setup-node | ||
with: | ||
node-version: 14.21.3 | ||
cache-modules: true | ||
install: true | ||
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} | ||
|
||
- uses: rharkor/[email protected] | ||
|
||
- name: Build packages | ||
run: yarn build | ||
|
||
- name: 'Start release candidate' | ||
uses: ./packages/release-action | ||
with: | ||
action: next | ||
base-ref: ${{ github.ref_name }} | ||
env: | ||
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} | ||
GITHUB_TOKEN: ${{ secrets.CI_PAT }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 10 additions & 0 deletions
10
apps/meteor/client/components/FeaturePreviewSidePanelNavigation.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
import { FeaturePreview } from '@rocket.chat/ui-client'; | ||
import type { ReactElement } from 'react'; | ||
import React from 'react'; | ||
|
||
import { useSidePanelNavigationScreenSize } from '../hooks/useSidePanelNavigation'; | ||
|
||
export const FeaturePreviewSidePanelNavigation = ({ children }: { children: ReactElement[] }) => { | ||
const disabled = !useSidePanelNavigationScreenSize(); | ||
return <FeaturePreview feature='sidepanelNavigation' disabled={disabled} children={children} />; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
import { useBreakpoints } from '@rocket.chat/fuselage-hooks'; | ||
import { useFeaturePreview } from '@rocket.chat/ui-client'; | ||
|
||
export const useSidePanelNavigation = () => { | ||
const isSidepanelFeatureEnabled = useFeaturePreview('sidepanelNavigation'); | ||
// ["xs", "sm", "md", "lg", "xl", xxl"] | ||
return useSidePanelNavigationScreenSize() && isSidepanelFeatureEnabled; | ||
}; | ||
|
||
export const useSidePanelNavigationScreenSize = () => { | ||
const breakpoints = useBreakpoints(); | ||
// ["xs", "sm", "md", "lg", "xl", xxl"] | ||
return breakpoints.includes('lg'); | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.