Skip to content

Commit

Permalink
Hide guide. Format export preview.
Browse files Browse the repository at this point in the history
  • Loading branch information
sebinside committed Apr 22, 2024
1 parent 73e05b7 commit bb2e14a
Show file tree
Hide file tree
Showing 7 changed files with 13 additions and 49 deletions.
7 changes: 0 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,5 @@ This repository hosts a webtool for collecting uncertainties in software designs
It allows a comprehensive overview of known uncertainties that can impact data confidentiality.
Additionally, software architects can collaborate on the knowledge through GitHub issues, which can be accessed from within the tool.

For more information see the [guide](arc3n.abunai.dev/guide).

To access the tool use the following link:
https://arc3n.abunai.dev/





8 changes: 0 additions & 8 deletions UncertaintySourceArchive/src/components/NavBar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -41,14 +41,6 @@
}))
"
/>
<NavBarComponent
:link="{
link: {
name: 'guide'
},
name: 'Guide'
}"
/>
<NavBarComponent
:link="{
link: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,7 @@ export class UncertaintyIssueEncoder extends AbstractEncoder<Uncertainty> {
public static readonly SOURCE_ID = 3734
private static readonly BASE_COMMENT =
'<!-- Please do not change any content except where comments explicitly allow you too -->'
private static readonly GUIDE_REF =
'More information on how to use the issues and the archive can be found [here](arc3n.abunai.dev/guide).'
private static readonly GUIDE_REF = '' // Removed guide for now

/** @inheritdoc */
public encode(data: Uncertainty): string {
Expand Down
5 changes: 2 additions & 3 deletions UncertaintySourceArchive/src/router/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import UncertaintyView from '@/views/wrapper/UncertaintyViewWrapper.vue'
import CreationViewWrapper from '@/views/wrapper/CreationViewWrapper.vue'
import ExportView from '@/views/ExportView.vue'
import HomeView from '@/views/HomeView.vue'
import GuideView from '@/views/GuideView.vue'
import ClassificationView from '@/views/ClassificationView.vue'
import { createRouter, createWebHistory } from 'vue-router'
import { resourceGetter } from '@/model/resourceGetter/ResourceGetter'
Expand Down Expand Up @@ -58,12 +57,12 @@ const router = createRouter({
name: 'export',
path: '/export',
component: ExportView
},
} /*,
{
name: 'guide',
path: '/guide',
component: GuideView
}
}*/
]
})

Expand Down
12 changes: 5 additions & 7 deletions UncertaintySourceArchive/src/views/ExportView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,7 @@

<div class="mx-auto pt-5 text-center">
<p>
For more information on how to use the data, please refer to the
<RouterLink to="guide" class="text-link underline dark:text-link-dark">guide</RouterLink>
and
For more information on how to use the data, please refer to
<a href="https://www.abunai.dev" class="text-link underline dark:text-link-dark"
>abunai.dev</a
>.
Expand All @@ -41,15 +39,15 @@
</p>
</div>

<section class="mx-auto mt-10 flex w-2/3 flex-col overflow-hidden">
<h3 class="text-2xl">File Preview</h3>
<section class="mx-auto mt-10 flex w-3/6 flex-col overflow-hidden">
<h3 class="font-mono text-xl">&gt; cat data.json</h3>
<ContainerComponent
class="max-h-[50vh] grow overflow-scroll bg-primary-50 dark:bg-primary-970"
class="max-h-[30vh] grow overflow-scroll bg-primary-50 dark:bg-primary-970"
>
<pre
v-if="fileContent != null"
class="min-h-[100px]"
><code v-html="fileContent"></code></pre>
><code v-html="fileContent" class="font-mono text-xs"></code></pre>
</ContainerComponent>
<div ref="styleholder"></div>
</section>
Expand Down
22 changes: 1 addition & 21 deletions UncertaintySourceArchive/src/views/GuideView.vue
Original file line number Diff line number Diff line change
@@ -1,27 +1,7 @@
<template>
<div class="mx-auto w-fit space-y-5 [&>*]:w-fit">
<h1 class="text-3xl font-bold">Guide</h1>
<div id="intro">
ARC<sup>3</sup>N is a collection of uncertainties regarding confidentiality in software
development. It integrates into an eclipse tool. More information can be found in the
<a href="#eclipse">guide</a> and on <a href="https://www.github.com/abunai-dev">Github</a>.
</div>

<div id="arcen">
<h3 class="text-xl font-bold">ARC<sup>3</sup>N</h3>
In the <RouterLink to="archive">archive</RouterLink> you can find a list of all uncertainties
in the database. Clicking a row leads to a more detailed view of the uncertainty giving a more
detailed description and other related uncertainties. <br />
An overview of the classes can be found <RouterLink to="classification">here</RouterLink>.
Click on a category to get to a more detailed view. <br />
The uncertainties are managed through Github issues. They are used as a discussion forum. To
create a new issue according to the template you can use the
<RouterLink to="create">creation page</RouterLink>.
</div>

<div id="eclipse">
<h3 class="text-xl font-bold">Eclipse tool</h3>
</div>
<div id="intro">Work in progress. ETA 2025.</div>
</div>
</template>

Expand Down
5 changes: 4 additions & 1 deletion UncertaintySourceArchive/src/views/HomeView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,10 @@
<span class="font-bold">ARC<sup>3</sup>N</span> is part of the
<span class="font-bold">ABUNAI</span> research project which provides a comprehensive process
of uncertainty-aware confidentiality analysis <span class="text-xs italic">[3]</span>. To
learn more about the project, visit the project website.
learn more about the project, visit the
<a class="text-link underline dark:text-link-dark" href="https://abunai.dev/"
>project website</a
>.
</p>

<div class="inline-flex space-x-3">
Expand Down

0 comments on commit bb2e14a

Please sign in to comment.