Skip to content

Commit

Permalink
Merge pull request #206 from unfoldingWord/release-v0.9.8
Browse files Browse the repository at this point in the history
Release v0.9.8
  • Loading branch information
richmahn authored Oct 21, 2024
2 parents f8a4a7a + f37bde8 commit 7b0b25d
Show file tree
Hide file tree
Showing 9 changed files with 520 additions and 554 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,6 @@ yarn-error.log*

# VS Code
.vscode

# Local Netlify folder
.netlify
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "gateway-admin",
"version": "0.9.7",
"version": "0.9.8",
"scripts": {
"dev": "bash -c \"source ./scripts/set-env.sh && next\"",
"build": "bash -c \"source ./scripts/set-env.sh && next build\"",
Expand All @@ -18,7 +18,7 @@
"@sendgrid/mail": "^7.4.2",
"autoprefixer": "^10.1.0",
"core-js": "^3.8.3",
"dcs-branch-merger": "1.0.1",
"dcs-branch-merger": "1.4.1",
"deep-equal": "^2.0.5",
"gitea-react-toolkit": "1.11.0",
"js-yaml-parser": "1.0.0",
Expand Down
9 changes: 6 additions & 3 deletions pages/releaseRepo.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import { useContext, useEffect, useState } from 'react'
import { useRouter } from 'next/router'
import Button from '@material-ui/core/Button'
import CircularProgress from '@material-ui/core/CircularProgress'
import Paper from 'translation-helps-rcl/dist/components/Paper'
import { AuthenticationContext } from 'gitea-react-toolkit'
import Layout from '@components/Layout'
import ReleaseSettings from '@components/ReleaseSettings'
Expand Down Expand Up @@ -148,7 +149,7 @@ const ReleasePage = () => {
realResourceIds = resourceIds
}

const _releaseMessages = realResourceIds.map((resourceId, index) => <span key={index}>Releasing {resourceId}<CircularProgress key={resourceId}/></span>)
const _releaseMessages = realResourceIds.map((resourceId, index) => <span key={index}>Releasing {resourceId} <CircularProgress key={resourceId} size={40} style={{ paddingLeft: '10px' }}/></span>)
setReleaseMessages(_releaseMessages)

console.log('releasing .........')
Expand All @@ -172,7 +173,7 @@ const ReleasePage = () => {
} )

console.log( `finished ${ index } with ${ result.message }` )
_releaseMessages[ index ] = <span key={ index }>{ resourceId } Result { result.message }
_releaseMessages[ index ] = <span key={ index }>{ resourceId } result: { result.message }
{ result.version ?
<Link target="_blank"
href={ server + '/' + organization + '/' + languageId + '_' + resourceIdMapper( organization, resourceId ) + '/releases/tag/' + result.version }> View { result.version } release</Link> : ''
Expand Down Expand Up @@ -204,7 +205,9 @@ const ReleasePage = () => {
<div className='flex flex-col w-full px-4 lg:w-132 lg:p-0'>
<h1 className='mx-4'>Release Resources</h1>
<ReleaseSettings />
{releaseMessages.map((message, i) => <h2 className='mx-4' key={i}>{message}</h2>)}
{releaseMessages?.length ? <Paper className='flex flex-col h-90 w-full p-6 pt-3 my-2'>
{releaseMessages.map((message, i) => <h2 className='mx-4' key={i}>{message}</h2>)}
</Paper> : ''}
<div className='flex justify-end'>
<Button
size='large'
Expand Down
2 changes: 1 addition & 1 deletion public/build_number
Original file line number Diff line number Diff line change
@@ -1 +1 @@
75ff813
8e49abb
Loading

0 comments on commit 7b0b25d

Please sign in to comment.