Skip to content

Commit ea46a5c

Browse files
authored
chore: pause codeflow (#3242)
1 parent e20815b commit ea46a5c

File tree

4 files changed

+8
-38
lines changed

4 files changed

+8
-38
lines changed

CONTRIBUTING.md

-6
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,6 @@ Refer also to https://github.com/antfu/contribute.
66

77
For guidelines on contributing to the documentation, refer to the [docs README](./docs/README.md).
88

9-
### Online
10-
11-
You can use [StackBlitz Codeflow](https://stackblitz.com/codeflow) to fix bugs or implement features. You'll also see a Codeflow button on PRs to review them without a local setup. Once the elk repo has been cloned in Codeflow, the dev server will start automatically and print the URL to open the App. You should receive a prompt in the bottom-right suggesting to open it in the Editor or in another Tab. To learn more, check out the [Codeflow docs](https://developer.stackblitz.com/codeflow/what-is-codeflow).
12-
13-
[![Open in Codeflow](https://developer.stackblitz.com/img/open_in_codeflow.svg)](https://pr.new/elk-zone/elk)
14-
159
### Local Setup
1610

1711
To develop and test the Elk package:

README.md

-7
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ A nimble Mastodon web client
1313
<br/>
1414
<p align="center">
1515
<a href="https://chat.elk.zone"><img src="https://img.shields.io/badge/chat-discord-blue?style=flat&logo=discord" alt="discord chat"></a>
16-
<a href="https://pr.new/elk-zone/elk"><img src="https://developer.stackblitz.com/img/start_pr_dark_small.svg" alt="Start new PR in StackBlitz Codeflow"></a>
1716
<a href="https://volta.net/elk-zone/elk?utm_source=elk_readme"><img src="https://user-images.githubusercontent.com/904724/209143798-32345f6c-3cf8-4e06-9659-f4ace4a6acde.svg" alt="Open board on Volta"></a>
1817
</p>
1918
<br/>
@@ -104,12 +103,6 @@ We would also appreciate sponsoring other contributors to the Elk project. If so
104103

105104
We're really excited that you're interested in contributing to Elk! Before submitting your contribution, please read through the following guide.
106105

107-
### Online
108-
109-
You can use [StackBlitz Codeflow](https://stackblitz.com/codeflow) to fix bugs or implement features. You'll also see a Codeflow button on PRs to review them without a local setup. Once the elk repo has been cloned in Codeflow, the dev server will start automatically and print the URL to open the App. You should receive a prompt in the bottom-right suggesting to open it in the Editor or in another Tab. To learn more, check out the [Codeflow docs](https://developer.stackblitz.com/codeflow/what-is-codeflow).
110-
111-
[![Open in Codeflow](https://developer.stackblitz.com/img/open_in_codeflow.svg)](https://pr.new/elk-zone/elk)
112-
113106
### Local Setup
114107

115108
Clone the repository and run on the root folder:

docs/components/global/TranslationState.vue

+8-19
Original file line numberDiff line numberDiff line change
@@ -76,18 +76,7 @@ async function copyToClipboard() {
7676
<caption>
7777
<div>You can see the detail (missing and outdated keys) by clicking on the corresponding row.</div>
7878
<div>
79-
If you want to send a PR, click on <strong>Edit</strong> link on the corresponding translation file, it will open <strong>Codeflow</strong>:
80-
<NuxtLink
81-
class="inline"
82-
target="_blank"
83-
href="https://developer.stackblitz.com/codeflow/working-in-codeflow-ide#making-a-pr-with-codeflow-ide"
84-
title="How to make a PR with Codeflow IDE (opens in new window)"
85-
>
86-
read the following guide
87-
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24">
88-
<path fill="currentColor" d="M5 21q-.825 0-1.413-.587Q3 19.825 3 19V5q0-.825.587-1.413Q4.175 3 5 3h7v2H5v14h14v-7h2v7q0 .825-.587 1.413Q19.825 21 19 21Zm4.7-5.3l-1.4-1.4L17.6 5H14V3h7v7h-2V6.4Z" />
89-
</svg>
90-
</NuxtLink>
79+
If you want to send a PR, click on <strong>Edit</strong> link on the corresponding translation file, it will open the translation file in GitHub
9180
</div>
9281
</caption>
9382
<thead>
@@ -128,10 +117,10 @@ async function copyToClipboard() {
128117
</td>
129118
<td>
130119
<NuxtLink
131-
:href="`https://pr.new/github.com/elk-zone/elk/tree/main/locales/${useFile}`"
120+
:href="`https://github.com/elk-zone/elk/tree/main/locales/${useFile}`"
132121
target="_blank"
133-
class="codeflow"
134-
title="Raise a PR with Codeflow (opens in new window)"
122+
class="edit-in-github"
123+
title="Edit Translation File (opens in new window)"
135124
@click.stop
136125
>
137126
Edit
@@ -154,10 +143,10 @@ async function copyToClipboard() {
154143
<td><strong>{{ `${total}` }}</strong></td>
155144
<td>
156145
<NuxtLink
157-
:href="`https://pr.new/github.com/elk-zone/elk/tree/main/locales/${useFile}`"
146+
:href="`https://github.com/elk-zone/elk/tree/main/locales/${useFile}`"
158147
target="_blank"
159-
class="codeflow"
160-
title="Raise a PR with Codeflow (opens in new window)"
148+
class="edit-in-github"
149+
title="Edit Translation File (opens in new window)"
161150
@click.stop
162151
>
163152
Edit
@@ -255,7 +244,7 @@ tr.expandable, tr.expandable td {
255244
cursor: pointer;
256245
}
257246
258-
a.codeflow,
247+
a.edit-in-github,
259248
a.inline,
260249
td.expandable div {
261250
display: flex;

docs/content/1.guide/3.contributing.md

-6
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,6 @@
22

33
We're really excited that you're interested in contributing to Elk! Before submitting your contribution, please read through the following guide.
44

5-
## Online
6-
7-
You can use [StackBlitz Codeflow](https://stackblitz.com/codeflow) to fix bugs or implement features. You'll also see a Codeflow button on PRs to review them without a local setup. Once the elk repo has been cloned in Codeflow, the dev server will start automatically and print the URL to open the App. You should receive a prompt in the bottom-right suggesting to open it in the Editor or in another Tab. To learn more, check out the [Codeflow docs](https://developer.stackblitz.com/codeflow/what-is-codeflow).
8-
9-
[![Open in Codeflow](https://developer.stackblitz.com/img/open_in_codeflow.svg)](https://pr.new/elk-zone/elk)
10-
115
## Local Setup
126

137
Clone the repository and run on the root folder:

0 commit comments

Comments
 (0)