diff --git a/apps/release-notes/composable/classifyRelease.ts b/apps/release-notes/composable/classifyRelease.ts index 97c407a..edbc759 100644 --- a/apps/release-notes/composable/classifyRelease.ts +++ b/apps/release-notes/composable/classifyRelease.ts @@ -26,15 +26,11 @@ export async function classifyReleases ( } else if (team === 'NAMETEAMSPACE') { myGhIds = GhRepo.NAMETEAMSPACE } - console.log('Current state:' + state) const response = await getReport(myGhIds, startCursor, endCursor, state) items = response.nodes pageInfo = response.pageInfo const itemArray = Array.isArray(items) ? items : [] - console.log(itemArray) const releases = filterResponse(itemArray) - console.log('in report') - console.log(releases) return { releases, pageInfo @@ -52,9 +48,7 @@ export function filterResponse (itemArray: any[]) { const releases: Release[] = [] for (let i = itemArray.length - 1; i > -1; i--) { const item = itemArray[i] - // console.log(item) const issues = getIssues(item.issues.nodes) - // if (item.state === 'CLOSED') { releases.push({ id: item.id, title: item.title, @@ -64,17 +58,6 @@ export function filterResponse (itemArray: any[]) { state: item.state, issues }) - // } else { - // releases.open.push({ - // id: item.id, - // title: item.title, - // description: item.description, - // startOn: item.startOn, - // endOn: item.endOn, - // state: item.state, - // issues - // }) - // } } return releases } diff --git a/apps/release-notes/composable/getreport.ts b/apps/release-notes/composable/getreport.ts index 5558b71..522bef8 100644 --- a/apps/release-notes/composable/getreport.ts +++ b/apps/release-notes/composable/getreport.ts @@ -8,7 +8,6 @@ export async function getReport ( state: string ) { const client = getClient() - console.log(state, start, end) try { const result = await client.query({ query: gql` @@ -63,11 +62,8 @@ export async function getReport ( state } }) - console.log('in getReport') - console.log(result.data.workspace) return result.data.workspace.releases } catch (error) { - console.error(error) - throw error + console.log(error) } } diff --git a/apps/release-notes/nuxt.config.ts b/apps/release-notes/nuxt.config.ts index a30903d..312383f 100644 --- a/apps/release-notes/nuxt.config.ts +++ b/apps/release-notes/nuxt.config.ts @@ -12,6 +12,11 @@ export default defineNuxtConfig({ { rel: 'stylesheet', href: 'https://drive.google.com/file/d/18cwKBO0ZzLNQEnoqjEfC_6PCxqETDSqt/view?usp=sharing' + }, + { + rel: 'icon', + type: 'image/png', + href: '/BCID_V_rgb_pos_small.png' } ] } diff --git a/apps/release-notes/pages/index.vue b/apps/release-notes/pages/index.vue index 68930e4..fd7d56f 100644 --- a/apps/release-notes/pages/index.vue +++ b/apps/release-notes/pages/index.vue @@ -50,8 +50,6 @@ export default { async created () { const response = await classifyReleases(this.board, this.pageInfo.startCursor, this.pageInfo.endCursor, this.state) this.releases = response.releases - console.log('Response') - console.log(this.releases) this.pageInfo = { hasPreviousPage: response.pageInfo.hasPreviousPage, hasNextPage: response.pageInfo.hasNextPage, @@ -115,9 +113,9 @@ export default {