Skip to content

Commit

Permalink
Update publish-alpha
Browse files Browse the repository at this point in the history
  • Loading branch information
raviteja83 authored Sep 25, 2024
2 parents 0a20a1c + d983756 commit 17e5e47
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 4 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/stale.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Close stale issues and PRs
on:
workflow_dispatch: {}
schedule:
- cron: "30 1 * * *"

jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v8
with:
stale-issue-message: "This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days."
stale-pr-message: "This PR is stale because it has been open 45 days with no activity. Remove stale label or comment or this will be closed in 10 days."
close-issue-message: "This issue was closed because it has been stalled for 5 days with no activity."
close-pr-message: "This PR was closed because it has been stalled for 10 days with no activity."
days-before-issue-stale: 30
days-before-pr-stale: 45
days-before-issue-close: 5
days-before-pr-close: 10
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import React, { useEffect, useState } from 'react';
import { useMedia } from 'react-use';
import { selectPeerCount, useHMSStore } from '@100mslive/react-sdk';
import { PeopleAddIcon } from '@100mslive/react-icons';
import { Flex } from '../../../Layout';
import { config as cssConfig } from '../../../Theme';
Expand All @@ -18,7 +17,6 @@ export function EqualProminence({ isInsetEnabled = false, peers, onPageChange, o
const isMobile = useMedia(cssConfig.media.md);
let maxTileCount = useUISettings(UI_SETTINGS.maxTileCount);
maxTileCount = isMobile ? Math.min(maxTileCount, 6) : maxTileCount;
const peerCount = useHMSStore(selectPeerCount);
const pageList = usePagesWithTiles({
peers,
maxTileCount,
Expand Down Expand Up @@ -53,8 +51,8 @@ export function EqualProminence({ isInsetEnabled = false, peers, onPageChange, o
)}
{pageList.length === 0 ? (
<WaitingView
title={peerCount <= 1 ? "You're the only one here" : 'Glad to have you here'}
subtitle={peerCount <= 1 ? 'Sit back and relax till others join' : ''}
title="You're the only one here"
subtitle="Sit back and relax till others join"
icon={<PeopleAddIcon width="56px" height="56px" style={{ color: 'white' }} />}
/>
) : null}
Expand Down

0 comments on commit 17e5e47

Please sign in to comment.