Skip to content

Commit

Permalink
chore(release): Test v7.37.4 (#9882)
Browse files Browse the repository at this point in the history
Signed-off-by: Matt Krick <[email protected]>
Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: parabol-release-bot[bot] <150284312+parabol-release-bot[bot]@users.noreply.github.com>
Co-authored-by: Georg Bremer <[email protected]>
Co-authored-by: Rafa <[email protected]>
Co-authored-by: Jordan Husney <[email protected]>
Co-authored-by: Matt Krick <[email protected]>
Co-authored-by: snyk-bot <[email protected]>
Co-authored-by: Nick O'Ferrall <[email protected]>
Co-authored-by: Bartosz Jarocki <[email protected]>
Co-authored-by: Marcus Wermuth <[email protected]>
Co-authored-by: Rafael Romero <[email protected]>
Co-authored-by: Bruce Tian <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: GitHub Action <[email protected]>
Co-authored-by: Dale Bumblis <[email protected]>
Co-authored-by: Mohd Muneeb <[email protected]>
Co-authored-by: Muneeb-Ventures <[email protected]>
Co-authored-by: Terry Acker <[email protected]>
Co-authored-by: github-actions <[email protected]>
  • Loading branch information
19 people authored Jun 26, 2024
1 parent 11c85d7 commit 8a87d50
Show file tree
Hide file tree
Showing 73 changed files with 758 additions and 1,107 deletions.
2 changes: 1 addition & 1 deletion .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
".": "7.37.3"
".": "7.37.4"
}
14 changes: 14 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,20 @@ This project adheres to [Semantic Versioning](http://semver.org/).

This CHANGELOG follows conventions [outlined here](http://keepachangelog.com/).

## [7.37.4](https://github.com/ParabolInc/parabol/compare/v7.37.3...v7.37.4) (2024-06-26)


### Fixed

* Don't reset failed embedding jobs ([#9877](https://github.com/ParabolInc/parabol/issues/9877)) ([882443c](https://github.com/ParabolInc/parabol/commit/882443c60c80ddc74e45b9ba7a375db43a0d4494))
* refactor new meeting team dropdown ([#9679](https://github.com/ParabolInc/parabol/issues/9679)) ([0300ce5](https://github.com/ParabolInc/parabol/commit/0300ce5241e2b4dee848ad5978e97e1c802510cd))


### Changed

* **rethinkdb:** RetroReflection: Phase 3 ([#9867](https://github.com/ParabolInc/parabol/issues/9867)) ([7b8f505](https://github.com/ParabolInc/parabol/commit/7b8f50549df0b1e1251fe8275c41c602d072e441))
* **rethinkdb:** TimelineEvent: Phase 1 ([#9871](https://github.com/ParabolInc/parabol/issues/9871)) ([c6a028b](https://github.com/ParabolInc/parabol/commit/c6a028bc357ee411e42f68e0f5beeddadf6fe6fd))

## [7.37.3](https://github.com/ParabolInc/parabol/compare/v7.37.2...v7.37.3) (2024-06-25)


Expand Down
3 changes: 2 additions & 1 deletion codegen.json
Original file line number Diff line number Diff line change
Expand Up @@ -97,14 +97,15 @@
"PokerMeetingMember": "../../database/types/MeetingPokerMeetingMember#default as PokerMeetingMemberDB",
"RRule": "rrule#RRule",
"Reactable": "../../database/types/Reactable#Reactable",
"Reactji": "../types/Reactji#ReactjiSource",
"ReflectPrompt": "../../database/types/RetrospectivePrompt#default",
"ReflectTemplate": "../../database/types/ReflectTemplate#default",
"RemoveApprovedOrganizationDomainsSuccess": "./types/RemoveApprovedOrganizationDomainsSuccess#RemoveApprovedOrganizationDomainsSuccessSource",
"RemoveIntegrationSearchQuerySuccess": "./types/RemoveIntegrationSearchQuerySuccess#RemoveIntegrationSearchQuerySuccessSource",
"RemoveTeamMemberPayload": "./types/RemoveTeamMemberPayload#RemoveTeamMemberPayloadSource",
"RequestToJoinDomainSuccess": "./types/RequestToJoinDomainSuccess#RequestToJoinDomainSuccessSource",
"ResetReflectionGroupsSuccess": "./types/ResetReflectionGroupsSuccess#ResetReflectionGroupsSuccessSource",
"RetroReflection": "../../database/types/RetroReflection#default as RetroReflectionDB",
"RetroReflection": "./types/RetroReflection#RetroReflectionSource",
"RetroReflectionGroup": "./types/RetroReflectionGroup#RetroReflectionGroupSource",
"RetrospectiveMeeting": "../../database/types/MeetingRetrospective#default",
"RetrospectiveMeetingMember": "../../database/types/RetroMeetingMember#default",
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"description": "An open-source app for building smarter, more agile teams.",
"author": "Parabol Inc. <[email protected]> (http://github.com/ParabolInc)",
"license": "AGPL-3.0",
"version": "7.37.3",
"version": "7.37.4",
"repository": {
"type": "git",
"url": "https://github.com/ParabolInc/parabol"
Expand Down
4 changes: 2 additions & 2 deletions packages/chronos/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "chronos",
"version": "7.37.3",
"version": "7.37.4",
"description": "A cron job scheduler",
"author": "Matt Krick <[email protected]>",
"homepage": "https://github.com/ParabolInc/parabol/tree/master/packages/chronos#readme",
Expand All @@ -25,6 +25,6 @@
},
"dependencies": {
"cron": "^2.3.1",
"parabol-server": "7.37.3"
"parabol-server": "7.37.4"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ const ActivityCardFavorite = (props: Props) => {
<div
className={clsx(
className,
`z-10 flex h-10 w-10 items-center justify-center rounded-full bg-white`
`flex h-10 w-10 items-center justify-center rounded-full bg-white`
)}
>
<TooltipTrigger asChild>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import {ContentCopy} from '@mui/icons-material'
import graphql from 'babel-plugin-relay/macro'
import clsx from 'clsx'
import React, {useCallback, useEffect} from 'react'
import React, {useCallback, useEffect, useState} from 'react'
import {useFragment} from 'react-relay'
import {useHistory} from 'react-router'
import {MeetingTypeEnum} from '~/__generated__/ActivityDetailsQuery.graphql'
Expand Down Expand Up @@ -175,13 +175,7 @@ export const TemplateDetails = (props: Props) => {
removeTemplateMutation(atmosphere, {templateId: activityId}, mutationArgs)
}, [activityId, submitting, submitMutation, onError, onCompleted])

const {
togglePortal: toggleTeamPickerPortal,
modalPortal: teamPickerModalPortal,
closePortal: closeTeamPickerPortal
} = useModal({
id: 'templateTeamPickerModal'
})
const [teamPickerOpen, setTeamPickerOpen] = useState(false)

const {
openPortal: openPokerTemplateScaleDetailsPortal,
Expand Down Expand Up @@ -250,7 +244,7 @@ export const TemplateDetails = (props: Props) => {
/>
</div>
<div className='rounded-full border border-solid border-slate-400'>
<CloneTemplate onClick={toggleTeamPickerPortal} />
<CloneTemplate onClick={() => setTeamPickerOpen(true)} />
</div>
</>
)}
Expand All @@ -270,7 +264,7 @@ export const TemplateDetails = (props: Props) => {
<FlatButton
style={{padding: '8px 12px', border: '0'}}
className='flex cursor-pointer gap-1 px-12'
onClick={toggleTeamPickerPortal}
onClick={() => setTeamPickerOpen(true)}
>
<ContentCopy className='text-slate-600' />
<div className='font-semibold text-slate-700'>Clone & Edit</div>
Expand Down Expand Up @@ -323,16 +317,17 @@ export const TemplateDetails = (props: Props) => {
</div>
)}

{teamPickerModalPortal(
<TeamPickerModal
category={category}
teamsRef={teams}
closePortal={closeTeamPickerPortal}
parentTemplateId={activityId}
preferredTeamId={preferredTeamId}
type={type}
/>
)}
<TeamPickerModal
category={category}
teamsRef={teams}
parentTemplateId={activityId}
preferredTeamId={preferredTeamId}
type={type}
isOpen={teamPickerOpen}
closeModal={() => {
setTeamPickerOpen(false)
}}
/>

{type === 'poker' &&
editingScaleId &&
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import {LockOpen} from '@mui/icons-material'
import KeyboardArrowDownIcon from '@mui/icons-material/KeyboardArrowDown'
import KeyboardArrowUpIcon from '@mui/icons-material/KeyboardArrowUp'
import graphql from 'babel-plugin-relay/macro'
Expand All @@ -17,14 +16,10 @@ import {
RecurrenceSettingsInput
} from '../../__generated__/StartRetrospectiveMutation.graphql'
import useAtmosphere from '../../hooks/useAtmosphere'
import useBreakpoint from '../../hooks/useBreakpoint'
import {MenuPosition} from '../../hooks/useCoords'
import useMutationProps from '../../hooks/useMutationProps'
import SelectTemplateMutation from '../../mutations/SelectTemplateMutation'
import StartCheckInMutation from '../../mutations/StartCheckInMutation'
import StartTeamPromptMutation from '../../mutations/StartTeamPromptMutation'
import {PALETTE} from '../../styles/paletteV3'
import {Breakpoint} from '../../types/constEnums'
import sortByTier from '../../utils/sortByTier'
import FlatPrimaryButton from '../FlatPrimaryButton'
import NewMeetingActionsCurrentMeetings from '../NewMeetingActionsCurrentMeetings'
Expand All @@ -45,7 +40,6 @@ interface Props {
const ActivityDetailsSidebar = (props: Props) => {
const {selectedTemplateRef, teamsRef, type, preferredTeamId} = props
const [isMinimized, setIsMinimized] = useState(false)
const isMobile = !useBreakpoint(Breakpoint.INVOICE)
const selectedTemplate = useFragment(
graphql`
fragment ActivityDetailsSidebar_template on MeetingTemplate {
Expand All @@ -67,9 +61,6 @@ const ActivityDetailsSidebar = (props: Props) => {
name
tier
orgId
organization {
name
}
retroSettings: meetingSettings(meetingType: retrospective) {
...NewMeetingSettingsToggleCheckIn_settings
...NewMeetingSettingsToggleTeamHealth_settings
Expand Down Expand Up @@ -188,36 +179,17 @@ const ActivityDetailsSidebar = (props: Props) => {
}
}

const handleShareToOrg = () => {
selectedTemplate &&
UpdateReflectTemplateScopeMutation(
atmosphere,
{scope: 'ORGANIZATION', templateId: selectedTemplate.id},
{onError, onCompleted}
)
}

const teamScopePopover = templateTeam && selectedTemplate.scope === 'TEAM' && (
<div className='w-[352px] p-4'>
<div>
This custom activity is private to the <b>{templateTeam.name}</b> team.
</div>
<br />
<div>
As a member of the team you can share this activity with other teams at the{' '}
<b>{templateTeam.organization.name}</b> organization so that they can also use the activity.
</div>
<button
onClick={handleShareToOrg}
className={
'mt-4 flex w-max cursor-pointer items-center rounded-full border border-solid border-slate-400 bg-white px-3 py-2 text-center font-sans text-sm font-semibold text-slate-700 hover:bg-slate-100'
const handleShareToOrg =
templateTeam && selectedTemplate.scope === 'TEAM'
? () => {
selectedTemplate &&
UpdateReflectTemplateScopeMutation(
atmosphere,
{scope: 'ORGANIZATION', templateId: selectedTemplate.id},
{onError, onCompleted}
)
}
>
<LockOpen style={{marginRight: '8px', color: PALETTE.SLATE_600}} />
Allow other teams to use this activity
</button>
</div>
)
: undefined

const meetingNamePlaceholder =
type === 'retrospective'
Expand Down Expand Up @@ -255,11 +227,10 @@ const ActivityDetailsSidebar = (props: Props) => {
>
<div className='mt-6 flex grow flex-col gap-2'>
<NewMeetingTeamPicker
positionOverride={isMobile ? MenuPosition.UPPER_RIGHT : MenuPosition.UPPER_LEFT} // refactor this: https://github.com/ParabolInc/parabol/issues/9274
onSelectTeam={onSelectTeam}
selectedTeamRef={selectedTeam}
teamsRef={availableTeams}
customPortal={teamScopePopover}
onShareToOrg={handleShareToOrg}
/>
{type === 'retrospective' && (
<>
Expand Down
Loading

0 comments on commit 8a87d50

Please sign in to comment.